Mapping a network printer using Python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grabbitmedia
    New Member
    • Jan 2017
    • 1

    Mapping a network printer using Python

    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.

    Thanks
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    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).

    Comment

    Working...