Lexmark 248X ユーザーズマニュアル

ページ / 227
Section 3: IBM Emulation Mode Printer Commands
28 
Escape Sequences
An escape sequence (two or more characters of information) lets you change the 
way the printer is currently printing. Like a control code, it gives you control 
over the printed output. The escape sequence begins with the character ESC 
(decimal 027, hexadecimal 1B). The printer recognizes this character as the 
beginning of a printer command signalling that the information that follows is 
control information and not data to be printed.
Printer Command Parameters
A command parameter sets the value for a command. This value stays constant 
until either a different value resets the command or a command resets the 
printer to its default values. For example, after the printer receives a command 
Carriage 
Return
CR
Moves the current print position to the left 
margin of the current line.
13
0D
Double- 
Wide  
Printing by 
Line
SO
Prints all characters in double-width 
mode.
14
0E
Condensed 
Printing
SI
Condenses printing from 10 characters per 
inch (cpi) to 17.1 and 12 cpi to 20.
15
0F
Select 
Printer
DC1
Selects the printer.
17
11
Select 10 
cpi
DC2
Returns condensed printing to normal (10 
cpi)
18
12
Deselect 
Printer
DC3
Signals the printer to stop accepting data 
from the computer. This control code has 
no effect on the parallel interface.
19
13
Cancel 
Double-
Wide 
Printing by 
Line
DC4
Cancels double-width printing mode and 
returns printing to normal.
20
14
Cancel 
Data
CAN
Clears current line buffer of data already 
received to print on the current line since 
last Form Feed, Line Feed, Carrier Return, 
or Cancel.
24
18
Space
SP
Moves the print position one character 
space to the right. 
32
20
Code 
Name
Symbol
Description
Value 
(Dec)
Value 
(Hex)