LPRng-HOWTO: 17 Jan 2003 (For LPRng-3.8.20)
Prev | Chapter 6. lpr - Job Spooler Program | Next

# 6.2. Job Pretty Printing, Banners, Priority, and Accounting

Options used:

- `ab` FLAG always print banner

- `sh` FLAG suppress header (banner)

The legacy or vintage BSD pretty printing facility support allowed users to specify the title (`-T title`), indentation (`-i indent`), width (`-i indent`) of output for pretty printing. These probably will not have any effect, but their values are placed in the control file and sent to the lpd server.

The job name (`-J name`) and no banner page (`-h`) literals also cause information to be placed in the control file. The `-J` value is used to specify a job name on a banner page, and is placed in the control file. The `-h` (no header) has the strange effect of not putting banner name information in the control file. Apparently, if you do not have a name for your banner then no name will be sent.

If the `:sh` option is explicitly specified in a printcap entry for the lpr client, then it has the effect of the `-h` literal. However, the `:ab` (Always Print Banner) option can be used on the print server to always force a banner to be printed even if the user does not specify a banner.

Finally, the `-R` literal allows additional accounting information to be placed in the control file.

Prev | Home | Next
lpr - Job Spooler Program | Up | Job Class and Priority