Xerox Hard Disk Drive and Memory DRAM and Flash ROM, DocuPrint N4525 Network Laser Printer

Models: N4525

1 138
Download 138 pages 57.76 Kb
Page 72
Image 72
Manual background

Hard Disk Drive and Memory (DRAM and Flash ROM)

The following example shows a sequence of commands that can be sent to the printer to download a macro named “a_macro” to the disk.

<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

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:

<ESC>&n8W<HEX’04’>new_mac<CR,LF>

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

<ESC>&n8W<HEX’05’>a_macro<CR,LF>

Associates the current macro ID with the supplied string ID

<ESC>&f2x<CR,LF>

Executes this macro

 

 

In the example, note that:

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

The number of characters in the macro name (after the “n” and before the “W”) must equal the ID byte count plus 1.

The following example shows a sequence of commands that can be sent to the printer to download a font to the disk.

<ESC>%-12345X @PJL<CR><LF>

@PJL FSDOWNLOAD FORMAT:BINARY NAME =”0:\pcl\fonts\font1” SIZE=XX<CR><LF> <binary data><ESC>%-12345X

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:

<ESC>&n6W<HEX’00’>font2<CR,LF>

Sets the current font ID to the given string ID “font2”

<ESC>&n6W<HEX’01’>font1<CR,LF>

Associates the current font ID with the string ID “font1”

<ESC>&n6W<HEX’02’>font1<CR,LF>

Selects the font referred to as “font1” for the primary font

 

 

56

DocuPrint N4525 Network Laser Printer

Page 72
Image 72
Xerox manual Hard Disk Drive and Memory DRAM and Flash ROM, DocuPrint N4525 Network Laser Printer