
7/17/2009
CHAPTER 2 "PCL" - 93
7.2.
Defining a Macro
To define a macro you must first assign an ID number to it, then send to the printer a Start Macro Definition
command, the macro definition itself (consisting of a sequence of PCL commands) and finally an End Macro
Definition command.
7.2.1. Macro
ID
Esc&f#Y (27)(38)(102)#(89)
<1Bh><26h><66h>#<59h>
•
This command assigns an identity number to a macro that is to be downloaded, or references an existing
macro in the printer’s memory.
•
# is the ID number of a macro. The ID number must be in the range 0-32767.
•
If you specify the ID number of an existing macro and then download a new macro definition to the printer,
the new macro will overwrite the existing macro.
7.2.2. Start macro definition
Esc&f0X (27)(38)(102)(48)(88) <1Bh><26h><66h><30h><58h>
•
This command signifies that the following commands constitute a macro definition.
7.2.3. End macro definition
Esc&f1X (27)(38)(102)(49)(88) <1Bh><26h><66h><31h><58h>
•
This command terminates the macro definition.
Summary of Contents for HL-2600CN Series
Page 4: ......
Page 15: ...2009 06 29 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2009 06 29 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...7 17 2009 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 129: ...2009 06 29 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 147: ...2009 06 29 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 200: ...2009 06 29 CHAPTER 4 HP GL 2 54 ...
Page 201: ...2009 06 29 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 276: ...2009 06 29 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 304: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 325: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 22 ...
Page 326: ...2009 06 29 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 337: ...2009 06 29 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 364: ...2009 06 29 CHAPTER 9 HP GL 28 ...
Page 365: ...2009 06 29 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 373: ...2009 06 29 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 475: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 14 ...
Page 485: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 10 ...