Printer colon file limits field contents

The limits field is the fourth field in the printer colon file.

Colon file attributes have the following format:

Message_Catalog:Message_Number:Attr_Name:Limits:Value

Information in the limits field has two components. The first component is a single letter operator specifying an action. The letter value can be one of the following values: C, D, E, F, G, H, I, L, M, Q, R, S, T, or V. The second component is the data. If the data is more than one character, it should be enclosed in square brackets ( [ ] ).

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.