<TP x1, y1, x2, y2>
Printers: KPM300
VeriPrint
, KUBE II
VeriPrint
, KUBE-L
VeriPrint
, TK300II
VeriPrint
[Name]
Detect the n. of black dots in an image area scanned (B/W)
[Format] ASCII
<TP
x1,y1,x2,y2>
[Range]
[Description]
• Detect the number of black dots inside an area de
fi
ned with x1, y1, x2, y2 coordinates
(in pixel), where:
x1 -> minimum horizontal coordinate
y1 -> minimum vertical coordinate
x2 -> maximum horizontal coordinate
y2 -> maximum vertical coordinate
The command answer as follow:
‘<TP
n1,n2>’
where:
n1 =
number of black dots detected
n2 =
total number of dots detected
[Notes]
• If the coordinates are reversed, the printer automatically turns the points to create in
any case the box.
• If the x2 is greater than the maximum horizontal width of graphic page, the box is drawn
using the maximum width as last point.
• If the y2 is greater than the maximum length of graphic page de
fi
ned by <LHT...> com-
mand, the box is drawn using the maximum length (de
fi
ned by this command) as last
point.
• The number of dots detected is dependent on the resolution set in
scanner.cfg
fi
le.
[Default]
[Reference] <TB
x1,y1,x2,y2>
[Example] Command
sent:
<TB80,50,120,200>
Response:
<TB8576,36000>
black dots detected = 8576
total dots detected = 36000
50px
200px
80px
120px
ABCDEF
1234567
ABCDEF
1234567
ABCDEF
1234567
ABCDEF
1234567
ABCDEF
1234567
ABCDEF
1234567
ABCDEF
1234567
ABCDEF
1234567
ABCDEF
1234567
12345671234567
ABCDEFAB
123
EF
567
23
56
1
AB
EF
123
567
AB
EF
AB
123
EF
567
123
567
ABCDEF
1234567
IM
D
D
MA
BCD
BCD
345
345
AG
345
345
G
GIN
BCD
BCD
NE
34
5
345
E
BCD
BCD
F
BCD
CD
345
45
L
345
345
LE
BC
D
BCD
Paper direction
SVELTA Emulation
Command Reference
123
Содержание KPM300
Страница 72: ...Blank page ESC POS Emulation 72 Command Reference ...
Страница 127: ......