

Ideally, I'd like to do this directly from Python and not have to add the printer to the Ubuntu system but I'm desperate at this point. There's a lot out there on Google but it's mostly how to setup a CUPS server or how to add a printer in Linux via a GUI (which I don't have, running server), the information is extremely old, like Ubuntu 9 old, or it's printing from Windows to a Linux shared printer. I've done API and spreadsheet work quite a bit so that's not an issue, but the whole printer part is a nightmare. I want to write a Python script (running in Linux, likely to be dockerized) to pull information from an API and an existing spreadsheet, do some quick maths, then print the results to a thermal printer that is connected via USB to a Win10 computer that's shared across the network. I am Aohan Dang ( ), a professional software developer and Python enthusiast.I've been down a rabbit hole for 3+ hours trying to figure this out. These files are provided under the MIT License.

If you fork this repository and wish to update your fork, see. All updates will be made via force-pushes. In an effort to keep the size of this repository low, the Git history will not be kept. For the more technical among you, see Notes.md for further information about how I built the installers and how you may build them yourself. These installers were built from the source distributions published at, patched to fix some bugs in the build scripts and to include debugging symbols and debug binaries. But what if you want an easy way to install these versions on Windows? Here, you can obtain unofficial Windows installers for the following versions of Python.įor each Python version, this repository includes the following. For older Python versions in the security maintenance status, officially releases only the source code and no installers.
