![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672177.webp)
This PJL command creates the macros sub-directory under
the pcl directory.
Fourth Command
@PJL FSDOWNLOAD FORMAT:BINARY
~
NAME =“0:\pcl\macros\a_macro” SIZE=29<CR><LF>
<ESC>*p900x1500YThis is the macro
~
<ESC>%-12345X
This PJL command does several things. First, it specifies
the download format to be binary (
FORMAT:BINARY
).
Second, it specifies the macro’s pathname on the file system
(
NAME = “0:\pcl\macros\a_macro”
). Third, it specifies
the number of bytes to be downloaded for this macro file
(
SIZE=29
). Fourth, it contains the binary data to be
downloaded (
<ESC>*p900x1500YThis is the macro
).
Fifth Command
~
<ESC>%-12345X@PJL ENTER LANGUAGE=PCL <CR><LF>
This command explicitly enters the PCL language.
Sixth Command
<ESC>&f1Y
The Macro ID command sets the current macro ID to 1.
Seventh Command
<ESC>&n8W
♣
a_macro
The Alphanumeric ID command associates the current
macro ID to the string ID which is a_macro. In this
example, the string name must be the same filename used
with the FSDOWNLOAD command in the fourth command
sequence.
The Alphanumeric ID command needs to know the number
of bytes being sent after the terminating W. In this
example, we are sending 8 bytes. The first byte, which is
the
♣
symbol, is the control-byte (The
♣
symbol is the
character with a decimal value of 005). This control byte
indicates that the Alphanumeric ID command will be used
to associate the current macro ID to the string ID. The
other 7 bytes are the characters that make up the string ID
(
a_macro
).
PJL File System Commands 9-15
Summary of Contents for 4600 - Color LaserJet Laser Printer
Page 18: ...1 6 Introduction to PJL ...
Page 36: ...3 8 Using PJL ...
Page 46: ...4 10 Kernel Commands ...
Page 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Page 108: ...6 46 Environment Commands ...
Page 180: ...9 18 PJL File System Commands ...
Page 212: ...10 32 Programming Tips ...
Page 262: ...B 6 PJL Command Summary ...
Page 302: ...Glossary 10 ...