lpadmin -p <queue> -v <device> \ -P <PPD-file> -E


lpadmin -p ps -v socket:// -P \ /usr/share/cups/model/Postscript-level1.ppd.gz -E


lpadmin -p ps -v parallel:/dev/lp0 -P \ usr/share/cups/model/Postscript.ppd.gz -E

Generate a print job:

lpr -P color
lp -d color
lpq -P printr
lpq -a


Configured printers:


Home printer:


Start/ stop spooler:

/usr/sap/lprng/bin/ start | stop
/usr/sap/lprng/bin/ stop && /usr/sap/lprng/bin/ start

Status/ display current printer queue:

/usr/sap/lprng/bin/lpq -PPrintername



Disable queue-entry:

./lpc disable <queuename>

Enable queue-entry:

./lpc enable <queuename>

Disable exit:

./lpc stop <queuename>

Enable exit:

./lpc start <queuename>

Switch off entry and exit:

./lpc down <queuename>

Switch on entry and exit:

./lpc up <queuename>

Kill printqueue:

./lpc kill <queuename>

Delete one job:

/usr/sap/lprng/bin/lprm -PPrintername <job-nr>

Delete all jobs:

/usr/sap/lprng/bin/lprm -PPrintername all 
linux/print.txt · Last modified: 2018/05/28 10:30 by tmade
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki