Python script to install network printers
Roger Upole
rupole at hotmail.com
Tue Oct 4 19:21:34 EDT 2005
You can use win32print.AddPrinterConnection(r'\\server\sharedprinter').
However, if the printer driver has to be copied to the client machine and
installed, that's probably where most of the time is spent.
hth
Roger
"Matt Chan" <engineuity at gmail.com> wrote in message news:mailman.1446.1128439429.509.python-list at python.org...
Hi, I am trying to create a python script to install a set of network
printers. I have had success using an os.popen statement, using
rundll32 and printui.dll. This takes way too long. Can someone point
me in a quicker direction?
thanks,
Matt
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
More information about the Python-list
mailing list