*********************** Command Line Printing *********************** A list of useful commands and options to interface with a common CUPS server from the command line. .. only:: html .. contents:: HOWTOs ====== Get a list of available printers -------------------------------- To get a list of all printers, with details:: $ lpstat -p just the list of all available destinations on the local network:: $ lpstat -e the current default one:: $ lpstat -d Printing in greyscale --------------------- To get the list of options available for your printer use:: $ lpoptions [-p ] -l there will be a line like (note that different printers may have a more specific option that you need to enable):: ColorModel/Print Color Mode: Gray *RGB and then you'll have to add ``-o ColorModel=Gray`` to the ``lpr`` command line, e.g.:: $ lpr -o ColorModel=Gray .. vim: set filetype=rst: