User`s guide

4-23
Printer, Plotter, and Spooler Subsystem Programming
Suggested Attribute Names
Suggested attribute names are names that are assumed by many formatter filters:
First character is s System administrator value.
First character is d Directory path.
First character is m Miscellaneous value (constant).
First character is w Work value (changes while formatting).
First character is c Command aggregate.
First character is a ASCII control code.
First character is e Printer escape sequence.
First character is t and second character is 0–9
Full path names of zero or more. Stage 2 translation
tables used by formatter. Multiple values must be
separated by commas.
Attribute Values
The following conventions have been established for attribute values:
Printer names are of the form 4201–3, reflecting the printer name (4201) and model
number (3).
File names in the Predefined Database are of the form PrinterType.DataStreamType; for
instance, 4216–31.asc indicates a 4216 Model 31 printer and an ASCII data stream.
File names in the Customized Database are of the form
QueueName:QueueDeviceName, such as proq:mypro.
Attribute values can contain a \ (backslash) followed by one to three octal digits to
represent non–ASCII values. A \ (backslash) that does not begin an octal sequence
should be represented by either \\ or \134.
Characters can be represented by hexadecimal notation of the form \xXX, where XX
represents a hexadecimal value.
Boolean values can be represented by a + (plus sign) for true, and an ! (exclamation
point) for false.
Because attribute values reside in colon files, a colon character must not appear in the
attribute value. Instead, a colon should be represented by \072.
An attribute value that references an integer attribute requiring translation from a lookup
table should always appear in a colon file after the referenced integer attribute: For
example, from the string red to an equivalent integer value of 2. Integer values are
created from a colon file in the same order they are defined in the colon file. Listing the
attribute value first ensures that when the integer attribute is referenced, it has been
converted before it is referenced by the %G escape sequence.
Run all the shell commands using ksh instead of bsh.