Lexmark Forms Printer 2581 Technical Reference - Page 33

Set Vertical Tabs, Set Horizontal Margins

Page 33 highlights

Draft document 2-13 Page/Form Layout Set Vertical Tabs Sets as many as 64 tabulation stops by line number. Format ESC B n1 ... Decimal 27 680 n1 ... Hexadecimal 1B 44 n1 ... n64 0 n64 0 n64 00 USAGE NOTES • Set the tabulation stops in ascending order (n1.....n64). • The last digit in the sequence must be 0 to terminate the command. • Vertical tab positions are specified by a line number, and the first line is numbered one. • ESC B 0 or ESC R (Set Default Tabulation Stops) clears all vertical tab stops. • The last digit in the sequence must be a 0 to terminate the command. • The printer command VT, Vertical Tabulation activates the tabulation stops set by this escape sequence. - 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. Set Horizontal Margins This command sets the left and right margins. Format ESC X n m Decimal 27 88 n m Hexadecimal 1B 58 n m USAGE NOTES • n selects the left margin position. • m selects the right margin position. • Margins are specified in the character positions at the current pitch and are stored in absolute displacement from the left edge of the paper. • The values for n and m must be between 0 and 255. If the value is set at 0, the margin is left unchanged.

  • 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

Page/Form Layout
2-13
Draft document
Set Vertical Tabs
Sets as many as 64 tabulation stops by line number.
USAGE NOTES
Set the tabulation stops in ascending order (n1
.....
n64).
The last digit in the sequence must be 0 to terminate the command.
Vertical tab positions are specified by a line number, and the first line is
numbered one.
ESC B 0 or ESC R (Set Default Tabulation Stops) clears all vertical tab stops.
The last digit in the sequence must be a 0 to terminate the command.
The printer command VT, Vertical Tabulation activates the tabulation stops
set by this escape sequence.
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.
Set Horizontal Margins
This command sets the left and right margins.
USAGE NOTES
n selects the left margin position.
m selects the right margin position.
Margins are specified in the character positions at the current pitch and are
stored in absolute displacement from the left edge of the paper.
The values for n and m must be between 0 and 255. If the value is set at 0,
the margin is left unchanged.
Format
ESC
B
n1
...
n64
0
Decimal
27
680
n1
...
n64
0
Hexadecimal
1B
44
n1
...
n64
00
Format
ESC
X
n
m
Decimal
27
88
n
m
Hexadecimal
1B
58
n
m