Download User manual TG558

Transcript
3. PRINTER FUNCTIONS
[Default]
[Reference]
[Example]
$1B $FA n xH xL yH yL
[Name]
[Format]
[Range]
[Description]
[Notes]
[Default]
[Reference]
[Example]
Print logo.
ASCII
ESC
{}
n
xH
xL
yH
yL
Hex
1B
FA
n
xH
xL
yH
yL
Decimal
27
250
n
xH
xL
yH
yL
n = 1, 49
0 ≤ xH, xL, yH, yL ≤ 255
Prints graphic logo stored into flash bank; n selects the graphic source as follows :
xL + xH × 256 specifies the starting dotline ( 1 ÷ Nrow) where
Nrow = 341 for 58mm model
Nrow = 512 for 35mm model
yL + yH × 256 specifies the number of lines to print.
• If (xL + (xH × 256)) > Nrow the printer does not execute the command where
Nrow = 341 for 58mm model
Nrow = 512 for 35mm model
• If ( xL + ( xH × 256 ) + yL +( yH × 256 ))> Nrow the printer prints only Nrow - xL + (
xH × 256 ) +1 dotline where
Nrow = 341 for 58mm model
Nrow = 512 for 35mm model
• The logo dimension is :
384 x 341
for 58mm model
256 x 512
for 35mm model
To print from ram bank dotline 10 to dotline 64, send:
$1B
$FA
$00
$00
$0A
$00
$40
$1D $21 n
[Name]
[Format]
[Range]
[Description]
Select character size
ASCII
GS
!
n
Hex
1D
21
n
Decimal
29
33
n
0 ≤ n ≤ 255
Selects character height and width, as follows:
• Bits 0 to 3 low Nibble: to select character height (see table 2).
• Bits 4 to 7 High Nibble: to select character width (see table 1).
0bi t
1bi t
2bi t
height
TG558
3bi t
4bi t
5bi t
6bi t
width
3- 22
7bi t