Example 2-6. Sample Font Utility Script File Using Controlbuf 130 - HP Spooler FASTP Manual

Network print processes
Table of Contents

Advertisement

Installing and Configuring FASTP Network Print
Processes
.

Example 2-6. Sample Font Utility Script File Using CONTROLBUF 130

?start-fonts
?font cushdr1
?setmode 6 0 1
%33,"&l1o8d0L"
%33,"(s12h10V"
!
?controlbuf 130 #220, #0,
! Some line feeds
%12,%12,%12,%12 
!
?controlbuf 130 #225,
! Some more line feeds
%12,%12,%12,%12,%12,%12,%12
! And now some text extracted from "KDFILE" using the
! job owner id as the key
!
?controlbuf 130 #250,
! And now reset for the job proper
%33,"E" 
?setmode 6 1 0
?end-fonts
?start-locations
#LX5.CUSTOM
Note that the file referenced can contain any data. For example, with the user ID as the
key, the file might contain group identifiers as follows:
<-key-><-data--->
034,003Pinky
034,005Rabbit
255,255Superman
File Considerations for CONTROLBUF 130
Note the following file considerations when using CONTROLBUF 130:
A FASTP network print process assumes that the file specified for the text/file
field is key-sequenced, with a key offset of zero and a key length equal to the
length of the data selected by the item field.
Multiple data files can be referenced in one job.
A FASTP network print process can have up to 16 data files open at one time,
although for best performance fewer than 16 should be used in a single FONT job.
Data files, once opened, are kept open for subsequent reference. If a data file
remains unused for approximately two minutes it is closed. A FASTP network print
process opens the data file(s) for Shared, Read access; there is no need to wait for
the FASTP network print process to close the data file(s) to add or change entries.
Spooler FASTP Network Print Processes Manual — 427528-006
! Transparent on
! Landscape 8lpi NoPerf
! 12 Pitch 10 Point 
Text
As Is
ddmmmyy As Is
#0,
Userid File
Expand
#1,
#2,
! Transparent off
CUSHDR1
$LX5AT
Using the CONTROL, CONTROLBUF, and
Exp & Center
Text
#2,
"Company";
Exp & Center
Filename
#0; 
#2,
Filename
"$DATA.HEADER.KDFILE",#0;
2 - 35
SETMODE Operations

Advertisement

Table of Contents
loading

Table of Contents