Friday, 24 July 2015

AIX Print commands

To display the default queue:
#qchk -q
To display the status of the printer lp69:
#qchk -P lp69
To display the status of job number 969:
#qchk -# 969
To display the status of all queues:
#qchk -A
To cancel the print job 969:
#qcan -x 969
To cancel all jobs submitted to lp69:
#qcan -X -P lp69
To change the priority of the job to 50:
#qpri -#570 -a 50
To hold the job 969:
#qhld # 969
To remove holding from 969:
#qhld -r -#969
To move the job 30 to queue lpa:
#qmov -m lpa -#30
To enable queue blah:
#enable blah
To disable queue blah:
#disable blah
To cancel job 969:
#cancel -#969
To display the status all queues:
#lpstat
To display the status of print queue lp69:
#lpstat -p lp69
To display the jobs submitted by user root:
#lpstat -u root
To display the status of queue lp69:
#lpq -P lp69
How to add lp69 as remote standard processing printer, custom backend entry:
#/usr/sbin/piomisc_base mkpq_other -q'lp69' -d 'lp69.dev' -b'/usr/lib/lpd/rembak' -u'TRUE' -h'lp69' -r'remotelp69'
How to add lp69 as remote bsd printer queue:
#/usr/lib/lpd/pio/etc/piomisc_ext mkpq_remote_ext -q 'lp69' -h 'lp69.example.com' -r 'remotelp69' -t 'bsd' -C 'FALSE'
How to add lp69 as remote ascii jetdirect printer:
#/usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p 'generic' -D asc -q lp69 -h lp69.example.com -x '9100'

No comments:

Post a Comment