/ftp-print-proxy

Print from anywhere via an FTP server to your locally-attached printer

Primary LanguagePythonMIT LicenseMIT

FTP Print

Print from anywhere via an FTP server to your locally-attached printer.

Rationale

The rationale behind ftp printing is the fact that the Windows Print Spooler is suspectible to problems with networked printers (via cups). Therefore, I decided to introduce a backup solution so I could send a PDF file (via the Print-to-PDF option).

Installation

A few basic steps should be done to install this program:

  • Copy the server.py file to a new folder under /opt, called ftpprint.
  • Create a directory with the path of /var/run/ftpprint/.
  • Start a python3 virtual environment (preferablly under the path of /opt/ftpprint/.venv) and install pycups.
  • Copy the systemd service file into a systemd-recognized directory, such as /etc/systemd/system.

Don't forget to edit your systemd service file to match the appropriate settings of your printer. If you started a python3 virtual environment not in name of .venv, adjust the python3 executable path accordingly. Then enable and start the systemd service.