![Custom Engineering TG1260 series Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/custom-engineering/tg1260-series/tg1260-series_user-manual_2700882036.webp)
2. PRINTER FUNCTIONS
2-19
TG1260/2460
[Range]
1
≤
n
≤
2
0
≤
xH
,
xL
,
yH
,
yL
≤
255
[Description]
Prints the graphics bank from flash or ram.
n
selects the bank as follows:
n
n
o
i
t
c
n
u
F
1
1
o
g
o
l
k
n
a
b
h
s
a
l
f
t
n
i
r
P
2
2
o
g
o
l
k
n
a
b
h
s
a
l
f
t
n
i
r
P
xL
+
xH
×
256 specifies the starting dot line ( 1
÷
1170).
yL
+ y
H
×
256 specifies the number of lines to print.
[Notes]
• If (
xL
+ (
xH
×
256)) > 1170the printer does not execute the command.
• If (
xL
+ (
xH
×
256 ) +
yL
+( y
H
×
256 ))> 1170the printer only prints 1170-
xL
+ (
xH
×
256 ) +1 dotlines.
[Default]
[Reference]
[Example]
To print logo 1 from flash bank dotline 100 to dotline 299, send:
$1B $FA $01 $00 $64
$00
$C7
n
d
0
d
H
n
L
n
m
F
F
$
B
1
$
[Name]
Receive and store logos in flash.
[Format]
ASCII
ESC
{ }
m
nL
nH
d0
dn
Hex
1B
FF
m
nL
nH
d0
dn
Decimal
27
255
m
nL
nH
d0
dn
[Range]
0
≤
nL
,
nH
≤
255
1
≤
m
≤
2
0
≤
d0
,
dn
≤
255
[Description]
• Received [
nL
+ (
nH
x 256)] x 2 bytes and store in the flash.
• If [
nL
+ (
nH
x 256)] exceeds 32768, the data following will be processed as normal
data.
•
Saved the graphics bank from flash.
m
selects the bank as follows:
• d0, dn = value of bit stream image
[Default]
[Reference]
[Example]
To store the logotype indicated below ,into flash bank 2, necessity execute the follows
operation
1)Define the image dimensions.
The width of image is 448 horizontal pixel ; the height maximun of image is 1170 vertical
pixel.
2) Calculate the number of bytes to send as (height pix*width pix)/16.
Bytes number in example is 448 x 1170/16=32760 in exadecimal resulting =
7FF8.
3) Bit stream image conversion.
In the following figure is reproduced the logotype enlargement in the zone indicated by
the arrow to define d0...dn
m
n
o
i
t
c
n
u
F
1
1
k
n
a
b
h
s
a
l
f
o
t
n
i
e
p
y
t
o
g
o
l
e
v
a
S
2
2
k
n
a
b
h
s
a
l
f
o
t
n
i
e
p
y
t
o
g
o
l
e
v
a
S
Содержание TG1260 series
Страница 1: ...TG1260 2460 TICKET PRINTER TG1260 series TG2460 series 60 mm www custom it User Manual...
Страница 6: ...TG1260 2460 Blank page...
Страница 8: ...TABLE OF CONTENTS TG2460 ii Blank page...
Страница 84: ...3 TECHNICAL SPECIFICATIONS TG1260 2460 3 3 3 2 DIMENSIONS 3 2 1 TG2460 U A 3 2 2 TG2460 U N Fig 3 1 Fig 3 2...
Страница 87: ...4 CHARACTER SET TG1260 2460 2 4 Blank page...