Raster Command Reference
Page 3
... inquiry about the Documentation. Unless expressly permitted in controlling your Printer Model ("Purpose"). IMPORTANT - Any updates, upgrades or alteration of the Documentation or Printer Model will assist you in the Documentation, you may use the Documentation only if you may use of Brother. PLEASE READ CAREFULLY Note This documentation ("Documentation") provides information that...
... inquiry about the Documentation. Unless expressly permitted in controlling your Printer Model ("Purpose"). IMPORTANT - Any updates, upgrades or alteration of the Documentation or Printer Model will assist you in the Documentation, you may use the Documentation only if you may use of Brother. PLEASE READ CAREFULLY Note This documentation ("Documentation") provides information that...
Raster Command Reference
Page 5
... the necessary information for directly controlling the Brother printer PT-XXXX (where "XXXX" is being used , refer to "Appendix A: USB Specifications" to prepare the interface. Read the model names that the user has full understanding of the operating system being used and basic mastery of your printer. - 1 - This information is provided assuming that appear...
... the necessary information for directly controlling the Brother printer PT-XXXX (where "XXXX" is being used , refer to "Appendix A: USB Specifications" to prepare the interface. Read the model names that the user has full understanding of the operating system being used and basic mastery of your printer. - 1 - This information is provided assuming that appear...
Raster Command Reference
Page 6
This operation is the model name) can be used to print without using our printer driver. About Raster Commands This manual describes the procedure for adding these codes and sending the...material, "raster" refers to binary bitmap data (collection of dots). Raster Command Reference About Raster Commands Using raster commands an PT-XXXX printer (where "XXXX" is useful in the following situations. ⚫ When printing from an operating system other than Windows (...to an existing system In addition, printing can be performed with raster data to the PT-XXXX printer (hereafter, referred to as...
This operation is the model name) can be used to print without using our printer driver. About Raster Commands This manual describes the procedure for adding these codes and sending the...material, "raster" refers to binary bitmap data (collection of dots). Raster Command Reference About Raster Commands Using raster commands an PT-XXXX printer (where "XXXX" is useful in the following situations. ⚫ When printing from an operating system other than Windows (...to an existing system In addition, printing can be performed with raster data to the PT-XXXX printer (hereafter, referred to as...
Raster Command Reference
Page 7
Raster Command Reference 1. For detailed flow charts, refer to "4. Printing Command Details". (1) Open the port Port (2) Send the status (Confirm the printer status (3) Send the print data At your side Computer, mobile terminal, etc. (5) Send the status (Confirm that printing is described below. Flow Charts". For details on each command, refer to "5. Printing Using Raster Commands Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 - 1.
Raster Command Reference 1. For detailed flow charts, refer to "4. Printing Command Details". (1) Open the port Port (2) Send the status (Confirm the printer status (3) Send the print data At your side Computer, mobile terminal, etc. (5) Send the status (Confirm that printing is described below. Flow Charts". For details on each command, refer to "5. Printing Using Raster Commands Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 - 1.
Raster Command Reference
Page 8
...printing. (4) Print the data (5) Confirm that no error has occurred, the print data is used to send uncompressed raster data, the Brother PT-XXXX starts printing when it starts to receive print data, instead of "status", refer to confirm that printing is completed, printing one page...Command Reference (1) Open the USB/network/Bluetooth port Open the USB/network/Bluetooth port in "4. Note: In order to the printer, the status information received from the printer. Printing Using Raster Commands If the print job has multiple pages, (2) through (4) are repeated. (6) Close the USB/network/...
...printing. (4) Print the data (5) Confirm that no error has occurred, the print data is used to send uncompressed raster data, the Brother PT-XXXX starts printing when it starts to receive print data, instead of "status", refer to confirm that printing is completed, printing one page...Command Reference (1) Open the USB/network/Bluetooth port Open the USB/network/Bluetooth port in "4. Note: In order to the printer, the status information received from the printer. Printing Using Raster Commands If the print job has multiple pages, (2) through (4) are repeated. (6) Close the USB/network/...
Raster Command Reference
Page 9
...Raster Command Reference 2. Sequence Command Name Description/Example 1 Switch dynamic command mode Switches the printer to raster mode. 1Bh, 69h, 61h, 01h 2 Specify automatic status notification mode (PT-P910BT only) Dynamically switches whether an automatic status notification is given during printing. 1Bh,... 69h, 21h, 00h Sets the print information for the printer. 3 Print information command When printing 100 mm on...
...Raster Command Reference 2. Sequence Command Name Description/Example 1 Switch dynamic command mode Switches the printer to raster mode. 1Bh, 69h, 61h, 01h 2 Specify automatic status notification mode (PT-P910BT only) Dynamically switches whether an automatic status notification is given during printing. 1Bh,... 69h, 21h, 00h Sets the print information for the printer. 3 Print information command When printing 100 mm on...
Raster Command Reference
Page 11
...test page), and then specify the file name. Step 2: Print the desired item (in this sample is provided below . ・ Printer driver of the Brother PT-XXXX ・ Binary file editor The data that we will analyze in this procedure and try creating print data with various print settings. ...the two listed below . Therefore, use a binary file editor to "FILE:". Since the print data differs depending on the print settings of the printer to display and check the contents of the binary file. 2.2.2 Checking the print data The procedure for the Windows® 10 operating environment. ...
...test page), and then specify the file name. Step 2: Print the desired item (in this sample is provided below . ・ Printer driver of the Brother PT-XXXX ・ Binary file editor The data that we will analyze in this procedure and try creating print data with various print settings. ...the two listed below . Therefore, use a binary file editor to "FILE:". Since the print data differs depending on the print settings of the printer to display and check the contents of the binary file. 2.2.2 Checking the print data The procedure for the Windows® 10 operating environment. ...
Raster Command Reference
Page 12
Open the Printers and Faxes folder, and then right-click the printer to "FILE:". In the Properties dialog box, click the [Ports] tab, select the "FILE:" check box, and then click the [Apply] button. [Ports] tab of the printer to display the Properties dialog box. Print the test page with "36mm" selected as the paper size in this case, the test page), and then specify the file name. Print Data Raster Command Reference Step 1: Change the port of the printer Properties dialog box Step 2: Print the item (in the print settings. - 8 - 2.
Open the Printers and Faxes folder, and then right-click the printer to "FILE:". In the Properties dialog box, click the [Ports] tab, select the "FILE:" check box, and then click the [Apply] button. [Ports] tab of the printer to display the Properties dialog box. Print the test page with "36mm" selected as the paper size in this case, the test page), and then specify the file name. Print Data Raster Command Reference Step 1: Change the port of the printer Properties dialog box Step 2: Print the item (in the print settings. - 8 - 2.
Raster Command Reference
Page 13
... binary file editor. Print data - 9 - 2. Open the saved file in the binary file editor. Raster Command Reference When the test page is printed with the printer, a dialog box appears so that appear are the print data. (Refer to "2.2.3 Explanation of the following: (1) Initialization commands, (2) Control codes, (3) Raster data and (4) Print commands... the test page". The rows of numbers that the file name can be specified. (Refer to the illustration below .) The print data is clicked, the printer driver creates the print data and saves it in "2.1 Print data overview".
... binary file editor. Print data - 9 - 2. Open the saved file in the binary file editor. Raster Command Reference When the test page is printed with the printer, a dialog box appears so that appear are the print data. (Refer to "2.2.3 Explanation of the following: (1) Initialization commands, (2) Control codes, (3) Raster data and (4) Print commands... the test page". The rows of numbers that the file name can be specified. (Refer to the illustration below .) The print data is clicked, the printer driver creates the print data and saves it in "2.1 Print data overview".
Raster Command Reference
Page 15
...margins. Print Data No. In this case, "no chain printing" is enabled, and "half cut" is enabled. 9 Specify number of copies Internal specification commands Since this command. 5 Print information command Media size information for specifying a mode. (1Bh+69h+4Dh+40h) Here, automatically cutting is ...numbers in the print data on each * labels" The number of pages printed before sending raster data to the printer. 4 Job ID setting commands Internal specification commands Since this is a command for outputting with the commercial version driver, it is switched to raster mode....
...margins. Print Data No. In this case, "no chain printing" is enabled, and "half cut" is enabled. 9 Specify number of copies Internal specification commands Since this command. 5 Print information command Media size information for specifying a mode. (1Bh+69h+4Dh+40h) Here, automatically cutting is ...numbers in the print data on each * labels" The number of pages printed before sending raster data to the printer. 4 Job ID setting commands Internal specification commands Since this is a command for outputting with the commercial version driver, it is switched to raster mode....
Raster Command Reference
Page 27
...status information. ESC i S Status information request ASCII: ESC Hexadecimal: 1B i S 69 53 Description ⚫ Send a request to the printer for the appropriate number of the status, refer to the receiving state, where the print buffer is fixed at 32 bytes. Note Before sending... mode settings. ⚫ Also used to be sent once. Flow Charts". - 23 - 4. For details on the status, refer to the printer, this command while printing. Raster Command Reference 4. Printing Command Details NULL Invalidate ASCII: NULL Hexadecimal: 00 Description ⚫ Skipped ⚫ If ...
...status information. ESC i S Status information request ASCII: ESC Hexadecimal: 1B i S 69 53 Description ⚫ Send a request to the printer for the appropriate number of the status, refer to the receiving state, where the print buffer is fixed at 32 bytes. Note Before sending... mode settings. ⚫ Also used to be sent once. Flow Charts". - 23 - 4. For details on the status, refer to the printer, this command while printing. Raster Command Reference 4. Printing Command Details NULL Invalidate ASCII: NULL Hexadecimal: 00 Description ⚫ Skipped ⚫ If ...
Raster Command Reference
Page 29
... Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 01h "No media" error 02h "End of media" error 04h Cutter jam 08h Weak batteries 10h Printer in use 20h (Not used) 40h High-voltage adapter 80h (Not used) (2) Error information 2 Flag Mask Definition Bit 0 Bit 1 Bit 2 Bit..."Black marking not detected" error 80h System error PT-P900 PT-P900W PT-P950NW (○:Supported, -:Not supported) ○ ○ ○ ○ ○ ○ ○ PT-P910BT (○:Supported, -:Not supported) PT-P900 PT-P900W PT-P950NW (○:Supported, -:Not supported...
... Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 01h "No media" error 02h "End of media" error 04h Cutter jam 08h Weak batteries 10h Printer in use 20h (Not used) 40h High-voltage adapter 80h (Not used) (2) Error information 2 Flag Mask Definition Bit 0 Bit 1 Bit 2 Bit..."Black marking not detected" error 80h System error PT-P900 PT-P900W PT-P950NW (○:Supported, -:Not supported) ○ ○ ○ ○ ○ ○ ○ PT-P910BT (○:Supported, -:Not supported) PT-P900 PT-P900W PT-P950NW (○:Supported, -:Not supported...
Raster Command Reference
Page 31
...-Shrink Tube Fle tape Flexible ID tape Satin tape Incompatible tape Value 00h 01h 03h 04h 11h 13h 14h 15h FFh PT-P900 PT-P900W PT-P950NW (○:Supported, -:Not supported) PT-P910BT (○:Supported, -:Not supported) (5) Status type Status Type Value Reply to status request 00h Printing completed... used) Turned off 04h Notification 05h Phase change 06h (Not used) 07h to 20h (Reserved) 21h to FFh If an error occurred during printing, the printer returns the error status. - 27 - 4.
...-Shrink Tube Fle tape Flexible ID tape Satin tape Incompatible tape Value 00h 01h 03h 04h 11h 13h 14h 15h FFh PT-P900 PT-P900W PT-P950NW (○:Supported, -:Not supported) PT-P910BT (○:Supported, -:Not supported) (5) Status type Status Type Value Reply to status request 00h Printing completed... used) Turned off 04h Notification 05h Phase change 06h (Not used) 07h to 20h (Reserved) 21h to FFh If an error occurred during printing, the printer returns the error status. - 27 - 4.
Raster Command Reference
Page 36
...sent to this command to switch the printer to raster mode. - 32 - 4. Printing Command Details Raster Command Reference ESC i a Switch dynamic command mode ASCII: ESC Hexadecimal: 1B i a {n1} 69 61 {n1} Parameters Definitions of {n}: PT-P900/P900W/P950NW 0: ESC/P mode (default)... 1: Raster mode (Be sure to switch to it. Therefore, send this mode.) 3: P-touch Template mode PT-P910BT 1: Raster mode (default) Description ⚫ Dynamically switches between the printer's command modes.
...sent to this command to switch the printer to raster mode. - 32 - 4. Printing Command Details Raster Command Reference ESC i a Switch dynamic command mode ASCII: ESC Hexadecimal: 1B i a {n1} 69 61 {n1} Parameters Definitions of {n}: PT-P900/P900W/P950NW 0: ESC/P mode (default)... 1: Raster mode (Be sure to switch to it. Therefore, send this mode.) 3: P-touch Template mode PT-P910BT 1: Raster mode (default) Description ⚫ Dynamically switches between the printer's command modes.
Raster Command Reference
Page 37
... PI_LENGTH 0x08 // Media length #define PI_QUALITY 0x40 // Priority given to enable bi-directional communication with the printer when printing. Please set to 09h when printing. ⚫ PT-P910BT: High-resolution printing and draft printing are not supported. {n3}: Media width (mm) {n4}:... Media length (mm) For the media of the paper length. - 33 - 4. n4 is specified... ⚫ PT-P9100/900W/950NW: Both "Printer recovery" and "bi-directional communication" will not be activated. Printing Command Details Please use "Switch automatic status notification mode" command ...
... PI_LENGTH 0x08 // Media length #define PI_QUALITY 0x40 // Priority given to enable bi-directional communication with the printer when printing. Please set to 09h when printing. ⚫ PT-P910BT: High-resolution printing and draft printing are not supported. {n3}: Media width (mm) {n4}:... Media length (mm) For the media of the paper length. - 33 - 4. n4 is specified... ⚫ PT-P9100/900W/950NW: Both "Printer recovery" and "bi-directional communication" will not be activated. Printing Command Details Please use "Switch automatic status notification mode" command ...
Raster Command Reference
Page 38
Fixed at 0 - 34 - 4. Printing Command Details Raster Command Reference {n5-n8}: {n9}: {n10}: Raster number = n8*256*256*256 + n7*256*256 + n6*256 + n5 If the media is not correctly loaded into the printer when the valid flag for PI_KIND, PI_WIDTH and PI_LENGTH are set to "ON", an error status is returned (Bit 0 of "(2) Error information 2" is set to "ON".) Starting page: 0 Other pages: 1 Last page: 2 The output will be 2 regardless of starting/last page for the job consists of single page.
Fixed at 0 - 34 - 4. Printing Command Details Raster Command Reference {n5-n8}: {n9}: {n10}: Raster number = n8*256*256*256 + n7*256*256 + n6*256 + n5 If the media is not correctly loaded into the printer when the valid flag for PI_KIND, PI_WIDTH and PI_LENGTH are set to "ON", an error status is returned (Bit 0 of "(2) Error information 2" is set to "ON".) Starting page: 0 Other pages: 1 Last page: 2 The output will be 2 regardless of starting/last page for the job consists of single page.
Raster Command Reference
Page 43
... the number of pins within the print area is the byte data. However, with compression, this becomes 70 bytes when it is expanded by the printer, regardless of the tape width. In other words, with compression, the number of unused pins is also added to the data. Printing Command Details Raster...
... the number of pins within the print area is the byte data. However, with compression, this becomes 70 bytes when it is expanded by the printer, regardless of the tape width. In other words, with compression, the number of unused pins is also added to the data. Printing Command Details Raster...
Raster Command Reference
Page 45
... {n1} 0: Notify. 1: Do not notify. (default) Description ⚫ Dynamically switches whether the automatic status notification is not obtained. - 41 - 4. A printer that receives this command operates in the specified command mode until the printer is turned off. ⚫ Use this command when building a system where the status is given during printing. Specify automatic...
... {n1} 0: Notify. 1: Do not notify. (default) Description ⚫ Dynamically switches whether the automatic status notification is not obtained. - 41 - 4. A printer that receives this command operates in the specified command mode until the printer is turned off. ⚫ Use this command when building a system where the status is given during printing. Specify automatic...
Raster Command Reference
Page 46
Buffered printing:Printing starts after the printer receives print data. Note: Concurrent printing:Printing starts immediately after one page of print data is performed as buffered printing. Flow Charts Normally, printing is received. - 42 - 5. Flow Charts However, if the printer is connected via USB and uncompressed data is received, concurrent printing is performed. Raster Command Reference 5.
Buffered printing:Printing starts after the printer receives print data. Note: Concurrent printing:Printing starts immediately after one page of print data is performed as buffered printing. Flow Charts Normally, printing is received. - 42 - 5. Flow Charts However, if the printer is connected via USB and uncompressed data is received, concurrent printing is performed. Raster Command Reference 5.
Raster Command Reference
Page 47
...problems with feeding (1A) for the last page or print command (0C) for page 2 Sending a print command (print command with the printer status (media, etc.), the data is reset. Finishing process for printing page 1 Sending data for other pages) Status ("Printing completed") ...Status (Phase change: "Waiting to status information request) Printer The printer is READ transmitted. The printer is a problem, an error appears. Sending control codes Sending raster data Status (Phase change "Printing" received. If there...
...problems with feeding (1A) for the last page or print command (0C) for page 2 Sending a print command (print command with the printer status (media, etc.), the data is reset. Finishing process for printing page 1 Sending data for other pages) Status ("Printing completed") ...Status (Phase change: "Waiting to status information request) Printer The printer is READ transmitted. The printer is a problem, an error appears. Sending control codes Sending raster data Status (Phase change "Printing" received. If there...