16
Chapter
2
LQ-1600K Emulation
Escape Sequences
Some LQ-1600K control codes consisting of more than one character are
called escape sequences because the first character in the sequence is the
ASCII ESCape character. ESC alerts the printer that a special function
command—not printable characters—follows.
The format for an escape sequence is:
ESC (parameter 1)(parameter 2)...(parameter
n
)
For example, to select emphasized (offset) print, send the ESC character
immediately followed by the E character (do not add a space character):
ASCII
: ESC E
Hex
: 1B 45
Dec
: 27 69
FS Sequences
Another type of control code which consists of more than one character is
called an “FS sequence,” because the first character is the ASCII FS
character. This control code is used when the printer is printing Double Byte
Character Set (DBCS) characters. The FS alerts the printer that a special
function command (not printable characters) follows. Most FS commands
work only on DBCS characters.
The format for an FS sequence is:
FS (parameter 1)(parameter 2)...(parameter
n
)
For example, to rotate DBCS characters by 90
°
counter-clockwise, send an
FS character immediately followed by the J character:
ASCII
: FS J
Hex
: 1C 4A
Dec
: 28 74
Super-Set Commands
The unique control code sequence for both SSCC and ASSC commands are
defined in the table below:
Set And Reset Codes
Set and reset are other ways of saying turn on and “turn off; select and
deselect; or enable” and disable.”
Some printer features are set and reset with an escape sequence and the
numbers 1 or 0. In those cases you can represent 1 and 0 as hexadecimal
codes 01 and 00 or as the ASCII codes for the numerals 1 and 0
(hexadecimal 31 and 30).
Control
Code
ASCII Value
Hex Value
Dec Value
SSCC
ESC | } ;
1B 7C 7D 3B
27 124 125 59
ASSC
ESC | } ; q
1B 7C 7D 3B 71
27 124 125 59 113
Содержание LQ-1600K
Страница 1: ...LQ 1600K Programmer s Reference Manual InfoPrint 6500 Line Matrix Printers G550 1006 01...
Страница 2: ......
Страница 3: ...LQ1600 K Programmer s Reference Manual InfoPrint 6500 Line Matrix Printers G550 1006 01...
Страница 10: ...10 Chapter 1 Software Features...
Страница 90: ...90 Appendix A...
Страница 98: ...98 Appendix C Bit Image Graphics...
Страница 120: ...120 Communication Statements...
Страница 126: ...126...
Страница 127: ......
Страница 128: ...Printed in U S A G550 1006 01 07G550100601...