By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,334 Members | 2,776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,334 IT Pros & Developers. It's quick & easy.

Mapping a network printer using Python

P: 1
As a new programmer, I have been trying to gain a better knowledge of the Python programming language. I am currently working on a project that requires me to map a network printer; however, I am not sure how to do this.

I have been successful in mapping a drive to a network location, but have been unsuccessful in mapping a network printer to my computer.

Any tips, links, or code is greatly appreciated.

Jan 3 '17 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 618
You would have to get that info from the operating system itself. On a Linux system you would parse the output from lshw, if "map" means find the network printer(s).
Jan 3 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.