Solved

enabling duplex printing in VB script

Posted on 2008-10-30
8
1,511 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
  • 4
  • 4
8 Comments
 
LVL 5

Expert Comment

by:zabu99
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:ddbla
Comment Utility
thanks, i'll keep researching too
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 5

Expert Comment

by:zabu99
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Good, it's nice when there is a simple solution.

Have a great day.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now