Brother International PT-P900 P-touch Template Manual/ Command Reference
Brother International PT-P900 Manual
View all Brother International PT-P900 manuals
Add to My Manuals
Save this manual to your list of manuals |
Brother International PT-P900 manual content summary:
- Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 1
Software Developer's Manual P-touch Template Command Reference PT-P900W/P950NW Version 1.02 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 2
Copyright © 2008 DENSO WAVE INCORPORATED Each owner whose software title is mentioned in this document has a Software License Agreement specific to its proprietary programs. Any trade names and product names of companies appearing on Brother products, related documents and any other materials are - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 3
you information that will assist you in controlling your Printer PT-P9XX (where "P9XX" is the model name). the Documentation or Printer Model will be performed at the sole discretion of Brother. Brother may not respond SOFTWARE PROGRAM OR APPLICATION YOU DEVELOPED IN ACCORDANCE WITH THE DOCUMENTATION. - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 4
Tool User's Guide 4 3. printer image 28 5.3 Making a template in order to save time before starting to print 29 6. Control Code Lists 30 6.1 Setting and retrieving commands for P-touch Template mode 30 6.2 Setting and retrieving commands for raster mode 32 7. Control Command Details 34 ^PT - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 5
Specify non-printed text strings 71 Specify command mode 72 Select template 73 Change the prefix character 74 Select printer settings (cut options 75 Select printer settings (cut options-specifying number of labels) ...... 76 Half cut setting 77 Mirror printing setting 78 Special tape setting - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 6
P-touch Template Command reference International character set table 111 Appendix C: Troubleshooting 112 If printing does not begin (main most frequent cause 112 If a template linked to a database is not printed 112 Appendix D: Introducing the Brother Developer Center 113 - iii - - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 7
in the screens in this manual as the name of your printer. We accept no responsibility for any problems caused by programs that you develop using the information provided in this material, affecting software, data or hardware, including the PT-P9XX, and any problems resulting directly or indirectly - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 8
from the computer according to configuration of the host device. 2.Design the template in P-touch Editor, and then transfer it to the printer. 3. Transfer the data (text) from the host device, and then print it in the template. This allows the user to develop a printing system that connects - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 9
refer to "4. P-touch Template Limitations") (3) Transfer the templates. Using P-touch Transfer Manager, transfer the templates to the printer. (Please refer to the PT-900 Series Software User's Guide.) (4) Program using P-touch Template commands. If any special commands are required to control the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 10
P-touch Template Command Reference 2. P-touch Template Settings Tool User's Guide (1) Command mode setting (2) Template number setting (3) Delimiter setting (4) Print start trigger setting (5) . Returns (1) through (19) to their default settings. - 4 2. P-touch Template Settings Tool User's Guide - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 11
. However, delimiters are not counted in the number of characters.) (5) Print start command text string setting Specify 1 to 20 characters. - 5 2. P-touch Template Settings Tool User's Guide - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 12
, refer to the character code tables in the P-touch Template Command Reference. Windows 1252 Windows 1250 Brother standard (8) International character setting Select one of the following as the character set of the country. in P-touch Template mode. - 6 2. P-touch Template Settings Tool User's Guide - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 13
special tape setting is disabled, and the operations for the auto cut and chain printing settings are performed as specified. - 7 2. P-touch Template Settings Tool User's Guide - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 14
length (bits) 8 bit, 7 bit Parity None, Odd, Even Busy control DTR, XON/XOFF Closes the Communication Settings dialog box. Applies the four settings to the printer. Returns the four parameters to their default settings. - 8 2. P-touch Template Settings Tool User - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 15
(user_account_name) \AppData\Roaming\Brother\Printer Settings\ptsXX30.ini Note: A name of file "ptsXX30.ini" varies depending on printers like below. - PT-P900W - PT-P950NW pts6F30.ini pts7030ini : [\09] Return control code : [\0D] \ : [\\] - 9 2. P-touch Template Settings Tool User's Guide - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 16
Steps 1. Make a template with P-touch Editor. 2. Transfer the template to Transfer Manager. 3. Transfer the template from Transfer Manager to the printer. 4. Use P-touch Template commands for printing. Step 1: Make a template with P-touch Editor. Start the P-touch Editor and make a label. - 10 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 17
template sent in step 2 is stored in Transfer Manager, as shown below. Stored template Assigned number Step 3: Transfer the template from Transfer Manager to the printer. Click [Transfer] button. - 11 - 3. Examples for Using Commands - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 18
communication setting is always bidirectional communication when Transfer Manager is used. When the template is transferred to the printer, the following message appears. Step 4: Use P-touch Template commands for printing. When using P-touch Template commands, at least these four commands are - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 19
(3) Initialize P-touch Template P-touch Template Command Reference (4) Print Start Entered command ^II Entered command ^FF When the printer receives the command above, the label below is printed. - 13 - 3. Examples for Using Commands - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 20
for printing logo/external characters in P-touch Template Here is the label to be printed. Steps 1. Make a template and transfer it to the printer. 2. Store the logo/external characters as a bitmap file, and drag & drop it to Transfer Manager. 3. Transfer the bitmap file from Transfer Manager to - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 21
/external characters as a bitmap file, and drag & drop it to Transfer Manager. Click [Transfer] button. Step 3: Transfer the bitmap file from Transfer Manager to the printer. Assigned number Stored the logo/external character as a bitmap - 15 - 3. Examples for Using Commands - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 22
number for the bitmap file. After using the P-touch Template Settings tool in Step 4, the remaining three commands must be sent to the printer. (1) Initialize P-touch Template Entered command ^II (2) Select the bitmap file to be printed. In order to select the bitmap file, enter a specific - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 23
(3) Start printing. P-touch Template Command Reference Entered command ^FF When the printer receives the command above, the label below is printed. - 17 - 3. Examples for Using Commands - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 24
is not converted.) Character sizes specified in P-touch Editor are converted to the closest built-in character size when the data is sent to the printer. Character sizes specified in P-touch Editor are all made the same size within an object. Depending on the language of the computer used for - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 25
P-touch Template Command Reference "At Printing" setting To cancel the "At Printing" setting for a date/time in P-touch Editor, display the properties for the Date and Time object, and then clear the "At Printing" check box. - 19 - 4. P-touch Template Limitations - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 26
dots. A negative line spacing setting cannot be used in P-touch Editor. In addition, since there is an upper limit for the line width with the printer, a line spacing setting larger than this limit specified in P-touch Editor will not be applied on the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 27
P-touch Template Command Reference 4.1.3 Text Layout settings Character styles specified in P-touch Editor all become the same style within an object. If the "Long text" is selected under "Text Layout" in P-touch Editor, the text is always aligned at top left. If the "Long Text" setting is - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 28
, an error will occur while transferring and the template cannot be transferred to the printer. The following barcodes are compatible with the PT-P9XX. 1D barcodes CODE39, ITF (I-2/5), UPC-A, UPC-E, EAN-13, EAN-8, CODABAR, CODE128, GS1-128 (UCC/EAN-128) , RSS, POSTNET 2D barcodes PDF417, QR - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 29
P-touch Template Command Reference 4.2.2 1D barcodes A barcode wider than 22.5 cm will not be printed. A 1D barcode taller than 454 dots is converted to 454dots. The number of characters that can be entered for each protocol is shown below. CODE39 1 to 50 characters (not including "*" on - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 30
for PDF417 specified in P-touch Editor are inconsistent with those on the printer, the size of the barcode may change when it is printed with partitioned when too much data is entered. When specifying the country code and service class with P-touch Editor, the number is entered at the beginning if - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 31
P-touch Template Command Reference 4.3 Relating to images If a template containing overlapping images is transferred with P-touch Editor, all image data will be overlapping. (P-touch Editor displays the image created last on top.) 4.4 Relating to Numbering A single object contains a single - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 32
mode in the P-touch Template Settings tool or, if the previous mode in the P-touch Template Settings tool was the P-touch Template mode, turn the printer off, then on again to enter P-touch Template mode. 4.6.2 About objects in a template The line feed codes (0D0A, 0D and 0A) in print data are - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 33
P-touch Template Command Reference 5. Precautions 5.1 Notes for printers with Bluetooth interface If the printer is connected using Bluetooth, the printer may not be ready immediately after the port is opened. When sending print data, wait at least 500 msec after the port has been opened - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 34
P-touch Template Command Reference 5.2 Relationship between the P-touch Editor settings and the printer image P-touch Editor setting Text options (Text Layout settings) Width Printer image Height Text Layout DetailsOptions Wrap Text Frame Size Text Size Frame Size Text Size Clip Text - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 35
P-touch Template Command Reference 5.3 Making a template in order to save time before starting to print Perform the following operation to convert permanent objects into images. - In the Text Properties dialog box, select the Expanded tab, and then select the "Text Cannot Be Edited" check box. - - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 36
and stored in the memory. With dynamic commands, settings specified with a command are temporarily saved and applied until the machine is turned off. ASCII Code ^PT ^FF ^PS ^PC ^SS ^TS ^LS ^CC ^RC ^CN ^NN ^ID ^QV ^FC ^CF ^CH ^CP ^MP ^II ^OP ^SR Binary Code 5E 50 54 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 37
ESC ia) cannot be used in raster mode or ESC/P mode. * With dynamic commands, settings specified with a command are temporarily saved and applied until the printer is turned off. - 31 - 6. Control Code Lists - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 38
Static Select template 1B 69 58 66 32 Static Change prefix character 1B 69 58 63 32 Static Specify printer settings (full cut option ON/OFF) 1B 69 58 79 32 Static Specify printer settings (full cut option-specify cutting after specified number of labels) 1B 69 58 48 32 Static Half - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 39
Static/Dynamic Description Retrieve command mode ESC iXn1 1B 69 58 6E 31 Retrieve template selection number ESC iXc1 1B 69 58 63 31 Retrieve printer settings (full cut option ON/OFF) ESC iXy1 1B 69 58 79 31 Retrieve machine settings (full cut option-specify cutting after specified number - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 40
7. Control Command Details ^PT Select print start trigger ASCII: ^ Decimal: 94 Hexadecimal: 5E P T n 80 84 nd 50 54 nh Parameters 1≤n≤3 Description Selects the print start trigger type. n=1: When the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 41
: 5E 46 46 Parameters None Description Starts printing. However, the print start trigger must be "when the specified text string is received". (Refer to "^PT" and "ESC iXT2".) The text string for the print start command can be changed. (Refer to "^PS" and "ESC iXP2".) Example To print - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 42
P-touch Template Command Reference ^PS Specify print start command text string ASCII: ^ P S n1 n2 Decimal: 94 80 83 nd1 nd2 Hexadecimal: 5E 50 53 nh1 nh2 data datad datah Parameters 0≤n1≤2 0≤n2≤9 00h≤data≤FFh Description Specifies the text string for the print start command. (n1*10)+n2 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 43
P-touch Template Command Reference ^PC Specify print start received character count ASCII: ^ P C n1 n2 n3 Decimal: 94 80 67 nd1 nd2 nd3 Hexadecimal: 5E 50 43 nh1 nh2 nh3 Parameters 0≤n1≤9 0≤n2≤9 0≤n3≤9 Description Specifies the number of characters to be received in order to start - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 44
P-touch Template Command Reference ^SS Specify delimiter ASCII: ^ S S n1 n2 Decimal: 94 83 83 nd1 nd2 Hexadecimal: 5E 53 53 nh1 nh2 data datad datah Parameters 0≤n1≤2 0≤n2≤9 00h≤datah≤FFh Description The delimiter is used to indicate when to move to the next object in data that is being - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 45
P-touch Template Command Reference ^TS Select template ASCII: ^ T S n1 n2 n3 Decimal: 94 84 83 nd1 nd2 nd3 Hexadecimal: 5E 54 53 nh1 nh2 nh3 Parameters n1: 0 (Fixed) 0≤n2≤9 0≤n3≤9 Description Specifies the number of the template selected from the machine. (n2*10)+n3: Template number (1 to - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 46
P-touch Template Command Reference ^LS Specify line spacing with line feed ASCII: ^ L S n1 n2 n3 Decimal: 94 76 83 nd1 nd2 nd3 Hexadecimal: 5E 4C 53 nh1 nh2 nh3 Parameters 0≤n1≤2 0≤n2≤9 0≤n3≤9 Description Specifies the number of dots for the line spacing when a line feed is entered. (n1* - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 47
P-touch Template Command Reference ^CC Change the prefix character ASCII: ^ CCn Decimal: 94 67 67 nd Hexadecimal: 5E 43 43 nh Parameters 00h≤nh≤FFh Description Changes the prefix character code. n: Character code The default text string for the prefix character is "^". This command is - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 48
P-touch Template Command Reference ^RC Specify line feed command text string ASCII: ^ R C n1 n2 Decimal: 94 82 67 nd1 nd2 Hexadecimal: 5E 52 43 nh1 nh2 data datad datah Parameters 0≤n1≤2 0≤n2≤9 00h≤datah≤FFh Description Specifies the text string for the line feed command. (n1*10)+n2: - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 49
P-touch Template Command Reference ^CN Specify number of copies ASCII: ^ C N n1 n2 n3 Decimal: 94 67 78 nd1 nd2 nd3 Hexadecimal: 5E 43 4E nh1 nh2 nh3 Parameters 0≤n1≤9 0≤n2≤9 0≤n3≤9 Description Specifies the number of copies to be printed. (n1*100)+(n2*10)+n3: Number of copies (bytes) (1 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 50
P-touch Template Command Reference ^NN Specify number of Numbering copies ASCII: ^ N N n1 n2 n3 Decimal: 94 78 78 nd1 nd2 nd3 Hexadecimal: 5E 4E 4E nh1 nh2 nh3 Parameters 0≤n1≤9 0≤n2≤9 0≤n3≤9 Description Specifies the number of copies to be printed with Numbering. (n1*100)+(n2*10)+n3: - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 51
P-touch Template Command Reference ^ID Initialize template data ASCII: ^ ID Decimal: 94 73 68 Hexadecimal: 5E 49 44 Parameters None Description Returns the data in the selected template to what it was when the template was transferred. - 45 - 7. Control Command Details - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 52
P-touch Template Command Reference ^QS Select print options ASCII: ^ QS n Decimal: 94 81 83 nd Hexadecimal: 5E 51 53 nh Parameters n: 0, 1 Description Selects the print options. n=0: Priority given to print speed n=1: Priority given to print quality The default value for the print - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 53
P-touch Template Command Reference ^QV Specify QR Code version ASCII: ^ Q V n1 n2 Decimal: 94 81 86 nd1 nd2 Hexadecimal: 5E 51 56 nh1 nh2 Parameters 0≤n1≤4 0≤n2≤9 Description Specifies the QR code version. (n1*10)+n2: Version number (between 0 and 40) The default QR Code version is 0. - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 54
P-touch Template Command Reference ^FC FNC1 replacement setting ASCII: ^ F Cn Decimal: 94 70 67 nd Hexadecimal: 5E 46 43 nh Parameters 0≤n≤1 Description This command selects whether or not GS codes, which are included in bar code protocols such as GS1-128 (UCC/EAN-128), are replaced with - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 55
P-touch Template Command Reference ^CF Full cut setting ASCII: ^ C F n1 n2 Decimal: 94 67 70 nd1 nd2 Hexadecimal: 5E 43 46 nh1 nh2 Parameters 0≤n1≤9 0≤n1≤9 Description Specifies whether or not full cut is used, and specifies the number of copies. (n1*10)+n2: Full cut and number of copies - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 56
P-touch Template Command Reference ^CH Half cut setting ASCII: ^ CHn Decimal: 94 67 72 nd Hexadecimal: 5E 43 48 nh Parameters 0≤n≤1 Description Specifies whether or not half cut is used. n: Half cut setting (ON: 1 (default); OFF: 0) This command is a dynamic command. Remarks Invalid - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 57
P-touch Template Command Reference ^CP Chain printing setting ASCII: ^ CPn Decimal: 94 67 80 nd Hexadecimal: 5E 43 50 nh Parameters 0≤n≤1 Description Specifies whether or not chain printing is applied. n: Chain printing setting (OFF: 0 (default); ON: 1) This command is a dynamic command - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 58
P-touch Template Command Reference ^MP Mirror printing setting ASCII: ^ MP n Decimal: 94 77 80 nd Hexadecimal: 5E 4D 50 nh Parameters 0≤n≤1 Description Specifies whether or not mirror printing is applied. n: Mirror printing setting (OFF: 0 (default); ON: 1) This command is a dynamic - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 59
P-touch Template Command Reference ^II Initialize ASCII: ^ II Decimal: 94 73 73 Hexadecimal: 5E 49 49 Parameters None Description Reverts all dynamic settings to the machine settings. (1) Select print start trigger (2) Specify print start command text string (3) Specify print start - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 60
^OP Perform machine operations (feed/cut) ASCII: ^ OP n Decimal: 94 79 80 nd Hexadecimal: 5E 4F 50 nh Parameters n = 4 Description Causes the machine to perform a feed and cut operation. n=4 Performs the feed and cut operation Remarks Invalid if n is a value other than 4 Example - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 61
returned. The printer status consists of 32 bytes. Number Offset Size Name 1 0 1 Print head mark 2 1 1 Size 3 2 1 Brother code 4 3 1 Series code 5 4 1 Model code Value/Reference Fixed at 80h Fixed at 20h Fixed at "B" (42h) Fixed at "0" (30h) "o" (6Fh) : P900W "p" (70h) : P950NW - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 62
P-touch Template Command Reference Number 25 26 27 Offset 24 25 26 Size Name 1 Media color information 1 Ribbon color information 6 Not used Value/Reference Refer to table (8) below. Refer to table (9) below. Fixed at 00h (1) Error information 1 Flag Mask Bit 0 01h Bit 1 02h Bit 2 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 63
(3) Media width, Media length Media type No tape 3.5-mm-wide tape 6-mm-wide tape 9-mm-wide tape 12-mm-wide tape 18-mm-wide tape 24-mm-wide tape 36-mm-wide tape HS 5.8-mm-wide tape HS 8.8-mm-wide tape HS 11.7-mm-wide tape HS 17.7-mm-wide tape HS 23.6-mm-wide tape FLe 21mm x 45mm-wide tape (4) Media - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 64
P-touch Template Command Reference (5) Status type Status type Reply to status request Not use Error occurred Not use Not use Notification Phase change (Not used) Usage prohibited Value 00 h 01 h 02 h 03 h 04 h 05 h 06 h 07h to 20h 21h to FFh (6) Phase type, number Phase type (Reception possible) - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 65
P-touch Template Command Reference (7) Notification number Notification (No notification) Cover open Cover close Cooling started Cooling finished (8) Media color information Media color White Other Clear Red Blue Yellow Green Black Clear Matte White Matte Clear Matte Silver Satin Gold Satin Silver - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 66
Media color White(Flex. ID) Yellow(Flex. ID) Clearning Stencil Cooling finished Media color ID 90h 91h F0h F1h FFh (9) Ribbon color information Ribbon color White Red Blue Black Gold Blue Clearning Stencil Other Incompatible (10) Extended error information Error information High resolution/High- - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 67
P-touch Template Command Reference ^VR Retrieve version information ASCII: ^ VR Decimal: 94 86 82 Hexadecimal: 5E 56 52 Parameters None Description Retrieves the version information for the machine as a 16-character text string. - 61 - 7. Control Command Details - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 68
P-touch Template Command Reference ^CR Line feed in object ASCII: ^ CR Decimal: 94 67 82 Hexadecimal: 5E 43 52 Parameters None Description Adds a return to the next line in the text object. Valid even if the text string for the line feed command has been changed Example To print - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 69
P-touch Template Command Reference ^OS Select object (object number) ASCII: ^ O S n1 n2 Decimal: 94 79 83 nd1 nd2 Hexadecimal: 5E 4F 53 nh1 nh2 Parameters 0≤n1≤5 0≤n2≤9 Description Selects an object by its object number. (n1*10)+n2: Object number (1 to 50) Remarks The object number can - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 70
P-touch Template Command Reference ^ON Select object (object name) ASCII: ^ O N data 00 Decimal: 94 79 78 datad 00 Hexadecimal: 5E 4F 4E datah 00 Parameters None Description Selects an object by its object name. data: Text string (object name) Remarks The maximum length of text that - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 71
P-touch Template Command Reference ^DI Directly insert object ASCII: ^ D I n1 n2 Decimal: 94 68 73 nd1 nd2 Hexadecimal: 5E 44 49 nh1 nh2 data datad datah Parameters 00h≤nh1≤FFh 00h≤nh2≤FEh Description Inserts a text string for the specified number of characters into the object selected - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 72
P-touch Template Command Reference ESC i a 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: nh=01h or 31h: ESC/P mode Raster mode nh=03h or 33h: P-touch Template - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 73
P-touch Template Command Reference ESC iXT2 Select print start trigger ASCII: ESC i X T 2 n1 n2 n3 Decimal: 27 105 88 84 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 54 32 nh1 nh2 nh3 Parameters nh1=01h (Fixed) nh2=00h (Fixed) 00h≤nh3≤02h Description Selects the print start trigger type. nh3=00h: - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 74
P-touch Template Command Reference ESC iXP2 Specify print start command text string ASCII: ESC i X Decimal: 27 105 88 Hexadecimal: 1B 69 58 P 2 n1 n2 data 80 50 nd1 nd2 datad 50 32 nh1 nh2 datah Parameters 01h≤nh1≤14h nh2: 00h (Fixed) 00h≤datah≤FFh Description Specifies the text string - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 75
P-touch Template Command Reference ESC iXr2 Specify print start received character count ASCII: ESC i X r 2 n1 n2 n3 n4 Decimal: 27 105 88 114 50 nd1 nd2 nd3 nd4 Hexadecimal: 1B 69 58 72 32 nh1 nh2 nh3 nh4 Parameters nh1: 02h (Fixed) nh2: 00h (Fixed) 00h≤nh3≤FFh 00h≤nh4≤03h Description - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 76
P-touch Template Command Reference ESC iXD2 Specify delimiter ASCII: ESC i X D Decimal: 27 105 88 68 Hexadecimal: 1B 69 58 44 2 n1 n2 data 50 nd1 nd2 datad 32 nh1 nh2 datah Parameters 01h≤nh1≤14h nh2: 00h (FIxed) 00h≤datah≤FFh Description The delimiter is used to indicate when to move to - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 77
P-touch Template Command Reference ESC iXa2 Specify non-printed text strings ASCII: ESC i X a Decimal: 27 105 88 97 Hexadecimal: 1B 69 58 61 2 n1 n2 n3 data 50 nd1 nd2 nd3 datad 32 nh1 nh2 nh3 datah Parameters 01h≤nh1≤15h nh2: 00h (Fixed) nh3: 01h (Fixed) 00h≤datah≤FFh Description - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 78
P-touch Template Command Reference ESC iXi2 Specify command mode ASCII: ESC i X i 2 n1 n2 n3 Decimal: 27 105 88 105 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 69 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) nh3: 00h 01h 03h Description Switches the mode. nh3=00h: ESC/P mode nh3= - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 79
P-touch Template Command Reference ESC iXn2 Select template ASCII: ESC i X n 2 n1 n2 n3 Decimal: 27 105 88 110 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 6E 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) 01h≤nh3≤63h Description Specifies the number of the template selected from the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 80
P-touch Template Command Reference ESC iXf2 Change the prefix character ASCII: ESC i X f 2 n1 n2 n3 Decimal: 27 105 88 102 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 66 32 nh1 hn2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) 00h≤nh3≤FFh Description Changes the prefix character code. n3: - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 81
ESC iXc2 Select printer settings (cut options) ASCII: ESC i X c Decimal: 27 105 88 99 Hexadecimal: 1B 69 58 63 2 n1 n2 n3 50 nd1 nd2 nd3 32 nh1 nh2 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 82
P-touch Template Command Reference ESC iXy2 Select printer settings (cut options-specifying number of labels) ASCII: ESC i X y 2 n1 n2 n3 Decimal: 27 105 88 121 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 83
ESC iXH2 Half cut setting ASCII: ESC i X H Decimal: 27 105 88 72 Hexadecimal: 1B 69 58 48 2 n1 n2 n3 50 nd1 nd2 nd3 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) nh3:00h 01h Description Specifies whether or not half cut is used. nh3=00h: Half cut setting OFF nh3=01h: Half cut - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 84
ESC iXM2 Mirror printing setting ASCII: ESC i X M 2 n1 n2 n3 Decimal: 27 105 88 77 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 4D 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) nh3:00h 01h Description Specifies whether or not mirror printing is applied. nh3=00h: Mirror printing - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 85
P-touch Template Command Reference ESC iXs2 Special tape setting ASCII: ESC i X s 2 n1 n2 n3 Decimal: 27 105 88 115 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 73 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) nh3:00h 01h Description Specifies whether or not the special tape setting - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 86
the character code set. (For details on the character code sets, refer to the character code tables in "Appendix B: Character Code Tables".) nh3=00h: Brother standard nh3=01h: Windows 1250 (Eastern Europe) nh3=02h: Windows 1252 (Western Europe) Invalid if nh3 is set to a value other than 00h - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 87
P-touch Template Command Reference ESC iXj2 Select international character set ASCII: ESC i X j 2 n1 n2 n3 Decimal: 27 105 88 106 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 6A 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) 00h≤nh3≤0Dh, 40h Description Selects the character set for - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 88
P-touch Template Command Reference ESC iXR2 Specify line feed command text string ASCII: ESC i X R Decimal: 27 105 88 82 Hexadecimal: 1B 69 58 52 2 n1 n2 data 50 nd1 nd2 datad 32 nh1 nh2 datah Parameters 01h≤nh1≤14h nh2: 00h (Fixed) 00h≤datah≤FFh Description Specifies the text string for - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 89
ESC iXC2 Specify number of copies ASCII: ESC i X C Decimal: 27 105 88 67 Hexadecimal: 1B 69 58 43 2 n1 n2 n3 n4 50 nd1 nd2 nd3 nd4 32 nh1 nh2 nh3 nh4 Parameters nh1: 02h (Fixed) nh2: 00h (Fixed) 00h≤nh3≤FFh 00h≤nh4≤03h Description Specifies the number of copies to be printed. nh3+(nh4*256 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 90
P-touch Template Command Reference ESC iXN2 Specify number of Numbering copies ASCII: ESC i X N 2 n1 n2 n3 n4 Decimal: 27 105 88 78 50 nd1 nd2 nd3 nd4 Hexadecimal: 1B 69 58 4E 32 nh1 nh2 nh3 nh4 Parameters nh1: 02h (Fixed) nh2: 00h (Fixed) 00h≤nh3≤FFh 00h≤nh4≤03h Description Specifies the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 91
P-touch Template Command Reference ESC iXF2 FNC1 replacement setting ASCII: ESC i X F Decimal: 27 105 88 70 Hexadecimal: 1B 69 58 46 2 n1 n2 n3 50 nd1 nd2 nd3 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) nh3: 00h 01h Description This command selects whether or not GS codes, - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 92
P-touch Template Command Reference ESC iXq2 Select print options ASCII: ESC i X q 2 n1 n2 n3 Decimal: 27 105 88 113 50 nd1 nd2 nd3 Hexadecimal: 1B 69 58 71 32 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) nh3: 00h, 01h Description Selects the print options. nh3=00h: Priority - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 93
P-touch Template Command Reference ESC iXT1 Retrieve select print start trigger items ASCII: ESC i X T Decimal: 27 105 88 84 Hexadecimal: 1B 69 58 54 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1=00h (Fixed) nh2=00h (Fixed) Description The print start trigger is returned as 3-byte data. - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 94
P-touch Template Command Reference ESC iXP1 Retrieve print start command setting text string ASCII: ESC i X P Decimal: 27 105 88 80 Hexadecimal: 1B 69 58 50 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the text string specified for the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 95
P-touch Template Command Reference ESC iXr1 Retrieve print start received character count ASCII: ESC i X r 1 n1 n2 Decimal: 27 105 88 114 49 nd1 nd2 Hexadecimal: 1B 69 58 72 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the number of characters specified to - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 96
P-touch Template Command Reference ESC iXD1 Retrieve delimiter ASCII: ESC i X D Decimal: 27 105 88 68 Hexadecimal: 1B 69 58 44 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the text string specified for the delimiter. 3- to 22-byte - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 97
P-touch Template Command Reference ESC iXa1 Retrieve non-printed text strings ASCII: ESC i X a Decimal: 27 105 88 97 Hexadecimal: 1B 69 58 61 1 n1 n2 n3 49 nd1 nd2 nd3 31 nh1 nh2 nh3 Parameters nh1: 01h (Fixed) nh2: 00h (Fixed) nh3: 01h (Fixed) Description Retrieves the specified non- - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 98
ESC iXi1 Retrieve command mode setting ASCII: ESC i X i 1 n1 n2 Decimal: 27 105 88 105 49 nd1 nd2 Hexadecimal: 1B 69 58 69 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the setting for the command mode. 3-byte data is returned from the machine. [1]: 01h ( - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 99
ESC iXn1 Retrieve template selection number ASCII: ESC i X n 1 n1 n2 Decimal: 27 105 88 110 49 nd1 nd2 Hexadecimal: 1B 69 58 6E 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the template number selected from the machine. 3-byte data is returned from the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 100
P-touch Template Command Reference ESC iXc1 Retrieve printer settings (cut options) ASCII: ESC i X c Decimal: 27 105 88 99 Hexadecimal: 1B 69 58 63 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1: - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 101
P-touch Template Command Reference ESC iXy1 Retrieve printer settings (cut options-specifying number of labels) ASCII: ESC i X y 1 n1 n2 Decimal: 27 105 88 121 49 nd1 nd2 Hexadecimal: 1B 69 58 79 31 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 102
ESC iXH1 Retrieve half cut setting ASCII: ESC i X H Decimal: 27 105 88 72 Hexadecimal: 1B 69 58 48 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the half cut setting. 3-byte data is returned from the machine. [1]: 01h (Fixed) [2]: 00h ( - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 103
ESC iXM1 Retrieve mirror printing setting ASCII: ESC i X M 1 n1 n2 Decimal: 27 105 88 77 49 nd1 nd2 Hexadecimal: 1B 69 58 4D 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the mirror printing setting. 3-byte data is returned from the machine. [1]: 01h (Fixed - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 104
ESC iXs1 Retrieve special tape setting ASCII: ESC i X s 1 n1 n2 Decimal: 27 105 88 115 49 nd1 nd2 Hexadecimal: 1B 69 58 73 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the special tape setting. 3-byte data is returned from the machine. [1]: 01h (Fixed) - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 105
the character code sets, refer to "Appendix B: Character Code Tables".) 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting 00h: Brother standard 01h: Windows1250 (Eastern Europe) 02h: Windows1252 (Western Europe) The retrieved value is a value specified by - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 106
ESC iXj1 Retrieve international character set setting ASCII: ESC i X j 1 n1 n2 Decimal: 27 105 88 106 49 nd1 nd2 Hexadecimal: 1B 69 58 6A 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the international character set setting. 3-byte data is returned from the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 107
P-touch Template Command Reference ESC iXf1 Retrieve the prefix character ASCII: ESC i X f 1 n1 n2 Decimal: 27 105 88 102 49 nd1 nd2 Hexadecimal: 1B 69 58 66 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the prefix character code. 3-byte data is returned - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 108
P-touch Template Command Reference ESC iXR1 Retrieve line feed command setting text string ASCII: ESC i X R Decimal: 27 105 88 82 Hexadecimal: 1B 69 58 52 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the text string specified for the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 109
P-touch Template Command Reference ESC iXC1 Retrieve number of copies setting ASCII: ESC i X C Decimal: 27 105 88 67 Hexadecimal: 1B 69 58 43 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the number of copies specified to be printed. 4- - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 110
P-touch Template Command Reference ESC iXN1 Retrieve number of Numbering copies setting ASCII: ESC i X N 1 n1 n2 Decimal: 27 105 88 78 49 nd1 nd2 Hexadecimal: 1B 69 58 4E 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the number of copies specified to be - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 111
ESC iXF1 Retrieve FNC1 replacement setting ASCII: ESC i X F Decimal: 27 105 88 70 Hexadecimal: 1B 69 58 46 1 n1 n2 49 nd1 nd2 31 nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the FNC1 replacement setting. 3-byte data is returned from the machine. [1]: 01h ( - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 112
nh1 nh2 Parameters nh1: 00h (Fixed) nh2: 00h (Fixed) Description Retrieves the print options setting. 3-byte data is returned from the printer. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: nh3 Settings The retrieved value is a value specified by a static command. Example When the print options - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 113
P-touch Template Command Reference Appendix A: Specifications BROTHER PT-P900W/P950NW P-touch Template specifications Printing method Raster printing (PCBP mode) ESC/P printing P-touch Template printing Maximum print length 1 meter Resolution (dpi) 360 dpi × 360 dpi - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 114
P-touch Template Command Reference Appendix B: Character Code Tables (1) Windows1252 (Western Europe) 0 1 2 3 4 5 6 7 8 9 ABCDE F 0 SP 0 @ P ` p € ° ÀÐà ð 1 ! 1 AQa q 2 " 2 BR b r 3 # 3 CS c s 4 $ 4 DT d t 5 %5 EU e u 6 & 6 F V f v 7 ' 7 GW g w 8 ( 8 HX h x 9 ) - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 115
P-touch Template Command Reference (2) Windows1250 (Eastern Europe) 0 1 2 3 4 5 6 7 8 9 ABCDE F 0 SP 0 @ P ` p € tˇ 1 ! 1 AQa q 2 " 2 BRb r 3 # 3 CS c s 4 $ 4 DT d t 5 %5 EU e u 6 & 6 F V f v 7 ' 7 GW g w 8 ( 8 HXh x ľ 9 ) 9 I Y i y A * : J Z j z B - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 116
P-touch Template Command Reference (3) Brother standard 0 1 2 3 4 5 6 7 8 9 ABCDE F 0 SP 0 @ P ` p α 1 ! 1 AQa q ß ± 2 " 2 BR b r 3 z B + ; K [ k C , < L \ l ³ D - = M ] m } ì ¥ ¡ TEL ═ ø ² E . > N ^ n ~ Ä Pts « FAX ╬ F / ? O _ o DEL Note * "■" indicates that - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 117
40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 United States 1 France 2 Germany 3 Britain 4 Denmark I 5 Sweden 6 Italy 7 Spain I Pt 8 Japan 9 Norway 10 Denmark II 11 Spain II 12 Latin America 13 Korea # $@ [ W 64 Legal TM - 111 - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 118
P-touch Template Command Reference Appendix C: Troubleshooting If printing does not begin (main most frequent cause) (1) The communication settings are incorrect. (2) The command received". To search for the key code (333333333333) for "Chocolate", then print: - 112 - Appendix C: Troubleshooting - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 119
P-touch Template Command Reference Appendix D: Introducing the Brother Developer Center Useful information for developers, such as applications, tools, SDKs as well as FAQs, are provided in the Brother Developer Center. http://www.brother.com/product/dev/index.htm - 113 Appendix D: Introducing the - Brother International PT-P900 | P-touch Template Manual/ Command Reference - Page 120
Software Developer's Manual
P-touch Template Command Reference
PT-P900W/P950NW
Version 1.02