User`s guide

4-5
Printer, Plotter, and Spooler Subsystem Programming
names must not begin with a numeral. All attribute names must be two characters long,
except for group header attribute names, which can be five characters long.
Attribute names for group headers begin with _ _ (two underscores) and must not be longer
than five characters. A group header attribute marks the beginning of a group of related
attributes.
The rest of this section describes the following groups of virtual printer attributes.
Default Flag Value Attributes
System Administration Attributes
Input Data Stream Attributes
Prohibited Flags Attributes
Filter Flag Attributes
Directory Attributes
Miscellaneous Attributes
Work Variable Attributes
Command Aggregate Attributes
(ASCII) Control Code Attributes
Escape Sequences Attributes
Examples show some of the typical attributes for a supported PostScript laser printer (4029
LaserPrinter). Each example shows how the lsvirprt and smit lsvirprt commands display
virtual printer attributes (with a descriptor for each attribute) and how those same attributes
are stored in the printer colon file.
Default Flag Value Attributes
Default flag value attributes are grouped under the _ _FLG group header attribute. If a flag
corresponding to the attribute is used with a print command, values for these attributes are
overridden from the command line. For example, the _l attribute in a virtual printer definition
contains a value for the number of lines to print on a page. Assume that the default value
stored in the _l attribute is 66. The following print request does not specify a number of lines
per page with the –l flag:
qprt –P Pro myfile
The printer subsystem uses the default _l value of 66 to process the print request. The
following print request uses the –l flag to specify 50 lines of text per page:
qprt –l 50 –P Pro myfile
The –l flag value overrides the default value in the _l attribute of the virtual printer definition
for the Pro printer.
The first character for a default flag value attribute is always the _ (underscore). The second
character corresponds to the command flag for which the default value is stored.
The following example shows some of the attribute values under the _ _FLG group header.
These values are typical for a supported PostScript laser printer.