LPRng Reference Manual: 3 May 2004 (For LPRng-3.8.27) | ||
---|---|---|
Prev | Chapter 6. lpr - Job Spooler Program | Next |
Options used:
qq FLAG Insert queue name into control file
force_queuename=Queuename to be used
The :qq use queuename option tells LPRng to record the queue name that a job was originally queued to in the control file as the Q information. The force_queuename=... entry forces the queue name to be the specified value. For example, the following printcap entry and lpr commands will result in a filter being passed the arguments shown below.
#printcap pr1_landscape|pr1_portrait|pr_raw :filter=/.../filter :lp=/dev/pr :qq lpr -Ppr1_landscape lpr -Ppr1_portrait control file - Qpr1_landscape Qpr1_portrait filter command line: ... -Qpr1_landscape ... -Qpr1_portrait
The force_queuename can be used for force a specific value into the control file Q information.
john|tom|frank :filter=/.../filter :lp=/dev/pr :force_queuename=office lpr -Pjohn control file - Qoffice filter command line: ... -Qoffice