Add sensor range of TTP-225/ TDP-225 in command SET GAP
Ernest
2011/12/09
Add some command spec in RSS barcode.
Ernest
2012/11/20
Add command SET USBHOST KEYBOARD/SCANNER
Ernest
2012/11/20
Revise STRCOMP() example
Ernest
2012/11/20
Revise TRIM$(), LTRIM$(), RTRIM$() example.
Ernest
2012/11/20
Add <ESC>!P command.
Ernest
2012/11/20
Add <ESC>!O command.
Ernest
2012/11/20
Revise OUT command.
Ernest
2012/11/20
Add SET BLINE command.
Ernest
2012/11/20
Add ELLIPSE command.
Ernest
2012/11/20
Add SET RIBBONEND command.
Ernest
2012/11/20
Add SET ENCODER command.
Ernest
2012/11/21
Revise TEXT command.
Ernest
2012/11/21
Revise speed table of SPEED command.
Ernest
2012/11/21
Revise AZTEC command.
Ernest
2012/11/21
Add BLOCK command.
Ernest
2012/11/21
Add PUT command.
Ernest
2012/11/21
Add GET command.
Ernest
2012/11/21
Add INP() command.
Ernest
2012/11/22
Revise PUTBMP command. Support grayscale printing in direct thermal printing.
Ernest
2012/11/22
Revise BARCODE command. New support barcode TELEPEN, TELEPENN, PLANET, CODE49, DPI, DPL.
Ernest
2012/11/23
Add TLC39 barcode.
Ernest
2012/11/23
Add CODABLOCK command (F mode only).
Ernest
2012/11/23
Add SELFTEST PATTERN command.
Ernest
2012/11/23
Revise the supported CODEPAGE table and example.
Ernest
2012/11/23
Add global variable NOW.
Ernest
2012/11/26
Add DATEADD() command.
Ernest
2012/11/26
Add SET AUTORUN command.
Ernest
2012/11/26
Add LOC() command.
Ernest
2012/11/26
Add NOW$() command.
Ernest
2012/11/26
Revise SET RIBBON command.
Ernest
2012/11/26
Revise SET COUNTER command.
Ernest
2012/11/26
Add <ESC>!C command.
Ernest
2012/11/26
Add <ESC>!Q command.
Ernest
2012/11/26
Add <ESC>!S command.
Ernest
2012/11/26
Add OUTR command.
Ernest
2012/11/26
Add <ESC>!D command.
Ernest
2012/11/26
Add ~!E command.
Ernest
2012/11/27
Add LOB() command.
Ernest
2012/11/27
Add WHILE … WEND command.
Ernest
2012/11/27
Add DO … LOOP command.
Ernest
2012/11/27
Add TEXTPIXEL() command.
Ernest
2012/11/27
Add BARCODEPIXEL() command.
Ernest
2012/11/27
Add GETSENSOR() command.
Ernest
2012/11/27
Add GETSETTING() command.
Ernest
2012/11/28
Revise SET CUTTER command.
Ernest
2012/11/28
Revise OPEN command.
Ernest
2012/11/28
Revise FOR … NEXT LOOP command.
Ernest
2012/11/28
Add CLOSE command.
Ernest
2012/11/28
Add COPY command.
Ernest
2012/11/28
Add MPDF417 command for Micro PDF 417 barcode.
Ernest
2012/11/30
Add EOJ command.
Ernest
2012/11/30
Add DELAY command.
Ernest
2012/11/30
Add DISPLAY command.
Ernest
2012/11/30
Add XOR$() command.
Ernest
2012/11/30
Add _MODEL$ variable.
Ernest
2012/11/30
Add _SERIAL$ variable.
Ernest
2012/11/30
Add _VERSION$ variable.
Ernest
2012/11/30
Revise LIMITFEED command.
Ernest
2012/11/30
Revise BOX command.
Ernest
2012/11/30
Add SET FEED_LEN command.
Ernest
2012/12/20
Add external Wi-Fi module setting commands.
Ernest
2012/12/20
Add Ethernet setting commands.
Ernest
2012/12/24
Revise DMATRIX command.
Ernest
2012/12/24
Revise LIMITFEED command.
Ernest
2012/12/24
Revise SELFTEST command
Camille
2013/2/5
Add sample result for each section
Camille
2013/2/6
Add CODEPAGE 864 (Arabic) ; since F/W V7.0
Camille
2013/2/26
Add <ESC>!F command.
Camille
2013/2/26
Add <ESC>!. command.
Camille
TABLE OF CONTENTS
How to Ready ......................................................................................................................................... V
Document Conventions.......................................................................................................................... VI
Object Position Calculation ................................................................................................................... VII
Printer Model List .................................................................................................................................. IX
Setup and System Commands ................................................................................................................. 1
GAP ...................................................................................................................................................... 2
DENSITY .............................................................................................................................................. 10
DIRECTION AND MIRROR IMAGE ............................................................................................................. 11
HOME ................................................................................................................................................. 24
BAR ..................................................................................................................................................... 34
CIRCLE ................................................................................................................................................ 45
TEXT ................................................................................................................................................... 73
TSC AUTO ID Technology Co., Ltd. I Copyright 2013 All Rights Reserved.
RUN .................................................................................................................................................. 110
BASIC Commands and Functions ......................................................................................................... 112
END .................................................................................................................................................. 116
OPEN ................................................................................................................................................ 118
CLOSE ............................................................................................................................................... 120
PUT ................................................................................................................................................... 127
GET ................................................................................................................................................... 128
REM .................................................................................................................................................. 148
OUT .................................................................................................................................................. 149
YEAR ................................................................................................................................................. 211
DATE ................................................................................................................................................. 213
SECOND ............................................................................................................................................ 217
TSC AUTO ID Technology Co., Ltd. IV Copyright 2013 All Rights Reserved.
The command name
Description of this command
Syntax of this command
The detail description of
each parameter
The example and
printout for reference
How to Ready
TSC AUTO ID Technology Co., Ltd. V Copyright 2013 All Rights Reserved.
Convention
Description
[expression list]
Items inside square brackets are optional, expression maximum length 2*1024
bytes.
<ESC>
ASCII 27, control code of status polling command returns/runs the printer
status immediately.
~
ASCII 126, control code of status polling command returns the printer status
only when the printer is ready.
Space
ASCII 32, characters will be ignored in the command line.
"
ASCII 34, beginning and ending of expression.
CR, LF
ASCII 13, ASCII 10, denotes end of command line.
NULL
ASCII 0, supported in the expression.
Note:
203 DPI: 1 mm = 8 dots
The font in bold and italic type is used for note.
Document Conventions
This manual uses the following typographic conventions.
TSC AUTO ID Technology Co., Ltd. VI Copyright 2013 All Rights Reserved.
Paper feed direction
DIRECTION 0
Label origin (0,0)
X
Y
X=7mm
Y=3mm
DIRECTION 0
CLS
TEXT 56,24,"3",0,1,1,"ABC"
PRINT 1
Object Position Calculation
Note :
1. 203 DPI, 1mm=8 dots ; 300 DPI, 1mm=11.8 dots
2.Only integer portion will be used. Ex. 2 mm = 23.6 dots then 23 dots will be used.
TSC AUTO ID Technology Co., Ltd. VII Copyright 2013 All Rights Reserved.
DIRECTION 1
CLS
TEXT 56,24,"3",0,1,1,"ABC"
PRINT 1
Paper feed direction
DIRECTION 1
Label origin (0,0)
X
Y
X=7mm
Y=3mm
TSC AUTO ID Technology Co., Ltd. VIII Copyright 2013 All Rights Reserved.
Series
Models
F/W maintainability
M23 series
M23
No
TDP-643 Plus
TDP-643 Plus
No
TTP-243 series
TTP-243, TTP-243E, TTP-342
No
TTP-244ME series
TTP-243M, TTP-244ME, TTP-342M
No
TTP/TDP-245 series
TTP-245, TTP-245G, TTP-343, TDP-245, TDP-245G
No
TTP-246M series
TTP-246M, TTP-246G, TTP-344M
No
TTP-248M series
TTP-248M
No
TDP-643R Plus
TDP-643R Plus
No
TTP-243 Plus series
TTP-243 Plus, TTP-243E Plus, TTP-342 Plus
No
TTP-244ME Plus
TTP-244ME Plus, TTP-342M Plus
No
TTP-244 series
TTP-244
No
Alpha-3R series
Alpha-3R
Yes
TTP-243 Pro series
TTP-243 Pro, TTP-243E Pro, TTP-342 Pro
Yes
TTP-244ME Pro
TTP-244ME Pro, TTP-342M Pro
Yes
TTP/TDP-245 Plus
series
TTP-245 Plus, TTP-343 Plus, TDP-245 Plus
Yes
TTP-244 Plus series
TTP-244 Plus
Yes
TTP-245C series
TTp-245C, TTP-343C, TTP-244CE
Yes
TTP/TDP-247 series
TTP-247, TTP-345, TDP-244, TDP-247, TDP-345
Yes
TTP/TDP-225 series
TTP-225, TTP-323, TDP-225, TDP-225W
Yes
TA200 series
TA200, TA300
Yes
TTP-2410M series
TTP-2410M, TTP-346M, TTP-644M
Yes
TTP-246MPlus series
TTP-246M Plus, TTP-344M Plus
Yes
TTP-384M series
TTP-384M
Yes
TTP-268M series
TTP-268M, TTP-366M
Yes
TTP-2410M Pro
series
TTP-2410M Pro, TTP-346M Pro, TTP-644M Pro
Yes
TTP-246M Pro series
TTP-246M Pro, TTP-344M Pro
Yes
ME240 series
ME240, ME340
Yes
Printer Model List
TSC AUTO ID Technology Co., Ltd. IX Copyright 2013 All Rights Reserved.
SIZE m,n
English system (inch)
SIZE m mm,n mm
Metric system (mm)
SIZE m dot,n dot
Dot measurement
This command has been supported since V6.27 EZ and later firmware.
Parameter
Description
M
Label width (inch/ mm/ dot)
N
Label length (inch/ mm/ dot)
Note :
200 DPI : 1 mm = 8 dots
300 DPI : 1mm = 12 dots
For metric and dot systems, there must be a space between parameter and “mm” or “dot”.
Sample Code
English system (inch):
SIZE 3.5,3.00
Metric system (mm):
SIZE 100 mm,100 mm
Result
Setup and System Commands
SIZE
Description
This command defines the label width and length.
Syntax
Example
See Also
GAP, BLINE
TSC AUTO ID Technology Co., Ltd. 1 Copyright 2013 All Rights Reserved.
GAP m,n
English system (inch)
GAP m mm,n mm
Metric system (mm)
GAP m dot,n dot
Dot measurement
This command has been supported since V6.27 EZ and later firmware.
Parameter
Description
M
The gap distance between two labels
0 ≤ m ≤1 (inch), 0 ≤ m ≤ 25.4 (mm)
N
The offset distance of the gap
n ≤ label length (inch or mm)
0, 0
Continuous label
Note :
200 DPI : 1 mm = 8 dots
300 DPI : 1mm = 12 dots
For metric and dot systems, there must be a space between parameter and mm.
When the sensor type is changed from “Black Mark” to “GAP”, please send the “GAP”
command to the printer first.
GAP
Description
Defines the gap distance between two labels.
Syntax
TSC AUTO ID Technology Co., Ltd. 2 Copyright 2013 All Rights Reserved.
Sample Code
Result
Normal gap
English system (inch):
GAP 0.12,0
Metric system (mm):
GAP 3 mm,0 mm
Continuous label:
GAP 0,0
Normal gap
Special gap
English system (inch)
GAP 0.30,0.10
Metric system (mm)
GAP 7.62 mm,2.54 mm
Special gap
Example
See Also
SIZE, BLINE
TSC AUTO ID Technology Co., Ltd. 3 Copyright 2013 All Rights Reserved.
Parameter
Description
X
Paper length (in dots)
Y
Gap length (in dots)
Note:
If the x, y parameters are ignored then the printer will calibrate and determine the paper length
and gap size automatically.
GAPDETECT
Description
This command feeds the paper through the gap sensor in an effort to determine the paper and gap
sizes, respectively. This command references the user’s approximate measurements. If the
measurements conflict with the actual size, the GAPDETECT command will not work properly. This
calibration method can be applied to the labels with pre-printed logos or texts.
Syntax
GAPDETECT [x,y]
See Also
GAP, SIZE, BLINEDETECT, AUTODETECT
TSC AUTO ID Technology Co., Ltd. 4 Copyright 2013 All Rights Reserved.
Parameter
Description
x
Paper length (in dots)
y
Gap length (in dots)
Note:
If the x, y parameters are ignored then the printer will calibrate and determine the paper length
and gap size automatically.
BLINEDETECT
Description
This command feeds the paper through the black mark sensor in an effort to determine the paper and
black mark sizes, respectively. This command references the user’s approximate measurements. If the
measurements conflict with the actual size, the BLINEDETECT command will not work properly. This
calibration method can be applied to the labels with pre-printed logos or texts.
Syntax
BLINEDETECT [x,y]
See Also
GAP, SIZE, GAPDETECT, AUTODETECT
TSC AUTO ID Technology Co., Ltd. 5 Copyright 2013 All Rights Reserved.
Parameter
Description
x
Paper length (in dots)
y
Gap length (in dots)
Note:
If the x, y parameters are ignored then the printer will calibrate and determine the paper
length and gap/black mark size automatically.
When using this command, the printer will detect the label by the proper sensor type so
please don’t set the command GAP or BLINE in your program.
It is supported in firmware V6.86 EZ or later.
AUTODETECT
Description
This command feeds the paper through the gap/black mark sensor in an effort to determine the paper
and gap/black mark sizes, respectively. This command references the user’s approximate
measurements. If the measurements conflict with the actual size, the AUTODETECT command will not
work properly. This calibration method can be applied to the labels with pre-printed logos or texts.
Syntax
AUTODETECT [x,y]
See Also
GAP, SIZE, GAPDETECT, BLINEDETECT
TSC AUTO ID Technology Co., Ltd. 6 Copyright 2013 All Rights Reserved.
BLINE m,n
English system (inch)
BLINE m mm,n mm
Metric system (mm)
BLINE m dot,n dot
Dot measurement
This command has been supported since V6.27 EZ and later firmware.
Parameter
Description
m
The height of black line either in inch or mm
0 ≤ m ≤ 1 (inch), 0 ≤ m ≤ 25.4 (mm)
n
The extra label feeding length
0 ≤ n ≤ label length
0,0
Continuous label
Note:
For metric system, there must be a space between parameter and mm.
When the sensor type is changed from “GAP” to “Black Mark”, please send the “BLINE”
command to the printer first.
200 DPI : 1 mm = 8 dots
300 DPI : 1mm = 12 dots
Sample Code
English system (inch):
BLINE 0.20,0.50
Metric system (mm):
BLINE 5.08 mm,12.7 mm
BLINE
Description
This command sets the height of the black line and the user-defined extra label feeding length each
form feed takes.
Syntax
Example
See Also
SIZE, GAP
TSC AUTO ID Technology Co., Ltd. 7 Copyright 2013 All Rights Reserved.
OFFSET m
English system (inch)
OFFSET m mm
Metric system (mm)
OFFSET m dot,n dot
Dot measurement
This command has been supported since V6.27 EZ and later firmware.
Parameter
Description
m
The offset distance (inch or mm)
-1 ≤ m ≤ 1 (inch)
CAUTION:
Impropriety offset value may cause paper jam.
For metric system, there must be a space between parameter and mm.
200 DPI : 1 mm = 8 dots
300 DPI : 1mm = 12 dots
Sample Code
English system (inch):
OFFSET 0.5
Metric system (mm):
OFFSET 12.7 mm
OFFSET
Description
This command defines the selective, extra label feeding length each form feed takes, which, especially
in peel-off mode and cutter mode, is used to adjust label stop position, so as for label to register at
proper places for the intended purposes. The printer back tracks the extra feeding length before the
next run of printing.
Syntax
Example
See Also
SIZE, GAP, SET PEEL, SET CUTTER
TSC AUTO ID Technology Co., Ltd. 8 Copyright 2013 All Rights Reserved.
Parameter
Description
n
Printing speed in inch per second
Model / IPS
1
1.5 2 2.5 3 3.5 4 5 6 8
10
12
TTP-243 series
V V V
TTP-243 Plus series
V V V TTP-244ME series
V V V V
TTP-244ME Plus series
V V V V TTP-244 series
V V V
TTP-244CE series
V V V V
TTP-245 series
V V V V V
TTP-245C series
V V V V V V
TDP-245 series
V V V V V TTP-246M series
V V V V V
TTP-246M Plus series
V V V V V V TTP-248M series
V V V V
TTP-2410M series
V V V V
V
TDP-643 Plus series
V V V TDP-643R Plus series
V V V
TTP-342 series
V V V TTP-342 Plus series
V V V
TTP-342M series
V V V TTP-342M Plus series
V V V
TTP-343 series
V V V TTP-343C series
V V V V
TTP-344M series
V V V TTP-344M Plus series
V V V V
TTP-346M series
V V V V
TTP-384M series
V V V TTP-644M series
V V V
M23 series
V V V V V TDP-225 series
V V V V V
TTP-225 series
V V V V V
Sample code
SPEED 10
SPEED
Description
This command defines the print speed.
Syntax
SPEED n
Example
See Also
DENSITY
TSC AUTO ID Technology Co., Ltd. 9 Copyright 2013 All Rights Reserved.
Parameter
Description
n
0~15
0: specifies the lightest level
15: specifies the darkest level
Note:
Default DENSITY setting is 8.
Sample code
DENSITY 7
DENSITY
Description
This command sets the printing darkness.
Syntax
DENSITY n
Example
TSC AUTO ID Technology Co., Ltd. 10 Copyright 2013 All Rights Reserved.
Parameter
Description
n
0 or 1. Please refer to the illustrations below
m
0: Print normal image
1: Print mirror image
Model
Support
DIRECTION
MIRROR
TTP-243 series V
TTP-243 Plus series V V
TTP-244ME series V
TTP-244ME Plus series
V
V
TTP-244 series V V
TTP-244CE series V V
TTP-245 series V V
TTP-245C series V V
TDP-245 series V V
TTP-246M series V V
TTP-248M series V
TTP-2410M series V V
TDP-643 Plus series V
TDP-643R Plus series V V
TTP-342 series V
TTP-342 Plus series V V
TTP-342M series V
TTP-342M Plus series V V
DIRECTION and Mirror Image
Description
This command defines the printout direction and mirror image. This will be stored in the printer
memory.
Syntax
DIRECTION n[,m]
TSC AUTO ID Technology Co., Ltd. 11 Copyright 2013 All Rights Reserved.
TTP-343 series V V
TTP-343C series V V
TTP-344M series V V
TTP-346M series V V
TTP-384M series V V
TTP-644M series V V
M23 series
V
V
Sample code
DIRECTION 0
DIRECTION 0,1
Example
See Also
REFERENCE
TSC AUTO ID Technology Co., Ltd. 12 Copyright 2013 All Rights Reserved.
Parameter
Description
x
Horizontal coordinate (in dots)
y
Vertical coordinate (in dots)
Note:
200 DPI: 1 mm = 8 dots
300 DPI: 1 mm = 12 dots
Sample code
REFERENCE 10,10
REFERENCE
Description
This command defines the reference point of the label. The reference (origin) point varies with the
print direction, as shown:
Syntax
REFERENCE x, y
Example
See Also
DIRECTION
TSC AUTO ID Technology Co., Ltd. 13 Copyright 2013 All Rights Reserved.
Parameter
Description
n
The maximum value is 1 inch. For 200 dpi printers, the range is –203 to 203; for
300 dpi printers, the range is –300 to 300. The unit is dot.
Model
Support
TTP-243 series
TTP-243 Plus series
V
TTP-244ME series
TTP-244ME Plus series
V
TTP-244 series
V
TTP-244CE series
V
TTP-245 series
V
TTP-245C series
V
TDP-245 series
V
TTP-246M series
V
TTP-248M series
TTP-2410M series
V
TDP-643 Plus series
TDP-643R Plus series
V
TTP-342 series
TTP-342 Plus series
V
TTP-342M series
TTP-342M Plus series
V
TTP-343 series
V
TTP-343C series
V
TTP-344M series
V
TTP-346M series
V
TTP-384M series
V
TTP-644M series
V
M23 series
SHIFT
Description
This command moves the label’s vertical position. A positive value moves the label further from the
printing direction; a negative value moves the label towards the printing direction. For a visual
representation, see next page.
Syntax
SHIFT n
TSC AUTO ID Technology Co., Ltd. 14 Copyright 2013 All Rights Reserved.
Sample Code
SIZE 4,2.5
GAP 2 mm,0
DIRECTION 0
SHIFT 36
OFFSET 0
CLS
TEXT 400,200,"3",0,1,1,"DIRECTION 0"
TEXT 400,250,"3",0,1,1,"SHIFT 36"
BOX 10,0,780,490,8
PRINT 3,1
Result
Example
See Also
OFFSET, REFERENCE
TSC AUTO ID Technology Co., Ltd. 15 Copyright 2013 All Rights Reserved.
Parameter
Description
n
001: USA
002: Canadian-French
003: Spanish (Latin America)
031: Dutch
032: Belgian
033: French (France)
034: Spanish (Spain)
036: Hungarian
038: Yugoslavian
039: Italian
041: Switzerland
042: Slovak
044: United Kingdom
045: Danish
046: Swedish
047: Norwegian
048: Polish
049: German
055: Brazil
061: English (International)
351: Portuguese
358: Finnish
Sample Code
COUNTRY 001
COUNTRY
Description
This command orients the keyboard for use in different countriesvia defining special characters on the
KP-200 series portable LCD keyboard (option).
Syntax
COUNTRY n
Example
See Also
CODEPAGE,~!I
TSC AUTO ID Technology Co., Ltd. 16 Copyright 2013 All Rights Reserved.
Parameter
Description
n
Name or number of code page, which can be divided into 7-bit code
page and 8-bit code page.
7-bit code page
8-bit code page
Windows code page
ISO code page
n
Name n Name
n
Name
n
Name
USA
USA
437
United States
1250
Central Europe
8859-1
Latin 1
BRI
British
737
Greek
1251
Cyrillic
8859-2
Latin 2
GER
German
850
Multilingual
1252
Latin I
8859-3
Latin 3
FRE
French
851
Greek 1
1253
Greek
8859-4
Baltic
DAN
Danish
852
Slavic
1254
Turkish
8859-5
Cyrillic
ITA
Italian
855
Cyrillic
1255
Hebrew
8859-6
Arabic
SPA
Spanish
857
Turkish
1256
Arabic
8859-7
Greek
SWE
Swedish
860
Portuguese
1257
Baltic
8859-8
Hebrew
SWI
Swiss
861
Icelandic
1258
Vietnam
8859-9
Turkish
862
Hebrew
932
Japanese
Shift-JIS
8859-10
Latin 6
863
Canadian/French
936
Simplified
Chinese GBK
8859-15
Latin 9
864
Arabic
949
Korean
865
Nordic
950
Traditional
Chinese Big5
866
Russian
UTF-8
UTF 8
869
Greek 2
Note:
DATA LENGTH determines 7-bit or 8-bit communications parameter.
Download the COUR.TTF into printer by DiagTool
CODEPAGE
Description
This command defines the code page of international character set.
Syntax
CODEPAGE n
Example
TSC AUTO ID Technology Co., Ltd. 17 Copyright 2013 All Rights Reserved.
Sample Code
DOWNLOAD "TEST.BAS"
str1$ = ""
J = 0
y = 50
CODEPAGE 1252
SIZE 4,3
GAP 0,0
DIRECTION 1
CLS
TEXT 10,10,"COUR.TTF",0,12,12,"CODEPAGE 1252"
FOR I=32 TO 255
str1$=str1$+CHR$(I) + " "
J=J+1
IF J=16 THEN GOSUB drawTEXT
NEXT
PRINT 1
END
drawTEXT:
TEXT 10,y,"COUR.TTF",0,12,12,str1$
str1$=""
J=0
y=y+40
RETURN
EOP
TEST
Result
See Also
COUNTRY, ~!I
TSC AUTO ID Technology Co., Ltd. 18 Copyright 2013 All Rights Reserved.
Loading...
+ 222 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.