Printer commands:
First check whether addqueue command is available on system or not?
# swlist | grep JetDirect
addqueue: method of creating queues for printers connected with HP JetDirect interface cards.
usages: addqueue [-c class] [-d] [-i printerID] -q queuename -h hostname [-p port] [-s] [-r on/off] [-t on/off] [-b on/off] [-L PS/PCL/HPGL/HPGL2/AUTO] [-P 1/2/3] [-T 1/2/3] [-m banner papersize] [-D on/off]
#addqueue -q {kirprint} -h {printer IP} -i 9998
Here printer name is "kirprint"
1) #/usr/sbin/lpstat –tkirprint
1) #/usr/sbin/lpstat –tkirprint
This will show the printer status and the queued jobs for this printer
This will show the printer status and the queued jobs for this printer
No comments:
Post a Comment