![]() |
python to install printer drivers automatic - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: python to install printer drivers automatic (/thread-3799.html) |
python to install printer drivers automatic - leoxucn - Jun-26-2017 Hello: Is there anyone can give me some tips of how to install printer drivers in python automatic. because in IT daily work, we are boring of the end users talk to me install printer, I want to make a tool that they can install printer drivers easily my code here RE: python to install printer drivers automatic - Larz60+ - Jun-26-2017 You can start here: https://pypi.python.org/pypi?%3Aaction=search&term=cups&submit=search I'm not sure, but believe that CUPS may be useful for this Even if you don't use wxpython, you may wish to take a look at this: http://pythonhosted.org/wxPython/wx.Printer.html#wx.Printer to get an idea of how to present the user end of a print driver, and https://stackoverflow.com/questions/31050040/install-windows-drivers-using-python which is windows specific, but may also be useful. RE: python to install printer drivers automatic - sparkz_alot - Jun-26-2017 You need to specify which OS(s) you are using, whether the printer is local or networked and whether the printer is meant to work on Windows, Linux, Mac or a combination of them. For many of the common printers, Windows, Linux and I presume, Mac and other *nix systems already have the drivers available. It is simply a matter of 'clicking' add a printer, selecting your printer and that's about it. I'm not sure how Python is going to make that any simpler or faster. Perhaps if you let us know, briefly, what steps you currently have to convey to the end user, it might help in pointing you in the right direction. Besides, what are you trying to do, Python your way out of a job? ![]() RE: python to install printer drivers automatic - nilamo - Jul-10-2017 (Jun-26-2017, 12:51 PM)sparkz_alot Wrote: Besides, what are you trying to do, Python your way out of a job?Interesting conversation related to this: https://workplace.stackexchange.com/questions/93696/is-it-unethical-for-me-to-not-tell-my-employer-i-ve-automated-my-job RE: python to install printer drivers automatic - Larz60+ - Jul-10-2017 and as an FYI. wxpython has a printer routine: see: https://wxpython.org/Phoenix/docs/html/wx.Printer.html#wx.Printer you may be able to look at the source and gain some insight |