Spooler Utilities Reference Manual
Font Utility
Spooler Utilities Reference Manual—522295-003
5-17
Script File Example
Script File Example
The following is an example of a script file. This file is input to the Font utility, which 
loads font jobs in the spooling system. These font jobs are used by locations with 
Laser-LX and other similar PCL devices attached. The script file also supplies 
information to enable the configuration of these locations.
Initial text is comments.
?START-FONT ! Identifies the start of the FONT section
 ! that describes font jobs. 
?FONT PORTRAIT ! An example PCL font 
! Comments go here 
?SETMODE 6 0 1 ! Transparent ON 
%33,"E" ! Reset 
%33,"&l0O" ! Portrait 
%33,"&l6D" ! 6 lines per inch 
%33,"&l1S" ! Duplex long-edge binding 
%33,"(8U" ! Roman 8 
%33,"(s12V" ! Point 12 
%33,"(s10H" ! Pitch 10 
?SETMODE 6 1 0 ! Transparent OFF 
?CONTROL 1 0 ! Form feed 
?FONT TRANSP ! Another example font job, this
 ! one enables transparent printing 
?SETMODE 6 0 1 ! Transparent ON 
?END-FONT ! Identifies the end of the section.
! This completes the FONT section. 
?START-LOCATIONS ! Identifies the LOCATIONS section. 
 ! Location entries describe
 ! locations to be added 
! Note that the format of location entries is:
! <location> [,] <font-name> [,] <device> 
 #LX.PORT PORTRAIT $LASER.#A 
 #LX.GLASS TRANSP $LASER.#A 
?END-LOCATIONS ! Identifies the end of LOCATIONS 
section.
Notice that the file has two sections: The first describes the font jobs to be created, 
and the second details the locations. 
A directive has a question mark (?) as the first nonblank character. 
Text preceding the START-FONT directive is treated as a comment. Text to the right of 
an exclamation point (!) is treated as a comment. 
18. ?END-LOCATIONS
19. Comments comments comments
20. Comments comments comments










