2012年4月11日星期三
Common Printing Command
Add queue
/usr/lib/lpd/pio/etc/piomisc_ext mkpq_remote_ext -q 'PRINTER1' -h '172.16.1.86' -r 'P1' -t 'aix' -C 'FALSE' -d 'Location 1 - Printer 1'
Name of QUEUE to add [ PRINTER1]
* HOSTNAME of remote server [172.16.1.86]
* Name of QUEUE on remote server [P1]
Type of print spooler on remote server AIX Version 3 or 4 +
Backend TIME OUT period (minutes) [] #
Send control file first? no +
To turn on debugging, specify output []
file pathname
DESCRIPTION of printer on remote server [Location 1 - Printer 1]
change queue
/usr/bin/chque -q 'PRINTER1' -a"host = "'192.168.1.86' -a"rq = " |
| 'P3' -a"s_statfilter = "'/usr/lib/lpd/bsdshort' -a"l_statfilter = "'/u |
| sr/lib/lpd/bsdlong'
remove print queue
/usr/sbin/piomisc_base two_devices rmpq 'LAB_BIOCHM_PRT1'
-- To print
lp -dprinter1 /tmp/test
-- To list the print queue
lpstat
-- To enable it if it is down
enable printer1
-- To cancel a print job
cancel job_no.
----------------
/usr/lib/lpd/pio/etc/piomisc_ext mkpq_remote_ext -q 'printer1' -h 'printer1' -r 'P1' -t 'aix' -C 'FALSE'
訂閱:
發佈留言 (Atom)
沒有留言:
發佈留言