Solved

enabling duplex printing in VB script

Posted on 2008-10-30
8
1,557 Views
Last Modified: 2012-05-05
I am trying to enable duplex printing as part of our green initiative.  We use a vbscript that adds the printers for the users who logon to their machines. The environment is Server 2003 and XP.  Is there something I can add to the script to enable duplexing?  The printers/copiers are Xerox WorkCentre 175s.

Thanks,
0
Comment
Question by:ddbla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 5

Expert Comment

by:zabu99
ID: 22845730
You can set the option for duplex from the print server. The settings you apply there will also be the default settings when a new printer is added.

Printer settings can be found in WIN32_PrinterConfiguration. One of the properties, Duplex, will be either True or False, but I don't think that you can set it there. I believe that it can be set in the registry, but I don't have time to look at that right now.

Given that new printer installs take on the defaults that you set on the print server that might be enough for your purposes.
0
 

Author Comment

by:ddbla
ID: 22846003
Thanks for the info, but I've made the change on the print server and it doesn't reflect on the user when the script runs and installs the printer.

The WIN32_PrinterConfiguration you mention, can this be added to the script?

Thanks
0
 
LVL 5

Expert Comment

by:zabu99
ID: 22850119
Weird about the print server thing (as it worked for me). Sorry to lead you in a wrong direction then.

As far as I can tell WIN32_PrinterConfiguration is for read only (so no changes). There has got to be a way to do it though. I'll check into it and maybe someone else will come up with an easy solution in the meantime.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:ddbla
ID: 22854975
thanks, i'll keep researching too
0
 
LVL 5

Expert Comment

by:zabu99
ID: 22868576
When you allowed duplex on the print server, did you set it as the default setting?

After some research, I don't think that it can be done directly with a script. Two other, less desirable, options are available.
1) Set the computer for single sided printing. Export the registry. Set the computer to duplex and export the registry. Compare the two files. You could use a registry patch or script to make the appropriate changes to the registry.
2) Use whatever software that Xerox provides to make the charges to the printer directly. I am not sure what this involves though.

Sorry that I don't have a good answer for you.
0
 

Author Comment

by:ddbla
ID: 22881409
let me get into contact with Xerox and find out what they say.

Thanks for the duplexing registry export.  I'll look into that as well.
I'll post again with results,

Thanks,
0
 

Accepted Solution

by:
ddbla earned 0 total points
ID: 22908658
i had overlooked this, it was the advanced tab that was where the 2 sided should be set. i was making the change on the printer preferences button only.

thanks for all your help!
0
 
LVL 5

Expert Comment

by:zabu99
ID: 22925038
Good, it's nice when there is a simple solution.

Have a great day.
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question