![Brother HL-1250 Скачать руководство пользователя страница 32](http://html.mh-extra.com/html/brother/hl-1250/hl-1250_technical-reference-manual_53605032.webp)
2001/10/02
CHAPTER 2 "PCL" - 12
3.2.
Escape Sequences
Escape sequences , also known as PCL (Printer Control Language) commands, tell the printer which operations to
perform. An escape sequence consists of the
Esc
character followed by a string of characters which define the
operation to be performed. Some escape sequences require parameter values. These are included in the sequence
as numeric characters. The final letter of an escape sequence must be uppercase: all others must be lowercase.
You can send the printer instructions by embedding escape sequences in programs or in word processed
documents.
In this manual escape sequences are shown as they would be entered, except that the character # in a sequence
indicates that a number should be included at that point in the sequence. If no number is included, the printer
interprets that parameter’s value as 0.
When downloading fonts or sending raster scan images to the printer the final uppercase character of the
sequence is followed by the relevant data.
Two escape sequences can be combined into one if the first three characters of each sequence (inclu ding the
Esc
character itself) are the same. Hence,
Esc*c45G
and
Esc*c2P
may be combined to give
Esc*c45g2P
. The
uppercase ‘G’ which terminated the first sequence becomes a lowercase character in the combined sequence.
Combined escape sequences are executed left to right, so be careful to place commands in the order in which you
want them to be executed.
3.2.1. 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
3.2.2. 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>
Esc*c45G
Esc*c2P
Esc*c45g2P
Содержание HL-1250
Страница 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Страница 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Страница 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Страница 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Страница 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Страница 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Страница 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Страница 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Страница 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Страница 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Страница 185: ...2001 10 02 CHAPTER 4 HP GL 2 37 150 LPRINT TR0 PA3900 4900 PM0 PA5100 4900 4500 6100 PM1 160 LPRINT PM2 FP ...
Страница 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Страница 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Страница 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Страница 232: ...2001 10 02 CHAPTER 5 PJL 28 AUTOLF Sets AUTO LF ON or OFF AUTOMASK Sets AUTO MASK ON or OFF SELREADOUT ON or OFF ...
Страница 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Страница 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Страница 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Страница 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Страница 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Страница 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Страница 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Страница 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Страница 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Страница 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Страница 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Страница 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...
Страница 413: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...
Страница 426: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 14 ...