beautypg.com

Download macro – Xerox DocuPrint NC60 User Manual

Page 127

background image

Downloading Fonts and Macros

Chapter 3: Using the Hard Drive

3-5

Download Macro

The following is a sequence of commands that can be sent
to the DocuPrint NC60 to download a macro to the disk.

In this example:

%-12345X is the PJL UEL command which starts

this sequence.

• @PJL 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.

%-12345X is the UEL command which ends this

sequence.

Executing this macro requires the following PCL
sequence:

Notes:

1. The macro ID must be the same case as in the original

download command.

2. The byte count (after the “n” and before the “w”)

must equal the ID byte count plus 1.

%-12345X @PJL
@PJL FSDOWNLOAD FORMAT:BINARY NAME =”0:\pcl\macros\a_macro” SIZE=29
*p900x1500YThis is the macro %-12345X

&n8Wa_macro

Sets the current macro ID to the
string ID “a_macro”

&n8Wa_macro

Associates the current macro ID with
the supplied string ID

&fx

Executes this macro