User`s guide

4-47
Printer, Plotter, and Spooler Subsystem Programming
For example, if the limits field contained ’E#’ , the sm_cmd_opt object class
entry_type field equals the numeric value assigned to #. The entry_type field with a
’E#’ value takes only numeric input.
In another example, when the limits field contains
’[none,full,emulator=0,1,2]’ then the sm_cmd_opt object class contains the
following values:
Field Name Values
disp_values none, full, emulator
aix_values 0,1,2
The limits field operators provide the following types of control in SMIT:
Attribute display
Characteristics of the field representing the attribute
Attribute validation and the type of auxiliary operations (for example, pop–up menus or
ring lists)
For example, in the qprt and admvirprt SMIT dialogs, the following rules apply:
If Dy (the limits operator D with a value of y for yes) is specified in a limits field
for an attribute, then that attribute is always displayed.
If Dn (the limits operator D with a value of n for no) is specified in a limits field for
an attribute, then that attribute is never displayed.
In qprt SMIT dialogs, the following additional rules apply:
All attributes defined in the printer colon file that begin with a _ (underscore; for example,
_j and _ i) that are referenced in the pipeline are displayed.
All attributes defined in the printer colon file that begin with a C combination flag (for
example, Cs and Ca ) and have their combination value referenced in the pipeline are
displayed.
Rules specific to the admvirprt SMIT dialog are as follows:
All attributes defined in the printer colon file beginning with either an _ (underscore) or a
C combination flag are displayed, unless Dn is specified in their limits field.
limits Field Operators
Definitions and examples of the limits field operators are organized into the following
groups:
Display Operators
Field Characteristics Operators
Auxiliary Operations and Validation Operators