*Pi Print Server

14 Jan

Seth the hostname:

hostnamectl set-hostname printserver1

Install a basic print server:

apt-get install lprng

Create a printer configuration file:

nano /etc/printcap
dymoprinter|localprinter:\
:lp=/dev/usb/lp0:\
:sd=/var/spool/lpd/dymoprinter:\
:mx#0:\
:sh:

Enable communication on port 515:

nano /etc/lprng/lpd.conf

Then add:

lpd_listen_port = 515

Edit this file:

nano /etc/lprng/lpd.perms

Ensure you comment out this line:

REJECT NOT SERVER

You can check logs by:

lpq -v

If you wish to use WiFi use CLI based WiFi connection:

nmtui

I typically install vnstat as well as dark stat (configured to port :80); just to allow HTTP communication. In Windows, assign the LPR name and enable LPR Byte Counting. SNMP Settings do not need to be set.

Leave a Reply

Your email address will not be published.