Difference between revisions of "cups command line printing and options"

From thelinuxwiki
Jump to: navigation, search
Line 3: Line 3:
 
  lpstat -p -d
 
  lpstat -p -d
  
 +
 +
== print from command line==
 +
 +
example:
 +
echo "test" | lp -d HP_p1006
  
 
[http://www.cups.org/documentation.php/doc-1.6/sharing.html Printer Sharing]
 
[http://www.cups.org/documentation.php/doc-1.6/sharing.html Printer Sharing]

Revision as of 19:08, 7 March 2013

List available printers

lpstat -p -d


print from command line

example:

echo "test" | lp -d HP_p1006

Printer Sharing

manully adding a remote cups que (printer) existing on another computer

lpadmin -p printer_name -E -v ipp://server_name_or_ip/printers/printer_share_name