
7/17/2009
CHAPTER 2 "PCL" - 94
7.3.
Running a Macro
Macros can be invoked in three different ways: they can be ‘executed’, ‘called’ or ‘enabled for overlay’. When a
macro is 'executed' it uses the current modified print environment. Any changes it makes to the environment are
permanent. A macro that is 'called' also uses the current modified print environment, however, any changes it
makes to the environment are discarded when the macro has performed its function. When a macro is 'enabled'
for overlay, the macro’s command sequence is performed as the final operation every time a page is printed.
Overlaid macros use the overlay environment. The overlay environment is a combination of the user default
environment and the modified print environment. This environment is effective only while the macro is running.
Page length
Paper source
Page size
Number of copies
Orientation
Cursor position stack
Registration
7.3.1. Execute
macro
Esc&f2X (27)(38)(102)(50)(88) <1Bh><26h><66h><32h><58h>
•
This command executes the macro whose ID number was specified most recently.
•
Any changes made to the modified print environment during the execution of a macro, such as font selection
or margin settings, are retained after macro execution has been completed.
7.3.2. Call
macro
Esc&f3X (27)(38)(102)(51)(88) <1Bh><26h><66h><33h><58h>
•
This command calls the macro whose ID number was specified most recently.
•
Any changes made to the modified print environment during a macro call, such as raster graphics settings,
are temporary and remain in effect only while the macro is running. They are not retained after the macro has
finished.
7.3.3. Enable macro for overlay
Esc&f4X (27)(38)(102)(52)(88) <1Bh><26h><66h><34h><58h>
•
This command overlays the macro whose ID number was specified most recently.
7.3.4. Disable macro for overlay
Esc&f5X (27)(38)(102)(53)(88) <1Bh><26h><66h><35h><58h>
•
This command stops overlaying the macro whose ID number was specified most recently.
Содержание HL-2600CN Series
Страница 4: ......
Страница 15: ...2009 06 29 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Страница 20: ...2009 06 29 CHAPTER 1 INTRODUCTION 6 ...
Страница 21: ...7 17 2009 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Страница 129: ...2009 06 29 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Страница 147: ...2009 06 29 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Страница 149: ...2009 06 29 CHAPTER 4 HP GL 2 3 7 6 Character Plot Instructions 38 7 6 1 Introduction 39 8 INDEX 52 ...
Страница 200: ...2009 06 29 CHAPTER 4 HP GL 2 54 ...
Страница 201: ...2009 06 29 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Страница 276: ...2009 06 29 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Страница 304: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Страница 325: ...2009 06 29 CHAPTER 7 IBM PROPRINTER 22 ...
Страница 326: ...2009 06 29 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Страница 337: ...2009 06 29 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Страница 364: ...2009 06 29 CHAPTER 9 HP GL 28 ...
Страница 365: ...2009 06 29 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Страница 373: ...2009 06 29 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Страница 462: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...
Страница 475: ...2009 06 29 APPENDIX C HBP MODE COMMANDS 14 ...
Страница 485: ...2009 06 29 APPENDIX D REFERENCE LIST OF MX 2000 4000 5000 7000 SERIES UNIQUE COMMANDS 10 ...