Translate

Friday, 31 January 2014

PRINTERS / PRINT QUEUES



splp (device)                   Displays/changes printer driver settings 
splp /dev/lp0

export $LPDEST="pqname"         Set default printer queue for login session 

lsvirprt                        Lists/changes virtual printer attributes.

lsallq                          Displays all queues

rmvirprt -q queuename -d queuedevice        Removes a virtual printer

qpri -#(job No) -a(new priority)            Change a queue job priority.

qhld -#(job No)                Put a hold on hold
qhld -r #(job No)              Release a held job

qchk -A                        Status of jobs in queues
lpstat                                        
lpstat -p(queue)               Status of jobs in a named queue

qcan -x (job No)               Cancel a job from a queue
cancel (job No)                                

enq -U -P(queue)               Enable a queue
enable (queue)                                

enq -D -P(queue)               Disable a queue
disable (queue)                                

qmov -m(new queue) -#(job No)  Move a job to another queue

startsrc -s qdaemon            Start qdaemon sub-system
lssrc -s qdaemon               List status of qdaemon sub-system
stop -s qdaemon                Stop qdaemon sub-system

No comments:

Post a Comment