Raster Command Reference
Page 4
... of the test page 8 2.2.1 Preparation ...8 2.2.2 Checking the print data 8 2.2.3 Explanation of print data for Network (Standard TCP/IP port) Connection 43 Appendix A: USB Specifications 44 Appendix B: Introducing the Brother Developer Center 45 - Switch automatic status notification mode 29 g... Raster graphics transfer 29 w Two-color raster graphics transfer 29 Z Zero raster graphics 30 FF Print command 30 Control-Z Print command with a concurrent printing error such as ...
... of the test page 8 2.2.1 Preparation ...8 2.2.2 Checking the print data 8 2.2.3 Explanation of print data for Network (Standard TCP/IP port) Connection 43 Appendix A: USB Specifications 44 Appendix B: Introducing the Brother Developer Center 45 - Switch automatic status notification mode 29 g... Raster graphics transfer 29 w Two-color raster graphics transfer 29 Z Zero raster graphics 30 FF Print command 30 Control-Z Print command with a concurrent printing error such as ...
Raster Command Reference
Page 6
... (where "XXX" 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").
... (where "XXX" 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").
Raster Command Reference
Page 7
Flow Charts". Printing Using Raster Commands For detailed flow charts, refer to "4. Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 1. For details on each command, refer to "5. 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.
Flow Charts". Printing Using Raster Commands For detailed flow charts, refer to "4. Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 1. For details on each command, refer to "5. 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.
Raster Command Reference
Page 8
... then the status of the printer is used to send uncompressed raster data, the Brother QL-XXX starts printing when it starts to receive print data, instead of "status", refer to "5. Flow Charts". - 4 1. The structure of printing is considered finished. If the print job has multiple pages, (2) through (4) are repeated. (6) Close the USB/serial/network port...
... then the status of the printer is used to send uncompressed raster data, the Brother QL-XXX starts printing when it starts to receive print data, instead of "status", refer to "5. Flow Charts". - 4 1. The structure of printing is considered finished. If the print job has multiple pages, (2) through (4) are repeated. (6) Close the USB/serial/network port...
Raster Command Reference
Page 9
... (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Sequence Command Name Description/Example 1 Switch dynamic command mode Switches to the receiving state. 2 Initialize Initializes for printing. 1Bh, 40h (Fixed) (2) Control codes Added at the beginning of... the margins. mode 1Bh, 69h, 21h, 00h 3 Print information command Sets the print information for raster graphics. - 5 2. Print Data 2.1 Print data overview The print data is 2 status notification given during printing. For 3 mm margins: 1Bh, 69h , 64h, 23h, 00h ...
... (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Sequence Command Name Description/Example 1 Switch dynamic command mode Switches to the receiving state. 2 Initialize Initializes for printing. 1Bh, 40h (Fixed) (2) Control codes Added at the beginning of... the margins. mode 1Bh, 69h, 21h, 00h 3 Print information command Sets the print information for raster graphics. - 5 2. Print Data 2.1 Print data overview The print data is 2 status notification given during printing. For 3 mm margins: 1Bh, 69h , 64h, 23h, 00h ...
Raster Command Reference
Page 10
Print Data 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.
Raster Command Reference
Page 11
.... 1Ah (Fixed) - 7 2. Sequence Command Name Description/Example - Print command with feeding Description/Example Specifies at the end of a page that is selected as the compression mode) 5Ah (Fixed) (4) Print commands Specified at the end of the page. Two-color raster graphics... transfer Sends image data as commands for 1 blank line as commands. - Print command - Sends image data for red-black printing. Print Data Sequence Command Name - Raster graphics transfer Sends image data as a compression command. - Raster Command Reference ...
.... 1Ah (Fixed) - 7 2. Sequence Command Name Description/Example - Print command with feeding Description/Example Specifies at the end of a page that is selected as the compression mode) 5Ah (Fixed) (4) Print commands Specified at the end of the page. Two-color raster graphics... transfer Sends image data as commands for 1 blank line as commands. - Print command - Sends image data for red-black printing. Print Data Sequence Command Name - Raster graphics transfer Sends image data as a compression command. - Raster Command Reference ...
Raster Command Reference
Page 12
...Page] button in this sample is for checking the print data is provided below . ・ Printer driver of the Brother QL-XXX ・ Binary file editor The data that we will analyze in the printer Properties dialog box is clicked to print the test page. Printer Properties Test page 2.2.1 ...Preparation Install the two listed below . Step 1: Change the port of the commands introduced in the previous chapter are using a different operating system. Step 2: Print the desired item (in the binary file editor to check it. - 8 2. Step 3: Open the created file in this case, the test page), ...
...Page] button in this sample is for checking the print data is provided below . ・ Printer driver of the Brother QL-XXX ・ Binary file editor The data that we will analyze in the printer Properties dialog box is clicked to print the test page. Printer Properties Test page 2.2.1 ...Preparation Install the two listed below . Step 1: Change the port of the commands introduced in the previous chapter are using a different operating system. Step 2: Print the desired item (in the binary file editor to check it. - 8 2. Step 3: Open the created file in this case, the test page), ...
Raster Command Reference
Page 13
..., and then right-click the printer to "FILE:". Default settings immediately after installation 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 the printer driver was installed. In the Properties dialog box, click the [Ports...
..., and then right-click the printer to "FILE:". Default settings immediately after installation 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 the printer driver was installed. In the Properties dialog box, click the [Ports...
Raster Command Reference
Page 14
... test page". (1) Initialization commands (2) Control codes (3) Raster data (4) Print commands Print data - 10 - 2. The rows of numbers that appear are the print data. (Refer to the illustration below.) The print data is clicked, the printer driver creates the print data and saves it in a file with the printer, a dialog ...below.) After a file name is typed in and the [OK] button is constructed of print data for specifying the file name Step 3: Open the print data in the binary file editor. Print Data Open the saved file in the binary file editor. Raster Command Reference When the ...
... test page". (1) Initialization commands (2) Control codes (3) Raster data (4) Print commands Print data - 10 - 2. The rows of numbers that appear are the print data. (Refer to the illustration below.) The print data is clicked, the printer driver creates the print data and saves it in a file with the printer, a dialog ...below.) After a file name is typed in and the [OK] button is constructed of print data for specifying the file name Step 3: Open the print data in the binary file editor. Print Data Open the saved file in the binary file editor. Raster Command Reference When the ...
Raster Command Reference
Page 15
The following illustration shows the print data created in section "2.2.1 Preparation" opened in the previous section is described below. Print Data 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.
The following illustration shows the print data created in section "2.2.1 Preparation" opened in the previous section is described below. Print Data 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. Switch automatic 4 status notification 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 This is the command for the...
... mode. Switch automatic 4 status notification 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 This is the command for the...
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 ... mm 382 2.1" x 1.1" 54.0 mm 638 dots 28.9 mm 341 dots 51.0 mm 602 dots 22.9 mm 271 dots 1.5 mm 18 dots 3.0 mm 35 dots - 15 - 2. Print Data
...) 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 ... mm 382 2.1" x 1.1" 54.0 mm 638 dots 28.9 mm 341 dots 51.0 mm 602 dots 22.9 mm 271 dots 1.5 mm 18 dots 3.0 mm 35 dots - 15 - 2. Print Data
Raster Command Reference
Page 20
...-resolution mode. - 16 - 2. However, set "0" as the value of the "specify margin amount" command. *1 The number of dots in the table is for 300 dpi; Print Data Type Minimum Margin Setting Maximum Margin Setting Continuous length tape 3 mm 0.12" 35 dots 127 mm 5" 1500 dots Die-cut labels The length offset...
...-resolution mode. - 16 - 2. However, set "0" as the value of the "specify margin amount" command. *1 The number of dots in the table is for 300 dpi; Print Data Type Minimum Margin Setting Maximum Margin Setting Continuous length tape 3 mm 0.12" 35 dots 127 mm 5" 1500 dots Die-cut labels The length offset...
Raster Command Reference
Page 21
... and the end. MSB LSB 1stB MSB LSB 2ndB MSB LSB 3rdB MSB LSB 4thB ... - 17 - 2. Print Data 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...
... and the end. MSB LSB 1stB MSB LSB 2ndB MSB LSB 3rdB MSB LSB 4thB ... - 17 - 2. Print Data 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...
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...Label Size 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...Label Size 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
... i S Hexadecimal: 1B 69 53 Description When a status information request is to be sent once. Flow Charts". - 21 - 4. Printing Command Details NULL Invalidate ASCII: NULL Hexadecimal: 00 Description Skipped If data transmission is sent to the following page. For details on...the printer, a fixed size of 32 bytes is cleared. Note Before sending print data to the printer, this command while printing. Since error information is automatically sent by the printer during printing, do not send this command should be stopped midway, send the "initialize"...
... i S Hexadecimal: 1B 69 53 Description When a status information request is to be sent once. Flow Charts". - 21 - 4. Printing Command Details NULL Invalidate ASCII: NULL Hexadecimal: 00 Description Skipped If data transmission is sent to the following page. For details on...the printer, a fixed size of 32 bytes is cleared. Note Before sending print data to the printer, this command while printing. Since error information is automatically sent by the printer during printing, do not send this command should be stopped midway, send the "initialize"...