HP Color LaserJet 5500 Technical Reference Manual page 177

Printer job language - technical reference manual
Hide thumbs Also See for Color LaserJet 5500:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents