Specifications
4-140
Guide to Printers and Printing
%Ide INCLUDE: (Directory Containing Miscellaneous Modules)
’/pioformat –@’
%Idd INCLUDE: (Directory Containing Digested Data Base Fil
es)
’/’
%Imm INCLUDE: (File Name Of (Digested) Data Base; Init. By
”piodigest” (mt.md.mn.mq:mv))
’ –!’
%Idf INCLUDE: (Directory Containing Loadable Formatter Rou
tines)
’/piof5202 –l’
%IwL INCLUDE: (Page Length In Chars, Using Length From Dat
a Base (used in pipelines))
’ –w’
%IwW INCLUDE: (Page Width In Characters, Using Width From
Data Base (used in pipelines))
’ ’
%f[begijpqstuvxyzEGIJLOQWXZ] For Each Flag x on Command Line: ”
–xArgument” –> OUTPUT
’ ’
%Uh Indicate to piobe: Pass the Following Attributes to s
ubsequent printer commands
/tmp/asc:lp1.ia” 24 lines, 1001 characters
As is indicated by the last line of the sample, this is again a vi session, but this time the
attribute definition has been formatted and annotated. Here the root user can modify the
attribute definition; if a write command is issued in this vi session, the definition is digested
by the piodigest command and a new version of the digested printer colon file is created.
The formatted sample is divided into three parts. The first part is the ia=, followed by the
attribute definition strung out horizontally. The second part is the annotations on the
right–hand side of the vi session, the comments that describe the function of each particular
printer colon file escape sequence. The third part is the formatted printer colon file escape
sequences aligned on the left margin of the vi session. These escape sequences also have
a horizontal formatting component; indentations are used to clarify the flow of if–then–else
statements, nested or otherwise.
The first and second parts can be edited, but the editing changes have no effect and should
therefore not be performed. Any changes made to the initial definition of the attribute or to
the annotations will be ignored by piodigest if you write the file. It is the third part, the
formatted attribute definition, that can be edited. If this part is edited and written, piodigest
will issue an error message if any syntax errors are found. As with normal programming
languages, you can make logic errors, but not syntax errors.
For practical examples of modifying printer colon files, see Modifying the mi, mp, and _d
Attributes on a PostScript Queue on page 4-141.