printer @ command line
Add a printer using
$ lpadmin -p printer -E -v device -P ppd
I never before understool what to do with the ppd file. Now I understood, the best way to install a printer is get the ppd file from http://www.linuxprinting.org and use the above command.
arguments : E for Enable, P for ppdfile, D for info, L for location, d for default, x for delete, o for options (man 8 lpadmin)
You need to add the /etc/printcap line, and create spool entry manually.
It even allows things like user-level access control and quota settings.
Doug Gwyn put it best “GUIs make simple things simple, and complex things impossible”.
( I thought it was Linus who said it, but found some unknown guy after googling)
I remembered ESR’s frustation on trying cups. ESR is the “I’m your worst nightmare!… (my fav grin)” guy in RevolutionOS video.
other useful commands are enable, disable, accept, reject, lp/lpr, lpq, lprm/cancel, lpstat. (see man
Links :
http://www.linux.com/howtos/Printing-HOWTO/setup.shtml
http://www.linux.com/howtos/Debian-and-Windows-Shared-Printing/getting_started.shtml





