DevOps

Wednesday, 13 October 2010

Printer commands

bash-3.00# exit
exit
# enable sunp
printer "sunp" now enabled
# accept sunp
Destination "sunp" now accepting requests
# lp command.txt
request id is _default-5 (1 file(s))
# lpstat
sunp-5                  root              9528   Oct 13 13:05 on sunp
# lpstat -p
printer sunp now printing sunp-5. enabled since Wed Oct 13 13:04:48 2010. available.
# lpstat -t
scheduler is running
system default printer: sunp
device for sunp: /dev/printers/0
sunp accepting requests since Wed Oct 13 13:05:03 2010
printer sunp now printing sunp-5. enabled since Wed Oct 13 13:04:48 2010. available.
sunp-5                  root              9528   Oct 13 13:05 on sunp
# lpq
sunp: stopped: moving-to-paused
Rank    Owner    Job    File(s)                         Total Size
1st     root     5      //command.txt                   9528 bytes
# lpsched
lpsched: not found

bash-3.00# cd /usr/lib/lp/bin
bash-3.00# ls
alert.proto         foomatic-rip        getppdfile          lp.set              netpr               slow.filter
drain.output        getmakes            getppds             lp.tell             ppdfilename2mmp     wecho
foomatic-gswrapper  getmodels           lp.cat              lp.tsol_separator   printer-info
bash-3.00# ./getmakes
Alps
Anitech
Apollo
Apple
Brother
CItoh
Canon
Citizen
Compaq
DEC
Dell
Epson
Fujitsu
Generic
Genicom
Gestetner
HP
Heidelberg
Hitachi
IBM
Imagen
Infotec
KONICA_MINOLTA
Kodak
Kyocera
Lanier
Lexmark
Minolta
Minolta_QMS
Mitsubishi
NEC
NRG
Oce
Oki
Olivetti
PCPI
Panasonic
QMS
Raven
Ricoh
Samsung
Savin
Seiko
Sharp
SiPix
Sony
Star
Tally
Tektronix
Toshiba
Xante
Xerox

No comments:

Post a Comment