![background image](http://html.mh-extra.com/html/hp/4600-color-laserjet-laser-printer/4600-color-laserjet-laser-printer_technical-reference-manual_163672176.webp)
File System
Example
The following is a sequence of commands that can be sent
to HP LaserJet 5, 5M, 5Si, 5Si MX, and 5Si Mopier printers
to download and call a macro from the flash memory or
hard disk. See the sections following this example for a
description of each command.
<ESC>%-12345X
~
@PJL FSMKDIR NAME =“0:\pcl” <CR><LF>
@PJL FSMKDIR NAME =“0:\pcl\macros” <CR><LF>
@PJL FSDOWNLOAD FORMAT:BINARY
~
NAME =“0:\pcl\macros\a_macro” SIZE=29<CR><LF>
<ESC>*p900x1500YThis is the macro
~
<ESC>%-12345X
~
<ESC>%-12345X@PJL ENTER LANGUAGE=PCL <CR><LF>
<ESC>&f1Y
<ESC>&n8W
♣
a_macro
<ESC>&f4X
<ESC>E
<ESC>%-12345X
~
@PJL DEFAULT DISKLOCK = ON <CR><LF>
Note
The
~
symbol indicates that this text string is part of the
preceding line. That is, there should be no carriage return
or line feed control codes at the end of the preceding line.
First Command
<ESC>%-12345X
This PJL command causes the printer to exit the active
printer language and give control to PJL.
Second Command
~
@PJL FSMKDIR NAME =“0:\pcl” <CR><LF>
This PJL command creates the pcl directory on volume 0: of
the printer’s file system.
Third Command
@PJL FSMKDIR NAME =“0:\pcl\macros” <CR><LF>
9-14 PJL File System Commands
Содержание 4600 - Color LaserJet Laser Printer
Страница 18: ...1 6 Introduction to PJL ...
Страница 36: ...3 8 Using PJL ...
Страница 46: ...4 10 Kernel Commands ...
Страница 66: ...Figure 6 1 How Environments Affect the Print Job 6 4 Environment Commands ...
Страница 108: ...6 46 Environment Commands ...
Страница 180: ...9 18 PJL File System Commands ...
Страница 212: ...10 32 Programming Tips ...
Страница 262: ...B 6 PJL Command Summary ...
Страница 302: ...Glossary 10 ...