P-touch Template Manual/ Command Reference
Table Of Contents
- PT-9800PCN_PT-9700PC_P-touchTemplate_ver103.pdf
- PT-9800PCN_PT-9700PC_CmdRef_ver103.pdf
- Control code list
- About P-touch Template
- Static and dynamic commands
- If printing does not begin (main most frequent causes)
- Control command details
- ^PT Select print start trigger
- ^PS Specify print start command text string
- ^PC Specify print start received character count
- ^SS Specify delimiter
- ^TS Select template
- ^CF Full cut setting
- ^CH Half cut setting
- ^CP Chain printing setting
- ^MP Mirror printing setting
- ^SP Special tape setting
- ^LS Specify line spacing with line feed
- ^CC Change prefix character
- ^RC Specify line feed command text string
- ^CN Specify number of copies
- ^NN Specify number of Numbering copies
- ^ID Initialize template data
- ^QV Specify QR Code version
- ^FC FNC1 replacement setting
- ^II Initialize
- ^OP Perform machine operations (feed/cut)
- ^S R Status request
- ^V R Retrieve version Information
- ^CR Line feed in object
- ^OS Select object (object number)
- ^ON Select object (object name)
- ^DI Directly insert object
- ESC ia Specify command mode
- ESC iXT2 Select print start trigger
- ESC iXP2 Specify print start command text string
- ESC iXr2 Specify print start received character count
- ESC iXD2 Specify delimiter
- ESC iXa2 Specify non-printed text strings
- ESC iXi2 Specify command mode
- ESC iXn2 Select template
- ESC iXf2 Change prefix character
- ESC iXc2 Specify machine settings (full cut option)
- ESC iXy2 Specify machine settings (full cut option–specify cutting after specified number of labels)
- ESC iXH2 Half cut setting
- ESC iXM2 Mirror printing setting
- ESC iXs2 Special tape setting
- ESC iXm2 Select character code set
- ESC iXj2 Specify international character set
- ESC iXR2 Specify line feed command text string
- ESC iXC2 Specify number of copies
- ESC iXN2 Specify number of Numbering copies
- ESC iXF2 FNC1 replacement setting
- ESC iXT1 Retrieve select print start trigger items
- ESC iXP1 Retrieve print start command setting text string
- ESC iXr1 Retrieve print start received character count
- ESC iXD1 Retrieve delimiter
- ESC iXa1 Retrieve non-printed text strings
- ESC iXi1 Retrieve command mode setting
- ESC iXn1 Retrieve template selection number
- ESC iXc1 Retrieves machine settings (full cut option)
- ESC iXy1 Retrieve machine settings (full cut option–specify cutting after specified number of labels)
- ESC iXH1 Retrieve half cut setting
- ESC iXM1 Retrieve mirror printing setting
- ESC iXs1 Retrieve special tape setting
- ESC iXm1 Retrieve character code set
- ESC iXj1 Retrieve international character set setting
- ESC iXf1 Retrieve the prefix character
- ESC iXR1 Retrieve line feed command setting text string
- ESC iXC1 Retrieve number of copies setting
- ESC iXN1 Retrieve number of Numbering copies setting
- ESC iXF1 Retrieve FNC1 replacement setting
- Character code table
- International character set table
- Appendix: Specifications
35
^DI Directly insert object
[ASCII] ^ D I n1 n2 data
[Decimal] 94 68 73 nd1 nd2 datad
[Hexadecimal] 5E 44 49 nh1 nh2 datah
[Parameters] 00h≤nh1≤FFh
00h≤nh2≤FEh
[Description]
・Inserts a text string for the specified number of characters into the object selected in the
selected template. (If even a print command or delimiter is within the specified number of
characters, they are treated as data.)
(nh2*256)+nh1: Specified number of characters (bytes)
data: Text string
[Example]
・If “A” is specified as the print start text string, and the print start trigger is specified as the
print start text string, simply print “A” by printing with the following command.
^ D I 03h 00h 1 A 2 A
(5Eh 44h 49h 03h 00h 31h 41h 32h 41h)
Print result
ESC ia Specify command mode
[ASCII] ESC i a n
[Decimal] 27 105 97 nd
[Hexadecimal] 1B 69 61 nh
[Parameters] nh=00h 01h 03h 30h 31h 33h
[Description]
・Switches the mode.
nh=00h or 30h: ESC/P mode (default)
nh=01h or 31h: Raster mode
nh=03h or 33h: P-touch Template mode
・This command is a dynamic command.
[Remarks]
If the specified value is one other than those that can be set, raster mode will be entered.
1A2










