Spooler Plus Utilities Reference Manual
Font Utility
Spooler Plus Utilities Reference Manual—522294-002
4-10
CONTROLBUF Directive
;
is a semicolon required to terminate CONTROLBUF data if any normal-text data
follows. Otherwise, CONTROLBUF data can be terminated by a FONT, an END-
FONT, or another font description directive.
Considerations
•
CONTROLBUF parameter values are usually described in the documentation
provided with your printer.
•
CONTROLBUF data must conform to the same rules as normal font data.
•
CONTROLBUF data is assembled in a buffer. The Font utility calculates the
number of bytes supplied so that you do not need to specify buffer length in the
Font utility script, as you would if you called the CONTROLBUF procedure directly.
•
CONTROLBUF operation values have special meaning for FASTP, as follows:
Examples
The CONTROLBUF data follows the CONTROLBUF operation. The CONTROLBUF
directives are terminated by semicolons. For the complete font job, see the example
under Normal Font Data on page 4-7.
?CONTROLBUF 103 ! FASTP Top Of Form Substitute
%33,"&a67r0c1L"; ! Posn to Row 67 Col 0 Left Margin 1
?CONTROLBUF 103 ! FASTP Top Of Form Substitute
%33,"&a1L",%14,%15; ! Left Margin 1, FF CR
Example of User-Character Translation (CONTROLBUF 101)
The following example provides a translation table through a CONTROLBUF 101
directive to instruct FASTP to replace some nonprintable characters with spaces. This
101 Loads a character translation table into FASTP; see Example of User-Character
Translation (CONTROLBUF 101) on page 4-10.
103 Loads substitute top-of-form sequences into FASTP; see Example of Top-of-Form
Substitution (CONTROLBUF 103) on page 4-11.
113 Allows you to create sections imbedded in a font job to be used by FASTP. These
sections limit the scope of the font job data to one or more locations. The location names
must be specified as the first data elements in the directive as follows:
CONTROLBUF 113 "location-name-1 "
[ "location-name-n " ] ... ;
normal-font-data
Blank-fill location names to 16 characters in length. They are not case-sensitive.
Terminate data (the specified location names) in a CONTROLBUF 113 directive with a
semicolon (;).
The locations specified in one CONTROLBUF 113 directive apply either until the next
CONTROLBUF 113 directive or until the END-FONT directive. See Example of Virtual
Font Jobs With FASTP (CONTROLBUF 113), in the examples that follow.