Lexmark Forms Printer 2581 Technical Reference - Page 22

Control Codes

Page 22 highlights

Draft document 2-2 Control Codes Table 2-1: Control Codes (Continued) Code Name Beeper Vertical Tab Symbol BEL VT Form Feed FF Carriage Return CR Double-Wide Printing by SO Line Condensed Printing Select Printer Select 10 cpi Deselect Printer SI DC1 DC2 DC3 Cancel Double-Wide Printing by Line Cancel Data DC4 CAN Description Value (Dec) Sounds the printer beeper for approximately 1 second. 7 Advances the paper to the next vertical tab position set 11 by the ESC B command. If no tab position is set, the printer performs a single line feed. If the next vertical tab position is greater than the form length (or form length minus skip perforation), the VT does a line feed. An automatic carriage return may be optionally disabled Advances the paper to the top of the next page and does 12 a carriage return. Moves the current print position to the left margin of the 13 current line. An automatic line feed may be optionally added by the setup. Prints all characters in double-width mode. 14 This mode is canceled by the receipt of ESC [ @, ESC W n, CR, LF, VT, FF, DC4, CAN or auto wrap. Condenses printing from 10 characters per inch (cpi) to 15 17.1 and 12 cpi to 20. Selects the printer, causing all subsequent data to be 17 accepted. Returns condensed printing to normal (10 cpi). Cancels 18 SI mode. This control code has no effect on the parallel interface. 19 This command is accepted and ignored. Cancels double-width printing mode and returns printing 20 to normal. Clears current line buffer of data already received to print 24 on the current line. Does not change the current print position Value (Hex) 07 0B 0C 0D 0E 0F 11 12 13 14 18

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

Control Codes
2-2
Draft document
Vertical Tab
VT
Advances the paper to the next vertical tab position set
by the ESC B command. If no tab position is set, the
printer performs a single line feed.
If the next vertical tab position is greater than the form
length (or form length minus skip perforation), the VT
does a line feed.
An automatic carriage return may be optionally disabled
11
0B
Form Feed
FF
Advances the paper to the top of the next page and does
a carriage return.
12
0C
Carriage Return
CR
Moves the current print position to the left margin of the
current line. An automatic line feed may be optionally
added by the setup.
13
0D
Double-Wide Printing by
Line
SO
Prints all characters in double-width mode.
This mode is canceled by the receipt of ESC [ @, ESC W
n, CR, LF, VT, FF, DC4, CAN or auto wrap.
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, causing all subsequent data to be
accepted.
17
11
Select 10 cpi
DC2
Returns condensed printing to normal (10 cpi).
Cancels
SI mode.
18
12
Deselect Printer
DC3
This control code has no effect on the parallel interface.
This command is accepted and ignored.
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. Does not change the current print
position
24
18
Table 2-1:
Control Codes (Continued)
Code Name
Symbol
Description
Value
(Dec)
Value
(Hex)
Beeper
BEL
Sounds the printer beeper for approximately 1
second.
7
07