Xerox DocuPrint N2025 System Administrator Manual page 154

Network laser printer
Hide thumbs Also See for DocuPrint N2025:
Table of Contents

Advertisement

Downloading Fonts, Forms and Macros
<ESC>%-12345X @PJL<CR><LF>
@PJL FSDOWNLOAD FORMAT:BINARY NAME ="0:\pcl\macros\a_macro" SIZE=29<CR><LF>
<ESC>*p900x1500YThis is the macro <ESC>%-12345X
<ESC>&n8W<HEX'04'>new_mac<CR,LF>
<ESC>&n8W<HEX'05'>a_macro<CR,LF>
<ESC>&f2x<CR,LF>
3-6
System Administrator Guide
The following is a sequence of commands that can be sent
to the printer to download a macro to the disk. In this
example, the macro is named "a_macro."
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 macro of 29 bytes
named "a_macro."
• The phrase "This is the macro" is positioned at x=900
and y=1500 by this macro.
• <ESC>%-12345X is the UEL command which ends this
sequence.
Executing this macro requires the following PCL
sequence:
Sets the current macro ID to the string ID
"new_mac"
Associates the current macro ID with the
supplied string ID
Executes this macro
Notes:
• The macro ID must be the same case as in the original
download command.
• The byte count (after the "n" and before the "W")
must equal the ID byte count plus 1.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Docuprint n2825

Table of Contents