Set up CUPS to print to a network printer via the command line
February 22, 2015 Leave a comment
How to install CUPS, foomatic, gutenprint, etc. will depend on the OS, as will daemon starting.
# yum groupinstall "Print Server" "Printing Client" # service cups start && chkconfig cups on
The rest is pretty universal.
The lpinfo line is simply to find the name of the model script. You may need to get creative with what you search for.
# lpinfo -m | grep "printer model" # lpadmin -p PRINTERNAME -m MODELSCRIPT -v socket://IPADDRESS # cupsenable PRINTERNAME # cupsaccept PRINTERNAME