Programmatically Changing Printer Options

  • Thread starter Thread starter slk23
  • Start date Start date
S

slk23

Hi,

I'd like to programmatically change the "Keep Printed Documents" option
for a printer. The option is available in the Windows UI by going to
the Advanced tab on the printer's Properties dialog. Turning it on
causes Windows to save copies of printed docs in the printer queue
(marked as 'completed').

In my research I've come across references to WMI. Is that the best
way to do change the option?

Any help would be appreciated!
 
You might want to try this out as well:
http://www.codeproject.com/dotnet/NET_Printer_Library.asp

Hi,

I'd like to programmatically change the "Keep Printed Documents" option
for a printer. The option is available in the Windows UI by going to
the Advanced tab on the printer's Properties dialog. Turning it on
causes Windows to save copies of printed docs in the printer queue
(marked as 'completed').

In my research I've come across references to WMI. Is that the best
way to do change the option?

Any help would be appreciated!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top