Automated printing on TIPI

Install CUPS:

Login to the TIPI device via the console or ssh
# sudo apt-get update
# sudo apt-get install cups-pdf
# sudo apt-get install cups
# cd /etc/cups
# sudo cp -p cupsd.conf cupsd.conf.original
# sudo cp -p printers.conf printers.conf.original
Copy printers.conf from another computer that has cups installed and set user:group and permissions as printers.conf.original
# sudo systemctl status cups
# sudo systemctl restart cups
# sudo systemctl status cups
# lpstat -t
# sudo usermod -aG lpadmin tipi
Optionally, set the default printer
# lpadmin -d EPSON_WF_4830_Series

Update /home/tipi/tipi/services/epson.sh
Add the following line after the gs (ghostscript) command
  lp "/home/tipi/pdf_share/${fname}.pdf"
