
Installing and Configuring FASTP Network Print
Processes
Spooler FASTP Network Print Processes Manual — 427528-006
2 - 28
Using the CONTROL, CONTROLBUF, and
SETMODE Operations
CONTROLBUF Operations
A FASTP network print process responds to the CONTROLBUF operations described
below. Any other values cause the CONTROLBUF operation to be ignored.
CONTROLBUF 101 — User Character Translation
CONTROLBUF 101 translates job characters based on a translation table supplied by
the user. Typically, a FONT job supplies the desired character substitutions.
CONTROLBUF 101 applies to single-byte characters only. The syntax of
CONTROLBUF 101 is:
where
buffer
contains the characters to be translated. Each translation is given as a pair of
bytes, the first byte in each pair is translated into the second byte. There is no
need to include characters that don't need translation.
Example 2-3
contains a sample Font utility script file that uses the CONTROLBUF 101
operation to create a translation table to replace some non-printable characters with
spaces:
CONTROLBUF 101
buffer
;
Example 2-3. Sample Font Utility Script File Using CONTROLBUF 101
START-FONT
?FONT CTRLSPACE
?CONTROLBUF 101
! Input Output
%000 , %040 ! Null to Space
%003 , %040 ! %3 to Space
%200 , %040 ; ! %200 to Space
?END-FONT
! Configure the #INVOICE location with the CTRLSPACE FONT
?START-LOCATIONS
! Location Font device
#INVOICE.DEFAULT CTRLSPACE $LP2