PDA

View Full Version : Solved: printer properties setting



CCkfm2000
09-08-2006, 09:40 AM
hi all..

Is there a way in vba to turn the duplex off in the printer properties setting? :think:

i've attached a screen print.

thanks

mdmackillop
09-08-2006, 10:47 AM
I don't believe so. My workaround is to add another copy of the printer with the settings I want and use VBA to change the active printer. Check the KB for an example.
Regards
MD

Marcster
09-08-2006, 11:20 AM
Did think there was a way, using WMI, but alas, it's a read-only property and only returns whether the printer has duplex switched on or off.

Marcster.

Marcster
09-08-2006, 11:30 AM
Hang on...
Does this Microsoft KB help?:
http://support.microsoft.com/kb/230743/en-us

Marcster.

CCkfm2000
09-11-2006, 01:26 AM
will have a play with it.

thanks to all.

lostin_space
09-11-2006, 07:02 AM
will it work the same (in principle) for specifically coding a printer to be used & print settings? (we've got an A0 plotter - and my users always have fun n games with setting it up:think: ...)