Solved

enabling duplex printing in VB script

Posted on 2008-10-30
8
1,517 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
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
 

Author Comment

by:ddbla
ID: 22854975
thanks, i'll keep researching too
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

943 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

10 Experts available now in Live!

Get 1:1 Help Now