
Revision C 16/01/96
Chapter 2 "PCL" - 8
Line termination
You can set the carriage return, line feed and form feed control codes to perform compound functions. You can
either do this using the printer’s control panel (see the User Guide) or by sending the printer the following escape
sequence:
•
0 = Carriage return, line feed and form feed perform their normal functions.
•
1 = Carriage return performs carriage return/line feed, line feed and form feed perform their normal functions.
•
2 = Carriage return performs its normal function, line feed performs carriage return/line feed, and form feed
performs carriage return/form feed.
•
3 = Carriage return performs carriage return/line feed, line feed performs carriage return/line feed, and form
feed performs carriage return/form feed.
0
CR
→
CR
LF
→
LF
FF
→
FF
1
CR
→
CR+LF
LF
→
LF
FF
→
FF
2
CR
→
CR
LF
→
CR+LF
FF
→
CR+FF
3
CR
→
CR+LF
LF
→
CR+LF
FF
→
CR+FF
End-of-line wrap
If the printer tries to print a line of text that is longer than the width of the text area, the end of the line will
normally be lost. However, you can set the printer to flow text onto the next line so that text is not lost.
You can turn on the automatic text wrap feature either from the printer’s control panel (see the User Guide) or by
sending the printer the following escape sequence:
Esc&s0C
(27)(38)(115)(48)(67)
<1Bh><26h><73h><30h><43h>
To turn off the facility send:
Esc&s1C
(27)(38)(115)(49)(67)
<1Bh><26h><73h><31h><43h>
Display functions mode
You can choose to make the printer print escape sequences instead of executing them. Send the printer the
following sequence:
EscY
(27)(89)
<1B><59>
Now the printer prints out escape sequences and prints the characters of the control codes. It does not execute
them. The only exceptions to this are CR, the carriage return code, which causes a carriage return and line feed to
be performed, and the EscZ escape sequence which turns the mode off.
To turn the display functions mode off and enable escape sequences to be executed again send:
EscZ
(27)(90)
<1B><5A>
The printer exits the display function mode after printing a character of code 1B Hex and the letter "Z". All
subsequent escape sequences and control codes are executed normally and not printed literally.
Summary of Contents for HL- SERIES
Page 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Page 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Page 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Page 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Page 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Page 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Page 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Page 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Page 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Page 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Page 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Page 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Page 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...