Created at 10:58 Jul 23, 2004 by mike, last modified at 10:58 Jul 23, 2004
To create your own banner page, simply copy the file that you want as a banner to the /usr/share/cups/banners directory and change the file permissions on the file so that all users can read it. Then restart the scheduler as outlined in the Software Administrators Manual.
Banner files can be any file format supported by CUPS and can be any number of pages. Historically, most banner files are ASCII text and usually fit on one side of a page. The standard CUPS banner pages are single-page PostScript files.
Banner files are able to show many job attributes.
Use the {?attribute-name} syntax to print out the
value of that attribute. CUPS will automatically fill in the value
if it is available.
The following is an example banner file that shows all of the available attributes:
Job ID: {?job-id}
Job Name: {?job-name}
Job Billing: {?job-billing}
From User: {?job-originating-user-name}
From Computer: {?job-originating-host-name} (127.0.0.1 = local)
Job Priority: {?job-priority} out of 100
Printer Name: {?printer-name}
Printer URI: {?job-printer-uri}
Creation Time: {?time-at-creation}
Since the left bracket ({) is used to introduce
attribute values, you need to quote it using the backslash character
if you are using that character in your file, e.g.:
/squareit \{dup mul} def
Download · Home Page · Listing