Raster Command Reference
Page 4
.../IP port) Connection 43 Appendix A: USB Specifications 44 Appendix B: Introducing the Brother Developer Center 45 - Printing Using Raster Commands 3 2. Raster Command Reference Contents Introduction 1 About Raster Commands 2 1. Print Data 5 2.1 Print data overview 5 2.2 Sample (analyzing the print data of the test page 8 2.2.1 Preparation ...8 2.2.2 Checking the print data 8 2.2.3 Explanation of tape)··· 37 5.4 Cooling flow for...
.../IP port) Connection 43 Appendix A: USB Specifications 44 Appendix B: Introducing the Brother Developer Center 45 - Printing Using Raster Commands 3 2. Raster Command Reference Contents Introduction 1 About Raster Commands 2 1. Print Data 5 2.1 Print data overview 5 2.2 Sample (analyzing the print data of the test page 8 2.2.1 Preparation ...8 2.2.2 Checking the print data 8 2.2.3 Explanation of tape)··· 37 5.4 Cooling flow for...
Raster Command Reference
Page 6
..." is useful in the following situations. When printing from an operating system other than Windows (Example: When printing from a Linux computer or mobile terminal) When adding print functions to an existing system In addition, printing can be performed with raster data to the QL-XXX printer (hereafter, referred to as "printer"). In this...
..." is useful in the following situations. When printing from an operating system other than Windows (Example: When printing from a Linux computer or mobile terminal) When adding print functions to an existing system In addition, printing can be performed with raster data to the QL-XXX printer (hereafter, referred to as "printer"). In this...
Raster Command Reference
Page 7
Printing Command Details". (1) Open the port Port (2) Receive the status (Confirm the printer status (3) Send the print data At your side Computer, mobile terminal, etc. (5) Receive the status (Confirm that printing is described below. Raster Command Reference 1. For detailed flow charts, refer to "4. For details on each command, refer to "5. Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 1. Flow Charts". Printing Using Raster Commands
Printing Command Details". (1) Open the port Port (2) Receive the status (Confirm the printer status (3) Send the print data At your side Computer, mobile terminal, etc. (5) Receive the status (Confirm that printing is described below. Raster Command Reference 1. For detailed flow charts, refer to "4. For details on each command, refer to "5. Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 1. Flow Charts". Printing Using Raster Commands
Raster Command Reference
Page 8
... the printer status sent from the printer The "status information request" command is determined. Print Data". Note: In order to print at high speed when a USB port is used to send uncompressed raster data, the Brother QL-XXX starts printing when it starts to "5. Raster Command Reference (1) Open the USB/serial/network port Open the...
... the printer status sent from the printer The "status information request" command is determined. Print Data". Note: In order to print at high speed when a USB port is used to send uncompressed raster data, the Brother QL-XXX starts printing when it starts to "5. Raster Command Reference (1) Open the USB/serial/network port Open the...
Raster Command Reference
Page 9
...69h, 4Bh, 08h 7 Specify margin amount Specifies the amount of the following: (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Sequence Command Name Description/Example 1 Invalidate Sends a 400-byte invalidate command, and then resets the printer to raster mode. 1Bh, 69h, ...are repeated. (1) Initialization commands Specified only once at the beginning of each page and sent for auto cut setting is 2 status notification given during printing. For 102-mm-wide continuous length tape: 1Bh, 69h, 7Ah, 86h, 0Ah, 66h, 00h, 09h, 07h, 00h, 00h, 00h, ...
...69h, 4Bh, 08h 7 Specify margin amount Specifies the amount of the following: (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Sequence Command Name Description/Example 1 Invalidate Sends a 400-byte invalidate command, and then resets the printer to raster mode. 1Bh, 69h, ...are repeated. (1) Initialization commands Specified only once at the beginning of each page and sent for auto cut setting is 2 status notification given during printing. For 102-mm-wide continuous length tape: 1Bh, 69h, 7Ah, 86h, 0Ah, 66h, 00h, 09h, 07h, 00h, 00h, 00h, ...
Raster Command Reference
Page 10
mode Raster Command Reference To send the data compressed to TIFF format: 4Dh, 02h - 6 2. Print Data
mode Raster Command Reference To send the data compressed to TIFF format: 4Dh, 02h - 6 2. Print Data
Raster Command Reference
Page 11
.... Raster Command Reference (3) Raster data Repeated for 1 blank line as the compression mode) 5Ah (Fixed) (4) Print commands Specified at the end of the last page. 1Ah (Fixed) - 7 2. Sequence Command Name - Print Data Sequence Command Name Description/Example - Print command - Zero raster graphics (Valid only when TIFF is not the last page. 0Ch Specifies...
.... Raster Command Reference (3) Raster data Repeated for 1 blank line as the compression mode) 5Ah (Fixed) (4) Print commands Specified at the end of the last page. 1Ah (Fixed) - 7 2. Sequence Command Name - Print Data Sequence Command Name Description/Example - Print command - Zero raster graphics (Valid only when TIFF is not the last page. 0Ch Specifies...
Raster Command Reference
Page 12
... . Therefore, use a binary file editor to print the test page. As an example, we will check the print data created when the [Print Test Page] button in the printer Properties dialog box is provided below . ・ Printer driver of the Brother QL-XXX ・ Binary file editor The data that... we will analyze in this procedure is for checking the print data is clicked to display and check the contents of the binary file. 2.2.2 Checking the print data The procedure for the Windows® ...
... . Therefore, use a binary file editor to print the test page. As an example, we will check the print data created when the [Print Test Page] button in the printer Properties dialog box is provided below . ・ Printer driver of the Brother QL-XXX ・ Binary file editor The data that... we will analyze in this procedure is for checking the print data is clicked to display and check the contents of the binary file. 2.2.2 Checking the print data The procedure for the Windows® ...
Raster Command Reference
Page 13
Default settings immediately after the printer driver was installed. Print Data 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 Properties dialog box Step 2: Print the item (in this sample, print the test page with the default print settings, which were specified immediately after installation of the printer to display the Properties dialog box. For this case, the...
Default settings immediately after the printer driver was installed. Print Data 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 Properties dialog box Step 2: Print the item (in this sample, print the test page with the default print settings, which were specified immediately after installation of the printer to display the Properties dialog box. For this case, the...
Raster Command Reference
Page 14
... and saves it in a file with the specified name. 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 the illustration below .) After a file name is typed in and the [OK] button ... (1) initialization commands, (2) control codes, (3) raster data and (4) print commands, which were described in "2.1 Print data overview". For details on the print data, refer to "2.2.3 Explanation of print data for specifying the file name Step 3: Open the print data in the binary file editor. Open the saved file in the...
... and saves it in a file with the specified name. 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 the illustration below .) After a file name is typed in and the [OK] button ... (1) initialization commands, (2) control codes, (3) raster data and (4) print commands, which were described in "2.1 Print data overview". For details on the print data, refer to "2.2.3 Explanation of print data for specifying the file name Step 3: Open the print data in the binary file editor. Open the saved file in the...
Raster Command Reference
Page 15
Print Data The following illustration shows the print data created in section "2.2.1 Preparation" opened in the previous section is described below. Raster Command Reference 2.2.3 Explanation of print data for the test page The print data for the test page outputted in the binary file editor. 1 2 3 4 5 6 7 8 9 10 11 12 13 Print data - 11 - 2.
Print Data The following illustration shows the print data created in section "2.2.1 Preparation" opened in the previous section is described below. Raster Command Reference 2.2.3 Explanation of print data for the test page The print data for the test page outputted in the binary file editor. 1 2 3 4 5 6 7 8 9 10 11 12 13 Print data - 11 - 2.
Raster Command Reference
Page 16
... mode Dynamically switches whether an automatic status notification is given during printing. 5 Job ID setting commands Internal specification commands Since this is a command for outputting with feeding Since one page will be printed, this command before automatically cutting is specified. 9 Expanded mode...invalidate command is sent. 2 Initialize The "initialize" command is sent. 3 Switch dynamic command mode The printer is sent. Print Data For details on the previous page are provided in the following table. No. Send this is the command for specifying ...
... mode Dynamically switches whether an automatic status notification is given during printing. 5 Job ID setting commands Internal specification commands Since this is a command for outputting with feeding Since one page will be printed, this command before automatically cutting is specified. 9 Expanded mode...invalidate command is sent. 2 Initialize The "initialize" command is sent. 3 Switch dynamic command mode The printer is sent. Print Data For details on the previous page are provided in the following table. No. Send this is the command for specifying ...
Raster Command Reference
Page 18
Print Data Raster Command Reference 264 38mm 262 50 mm 261 54 mm 259 62 mm 38 mm 1.4" 50 mm 1.9" 54 mm 2.1" 62 mm 2.4" 38.0 mm 449 dots 50.0 mm 590 dots 53.8 mm 636 dots 62.0 mm 732 dots →2.3.4 →2.3.4 →2.3.4 →2.3.4 35.0 mm 413 dots 46.9 mm 554 dots 50.0 mm 590 dots 58.9 mm 696 dots →2.3.4 →2.3.4 →2.3.4 →2.3.4 1.5 mm 18 dots 1.5 mm 18 dots 1.9 mm 23 dots 1.5 mm 18 dots →2.3.3 →2.3.3 →2.3.3 →2.3.3 - 14 - 2.
Print Data Raster Command Reference 264 38mm 262 50 mm 261 54 mm 259 62 mm 38 mm 1.4" 50 mm 1.9" 54 mm 2.1" 62 mm 2.4" 38.0 mm 449 dots 50.0 mm 590 dots 53.8 mm 636 dots 62.0 mm 732 dots →2.3.4 →2.3.4 →2.3.4 →2.3.4 35.0 mm 413 dots 46.9 mm 554 dots 50.0 mm 590 dots 58.9 mm 696 dots →2.3.4 →2.3.4 →2.3.4 →2.3.4 1.5 mm 18 dots 1.5 mm 18 dots 1.9 mm 23 dots 1.5 mm 18 dots →2.3.3 →2.3.3 →2.3.3 →2.3.3 - 14 - 2.
Raster Command Reference
Page 19
...) 5 Width offset 7 Width offset of masked area 9 Width of masked area 2 Length 4 Print area length 6 Length offset 8 Length offset of masked area 10 Length of masked area ID Label Size 1 2 3 4 5 6 17 mm x 54 mm 269 0.66" x 2.1" 17.0 mm ...
...) 5 Width offset 7 Width offset of masked area 9 Width of masked area 2 Length 4 Print area length 6 Length offset 8 Length offset of masked area 10 Length of masked area ID Label Size 1 2 3 4 5 6 17 mm x 54 mm 269 0.66" x 2.1" 17.0 mm ...
Raster Command Reference
Page 20
Print Data Type Minimum Length Continuous length tape 12.7 mm 150 dots Die-cut labels" of "2.3.2 Page size" is for 300 dpi; it is for 300 ...
Print Data Type Minimum Length Continuous length tape 12.7 mm 150 dots Die-cut labels" of "2.3.2 Page size" is for 300 dpi; it is for 300 ...
Raster Command Reference
Page 21
... MSB LSB 3rdB MSB LSB 4thB ... - 17 - 2. Feeding direction Expansion direction Print area Rasterized RasterLine 4 Zero Raster 1 Zero Raster 1 RasterLine 3 RasterLine 2 RasterLine 1 Feeding direction Print area Print head The following shows the relationship between the raster graphics parameters and the pixels. Raster... Command Reference 2.3.5 Raster line As shown below, the parts with data to be printed are converted with "raster graphics transfer", and the parts with no data are added specified with "zero raster graphics". ...
... MSB LSB 3rdB MSB LSB 4thB ... - 17 - 2. Feeding direction Expansion direction Print area Rasterized RasterLine 4 Zero Raster 1 Zero Raster 1 RasterLine 3 RasterLine 2 RasterLine 1 Feeding direction Print area Print head The following shows the relationship between the raster graphics parameters and the pixels. Raster... Command Reference 2.3.5 Raster line As shown below, the parts with data to be printed are converted with "raster graphics transfer", and the parts with no data are added specified with "zero raster graphics". ...
Raster Command Reference
Page 22
... Raster line First byte Left and right margins Number of print area pins Total number of pins Print area Last byte 0 pin Number of pins for left margin Pins on print head Feeding direction Continuous length tape: Tape Size Number of... 12 mm 585 29 mm 408 38 mm 295 50 mm 154 54 mm 130 62 mm 12 Number of Print Area Pins 106 306 413 554 590 696 Number of Pins for Right Margin 29 6 12 12 0 12... 17mm x 54mm 17mm x 87mm Number of Pins for Left Margin 555 555 Number of Print Area Pins 165 165 Number of Pins for Right Margin 0 0 Number of Bytes for Raster Graphics Transfer 90 90 -...
... Raster line First byte Left and right margins Number of print area pins Total number of pins Print area Last byte 0 pin Number of pins for left margin Pins on print head Feeding direction Continuous length tape: Tape Size Number of... 12 mm 585 29 mm 408 38 mm 295 50 mm 154 54 mm 130 62 mm 12 Number of Print Area Pins 106 306 413 554 590 696 Number of Pins for Right Margin 29 6 12 12 0 12... 17mm x 54mm 17mm x 87mm Number of Pins for Left Margin 555 555 Number of Print Area Pins 165 165 Number of Pins for Right Margin 0 0 Number of Bytes for Raster Graphics Transfer 90 90 -...
Raster Command Reference
Page 23
Print Data Raster Command Reference 23mm x 23mm 442 236 42 90 29mm x 42mm 408 306 6 90 29mm x 90mm 408 306 6 90 38mm x 90mm 295 413 12 90 39mm x 48mm 289 425 6 90 52mm x 29mm 142 578 0 90 54mm x 29mm 59 602 59 90 60mm x 86mm 24 672 24 90 62mm x 29mm 12 696 12 90 62mm x 100mm 12 696 12 90 12mm Dia 513 94 113 90 24mm Dia 442 236 42 90 58mm Dia 51 618 51 90 - 19 - 2.
Print Data Raster Command Reference 23mm x 23mm 442 236 42 90 29mm x 42mm 408 306 6 90 29mm x 90mm 408 306 6 90 38mm x 90mm 295 413 12 90 39mm x 48mm 289 425 6 90 52mm x 29mm 142 578 0 90 54mm x 29mm 59 602 59 90 60mm x 86mm 24 672 24 90 62mm x 29mm 12 696 12 90 62mm x 100mm 12 696 12 90 12mm Dia 513 94 113 90 24mm Dia 442 236 42 90 58mm Dia 51 618 51 90 - 19 - 2.
Raster Command Reference
Page 24
... margin amount (feed amount) Switch dynamic command mode Switch automatic status notification mode Raster graphics transfer (for monochromatic printing) Two-color raster graphics transfer (for two-color printing) Zero raster graphics Print command Print command with feeding Print information command Select compression mode Specify the page number in "cut each * labels" Various mode Expanded mode...
... margin amount (feed amount) Switch dynamic command mode Switch automatic status notification mode Raster graphics transfer (for monochromatic printing) Two-color raster graphics transfer (for two-color printing) Zero raster graphics Print command Print command with feeding Print information command Select compression mode Specify the page number in "cut each * labels" Various mode Expanded mode...
Raster Command Reference
Page 25
...data transmission is to be sent once. For details on transmission of the status, refer to the receiving state, where the print buffer is automatically sent by the printer during printing, do not send this command should be stopped midway, send the "initialize" command after sending the "invalidate" command for the...sent to the printer, a fixed size of bytes to return to "5. For details on these 32 bytes, refer to the printer, this command while printing. Note Before sending print data to the following page. Printing Command Details Since error information is cleared.
...data transmission is to be sent once. For details on transmission of the status, refer to the receiving state, where the print buffer is automatically sent by the printer during printing, do not send this command should be stopped midway, send the "initialize" command after sending the "invalidate" command for the...sent to the printer, a fixed size of bytes to return to "5. For details on these 32 bytes, refer to the printer, this command while printing. Note Before sending print data to the following page. Printing Command Details Since error information is cleared.