Difference between revisions of "cups command line printing and options"
From thelinuxwiki
(→print from command line) |
|||
Line 7: | Line 7: | ||
example: | example: | ||
+ | lp -d HP_p1006 filename.pdf | ||
+ | or from standard input | ||
echo "test" | lp -d HP_p1006 | echo "test" | lp -d HP_p1006 | ||
Revision as of 04:40, 13 March 2013
List available printers
lpstat -p -d
print from command line
example:
lp -d HP_p1006 filename.pdf
or from standard input
echo "test" | lp -d HP_p1006
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