Lexmark 248X ユーザーズマニュアル
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.
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
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
Return
CR
Moves the current print position to the left
margin of the current line.
margin of the current line.
13
0D
Double-
Wide
Printing by
Line
Wide
Printing by
Line
SO
Prints all characters in double-width
mode.
mode.
14
0E
Condensed
Printing
Printing
SI
Condenses printing from 10 characters per
inch (cpi) to 17.1 and 12 cpi to 20.
inch (cpi) to 17.1 and 12 cpi to 20.
15
0F
Select
Printer
Printer
DC1
Selects the printer.
17
11
Select 10
cpi
cpi
DC2
Returns condensed printing to normal (10
cpi)
cpi)
18
12
Deselect
Printer
Printer
DC3
Signals the printer to stop accepting data
from the computer. This control code has
no effect on the parallel interface.
from the computer. This control code has
no effect on the parallel interface.
19
13
Cancel
Double-
Wide
Printing by
Line
Double-
Wide
Printing by
Line
DC4
Cancels double-width printing mode and
returns printing to normal.
returns printing to normal.
20
14
Cancel
Data
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.
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.
space to the right.
32
20
Code
Name
Name
Symbol
Description
Value
(Dec)
(Dec)
Value
(Hex)
(Hex)