Control Codes
51.Grid Line Printing: ESX 16 n1 n2 c0 c1 ... cn (X
'
1B 7E 16 n1 n2 c0 c1 ...
cn
'
)
Specifies the grid lines vertically and horizontally for a line. Send this
code before sending the printing data for this line.
The specifications for parameters are as follows:
n1, n2:
Number of bytes of c0
∼
cn
c0:
.Specify 1
c1 ... cn:
Specify the grid line information as follows in single byte unit:
Bit
7
6
5
4
3
2
1
ð
│%───Horizontal──5│
│%────Vertical───5│
│
Grid
│
│
Grid
│
Types of Grid Lines
Bit (7 6 5 4)
Bit (3 2 1 0)
0 0 0 0 : No Grid Line
0 0 0 1 : Line
0 0 1 0 : Bold Line
0 0 1 1 : Dashed Line
Grid lines that are beyond the right margin are ignored. Since the grid
line is not a character it is not affected character decorations, but it is
printed over when the double strike mode is set. Double strike printing
can be immediately set or cancelled in the middle of a line so caution is
required when using grid lines.
52.Set Horizontal Tab: ESX 18 n1 n2 ht1 ht2 ... htn (X
'
1B 7E 18 n1 n2 ht1 ht2
... htn
'
)
Sets the horizontal tab position. The n1 and n2 indicate the number of
horizontal tabs, and the ht1, ht2 ... htn (one byte each) specifies the tab
positions by the number of single byte characters. Set tab positions in
ascending order. If the order is broken, the order returns to what it was
before the order was broken.
The tab position is set in the current character pitch. The maximum
number of tabs is 28. If more than 28 tabs are set, all tabs are ignored.
In the case of n1n2=X
'
0001
'
, ht1=X
'
00
'
, the tab position is the default
setting (at every 8 characters to the 9th character). In the case of
n1n2=0, horizontal tabs are cleared.
Appendix C. Control Codes (Connected to a Parallel Port)
C-17
Summary of Contents for 5400-006
Page 6: ...vi IBM 5400 006 Printer Setup Instruction and Operator s Guide ...
Page 10: ...x IBM 5400 006 Printer Setup Instruction and Operator s Guide ...
Page 147: ...Parallel Port Basic Functions Chapter 4 IBM 5400 006 Features 4 15 ...
Page 154: ...Environmental Conditions 5 6 IBM 5400 006 Printer Setup Instruction and Operator s Guide ...
Page 208: ...ESC P C Character Set D 6 IBM 5400 006 Printer Setup Instruction and Operator s Guide ...
Page 210: ...E 2 IBM 5400 006 Printer Setup Instruction and Operator s Guide ...