471,071 Members | 7,743 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

Programmatically Changing Printer Options

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!

Nov 16 '05 #1
1 3867
You might want to try this out as well:
http://www.codeproject.com/dotnet/NE...er_Library.asp

"slk23" <st************@yahoo.com> wrote in message
news:10*********************@z14g2000cwz.googlegro ups.com...
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!
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by ARaman | last post: by
6 posts views Thread by Ioannis Demetriades | last post: by
reply views Thread by Anthony Nystrom | last post: by
1 post views Thread by Alphonse | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.