Record Queue Name in Control File

LPRng Reference Manual: 24 Sep 2004 (For LPRng-3.8.28)
Prev | Chapter 6. lpr - Job Spooler Program | Next

# 6.8. Record Queue Name in Control File

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

Prev | Home | Next
The -Z Passthrough to Filter Options | Up | Check For Nonprintable File