Downloading Fonts and Macros
<ESC>%-12345X @PJL<CR><LF>
@PJL FSDOWNLOAD FORMAT:BINARY NAME ="0:\pcl\fonts\font1" SIZE=XX<CR><LF>
<binary data><ESC>%-12345X
<ESC>&n6W<HEX'00'>font1<CR,LF>
<ESC>&n6W<HEX'01'>font1<CR,LF>
<ESC>&n6W<HEX'02'>font1<CR,LF>
5-6
DP N24, N32 and N40 System Administrator Guide
The following is a sequence of commands that can be sent to the
DP N40 to download a font to the disk.
In this example:
•
<ESC>%-12345X is the PJL UEL command which starts this
sequence.
•
@PJL<CR><LF> is the mandatory PJL command following the
UEL command.
•
@PJL FSDOWNLOAD... downloads a font named "font1" that
is "XX" bytes in size.
•
<ESC>%-12345X is the UEL command which ends this
sequence.
Invoking this font requires the following PCL sequence:
Sets the current font ID to the given string ID
"font1"
Associates the current font ID with the string ID
"font1"
Selects the font referred to as "font1" for the
primary font
Notes:
1. The case of the string ID must be the same as the case of the
fontname in the FSDOWNLOAD command.
2. The byte count ("6" in the above example) must equal the
string ID byte count plus 1.