This specification describes the CUPS banner file format (application/vnd.cups-banner) which is used to generate print job cover pages and the CUPS test page. The format itself consists of a header followed by lines of UTF-8 text containing comments or keywords and values:
#CUPS-BANNER # What to show on the cover page Show job-id job-name job-originating-user-name time-at-creation # The header and footer text Header Cover Page Footer Cover Page # Arbitrary "notice" text Notice All work and no play makes Johnny a dull boy. Notice All work and no play makes Johnny a dull boy. Notice All work and no play makes Johnny a dull boy. Notice All work and no play makes Johnny a dull boy. # Images to place below the rest Image /usr/share/doc/cups/images/cups-icon.png Image /usr/share/doc/cups/images/smiley.jpg
Footer text for footer
The Footer
key defines the text that is centered at the bottom
of the page. Only one Footer
key can be specified.
Header text for Header
The Header
key defines the text that is centered at the top
of the page. Only one Header
key can be specified.
Image /path/to/image/filename
Image relative/path/in/DocumentRoot/filename
The Image
key defines images that are centered above the footer
text. Multiple images are centered as a group from left to right. Images are
scaled as needed to fit on the page with a nominal size of 1"/25cm.
Notice Text to display below the job information.
Notice More text to display below the job information.
The Notice
key defines lines of text that are centered below
the job information.
Show value value ... value
The Show
key lists the job information that is shown. The
following values are supported:
imageable-area
: The imageable area of the current
page sizejob-billing
: Billing information for the jobjob-id
: The job IDjob-name
: The title of the jobjob-originating-host-name
: The computer that printed
the jobjob-originating-user-name
: The user that printed the
jobjob-uuid
: The job UUIDoptions
: The options that were provided with the
jobpaper-name
: The name of the paper size usedpaper-size
: The dimensions of the paper size used.printer-driver-name
: The printer driver usedprinter-driver-version
: The driver versionprinter-info
: The printer descriptionprinter-location
: The location of the printerprinter-make-and-model
: The make and model strings
reported by the printer driverprinter-name
: The printer usedtime-at-creation
: When the job was submittedtime-at-processing
: The current date and time