
Revision C 16/01/96
Chapter 2 "PCL" - 6
Controlling the printer
Control codes
Control codes are ASCII codes that tell the printer to perform a given function, such as a carriage return. You can
send these codes to the printer as part of a program.
Backspace
(08)
<08h>
ASCII code 8. This code moves the cursor one column to the left.
Line feed
(10)
<0Ah>
ASCII code 10. This code performs a line feed.
Form feed
(12)
<0Ch>
ASCII code 12. This code ejects the most recently printed page from the printer.
Carriage return
(13)
<0Dh>
ASCII code 13. This code performs a carriage return.
Select primary font
(14)
<0Eh>
ASCII code 15. When you send this code to the printer subsequent characters will be printed in the current
primary font. This is explained further in the sub-section entitled “Using fonts”.
Select secondary font
(15)
<0Fh>
ASCII code 14. When you send this code to the printer subsequent characters will be printed in the current
secondary font. This is explained further in the sub-section entitled “Using fonts”.
Escape
(27)
<1Bh>
ASCII code 27. You must use this character code to start every instruction sequence that you send to the printer.
Horizontal tab
(09)
<09h>
ASCII code 9. This code moves the cursor one tab position to the right. The tab positions are at the left margin and
at the left edge of every 8th column as defined by the horizontal motion index (HMI) described in the next section,
entitled “The Page”.
Space (32)
<20h>
ASCII code 32. This code moves the cursor one column to the right.
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...