Set up CUPS to print to a network printer via the command line

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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: