Next Previous Contents

5. Banners and OF Mode Operations

The OF mode is enabled by the command line -Fo flag or by the file name of the executable containing the "of" string.

When operating in the OF mode, the filter uses the value of the banner key to determine what to do with input. If banners are disabled (banner@), then input is simply passed directly to the output. The banner_suppressed flag allows you to suppress banner printing until explicitly requested by a user using the -Zbanner flag.

banner=pcl

Uses a built-in PCL banner generator. Pretty simple output.

banner=ps

Using information from the command line options, generates PostScript line which set the values of PostScript variables. Then the contents of the file specified by banner_file=/path are appended.

%!PS-Adobe-2.0
/Seq (number) def
/Job (banner) def
/Host (HOST) def
/Class (CLASS) def
/User (USER) def
/Date (DATE) def
/Name (NAME) def
/Line (LINE) def
/X (command line -X option value) def
banner=text

Puts out a simple text based banner. Uses the command line -w width and -l length command line options to set the page width in columns and pagelength in lines. If these are not set, the configuation options page_width=width and page_length=length values are used.

banner=/path

Opens and copies the file directly to the printer.

banner=|/path

Forks and EXECs the executable specified by /path, with the same arguments as those passed to the filter. The executable output is sent to the printer.


Next Previous Contents