Specifications
4-5
Printer, Plotter, and Spooler Subsystem Programming
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 following is a list of groups of virtual printer attributes addressed in this section.
• Default Flag Value Attributes on page 4-5
• System Administration Attributes on page 4-6
• Input Data Stream Attributes on page 4-7
• Prohibited Flags Attributes on page 4-8
• Filter Flag Attributes on page 4-9
• Directory Attributes on page 4-10
• Miscellaneous Attributes on page 4-10
• Work Variable Attributes on page 4-11
• Command Aggregate Attributes on page 4-12
• ASCII Control Code Attributes on page 4-12
• Escape Sequences Attributes on page 4-13
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.