Raster Command Reference
Page 4
...Resolution ...13 2.3.2 Page size...13 2.3.3 Feed amount ...16 2.3.4 Maximum and minimum lengths 16 2.3.5 Raster line ...17 3. i - Print Command List 20 4. Printing Command Details 21 NULL Invalidate 21 ESC i S Status information request 21 ESC @ Initialize...27 ESC i d Specify margin amount (... Zero raster graphics 30 FF Print command 30 Control-Z Print command with a concurrent printing error such as end of print data for Network (Standard TCP/IP port) Connection 43 Appendix A: USB Specifications 44 Appendix B: Introducing the Brother Developer Center 45 - Raster ...
...Resolution ...13 2.3.2 Page size...13 2.3.3 Feed amount ...16 2.3.4 Maximum and minimum lengths 16 2.3.5 Raster line ...17 3. i - Print Command List 20 4. Printing Command Details 21 NULL Invalidate 21 ESC i S Status information request 21 ESC @ Initialize...27 ESC i d Specify margin amount (... Zero raster graphics 30 FF Print command 30 Control-Z Print command with a concurrent printing error such as end of print data for Network (Standard TCP/IP port) Connection 43 Appendix A: USB Specifications 44 Appendix B: Introducing the Brother Developer Center 45 - Raster ...
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
Printing Using Raster Commands For details on each command, refer to "5. Flow Charts". Raster Command Reference 1. Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 1. For detailed flow charts, refer to "4. 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.
Printing Using Raster Commands For details on each command, refer to "5. Flow Charts". Raster Command Reference 1. Printing Using Raster Commands The printing procedure is completed.) Your printer (6) Close the port (4) Print - 3 1. For detailed flow charts, refer to "4. 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
Page 8
...No command can be sent during printing. (4) Print the data (5) Confirm that printing is completed When printing is completed, the status is determined. 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 the ...printer after the print data is considered finished. For the processing flow, for opening the USB/serial/network port is not described in the next section, "2....
...No command can be sent during printing. (4) Print the data (5) Confirm that printing is completed When printing is completed, the status is determined. 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 the ...printer after the print data is considered finished. For the processing flow, for opening the USB/serial/network port is not described in the next section, "2....
Raster Command Reference
Page 9
...raster mode. 1Bh, 69h, 61h, 01h Switch automatic Dynamically switches whether an automatic status notification is constructed of the job. Print Data For 3 mm margins: 1Bh, 69h , 64h, 23h, 00h 8 Select compression Selects the compression mode for auto cut... of the following: (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Print Data 2.1 Print data overview The print data is 2 status notification given during printing. If the print job consists of multiple pages, (2) through (4) are repeated. (1) Initialization commands Specified only ...
...raster mode. 1Bh, 69h, 61h, 01h Switch automatic Dynamically switches whether an automatic status notification is constructed of the job. Print Data For 3 mm margins: 1Bh, 69h , 64h, 23h, 00h 8 Select compression Selects the compression mode for auto cut... of the following: (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Print Data 2.1 Print data overview The print data is 2 status notification given during printing. If the print job consists of multiple pages, (2) through (4) are repeated. (1) Initialization commands Specified only ...
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
... at the end of a page that is selected as commands. - Print Data Raster graphics transfer Sends image data as the compression mode) 5Ah (Fixed) (4) Print commands Specified at the end of the page. Sends image data for red-black printing. Sequence Command Name - Print command - Zero raster graphics (Valid only when TIFF is not... data as commands for 1 blank line as a compression command. - Sequence Command Name Description/Example - Raster Command Reference (3) Raster data Repeated for each page in the print job.
... at the end of a page that is selected as commands. - Print Data Raster graphics transfer Sends image data as the compression mode) 5Ah (Fixed) (4) Print commands Specified at the end of the page. Sends image data for red-black printing. Sequence Command Name - Print command - Zero raster graphics (Valid only when TIFF is not... data as commands for 1 blank line as a compression command. - Sequence Command Name Description/Example - Raster Command Reference (3) Raster data Repeated for each page in the print job.
Raster Command Reference
Page 12
... by the printer driver, descriptions of the commands introduced in this sample is clicked to print the test page. Furthermore, this procedure is provided below . ・ Printer driver of the Brother QL-XXX ・ Binary file editor The data that we will analyze in the previous chapter... are using a different operating system. Therefore, use a binary file editor to display and check the contents of the binary file. 2.2.2 Checking the print data The procedure for...
... by the printer driver, descriptions of the commands introduced in this sample is clicked to print the test page. Furthermore, this procedure is provided below . ・ Printer driver of the Brother QL-XXX ・ Binary file editor The data that we will analyze in the previous chapter... are using a different operating system. Therefore, use a binary file editor to display and check the contents of the binary file. 2.2.2 Checking the print data The procedure for...
Raster Command Reference
Page 13
...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. Default settings immediately after... installed. Raster Command Reference Step 1: Change the port of the printer driver - 9 - 2. For this case, the test page), and then specify the file name. Print Data Open the Printers and Faxes folder, and then right-click the printer to "FILE:".
...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. Default settings immediately after... installed. Raster Command Reference Step 1: Change the port of the printer driver - 9 - 2. For this case, the test page), and then specify the file name. Print Data Open the Printers and Faxes folder, and then right-click the printer to "FILE:".
Raster Command Reference
Page 14
... 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. Open the saved file in the binary file editor. Print Data 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 When the test page is printed with the printer, a dialog box appears so that appear are the...
... 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. Open the saved file in the binary file editor. Print Data 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 When the test page is printed with the printer, a dialog box appears so that appear are the...
Raster Command Reference
Page 15
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. 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
Page 16
...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 is sent at end" is specified. 10 Specify margin amount... a margin amount of 0. 11 Select compression mode TIFF compression mode is selected. 12 Raster data Raster data continues. 13 Print command with the commercial version driver, it is unnecessary for the user to send this command before automatically cutting is specified. ...
...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 is sent at end" is specified. 10 Specify margin amount... a margin amount of 0. 11 Select compression mode TIFF compression mode is selected. 12 Raster data Raster data continues. 13 Print command with the commercial version driver, it is unnecessary for the user to send this command before automatically cutting is specified. ...
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
... Setting Continuous length tape 3 mm 0.12" 35 dots 127 mm 5" 1500 dots Die-cut labels The length offset indicated in the high-resolution mode. - 16 - 2. Print Data However, set "0" as the value of the "specify margin amount" command. *1 The number of dots in the table is difference in the high-resolution...
... Setting Continuous length tape 3 mm 0.12" 35 dots 127 mm 5" 1500 dots Die-cut labels The length offset indicated in the high-resolution mode. - 16 - 2. Print Data However, set "0" as the value of the "specify margin amount" command. *1 The number of dots in the table is difference in the high-resolution...
Raster Command Reference
Page 21
... 4thB ... - 17 - 2. 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...". 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 ...
... 4thB ... - 17 - 2. 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...". 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 ...
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
Print Command List Print Command List ASCII Code NULL ESC i S ESC @ ESC i d ESC i a ESC i ! Binary Code 00 1B 69 53 1B 40 1B 69 64 1B 69 61 1B ... 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...
Print Command List Print Command List ASCII Code NULL ESC i S ESC @ ESC i d ESC i a ESC i ! Binary Code 00 1B 69 53 1B 40 1B 69 64 1B 69 61 1B ... 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
...ESC i S Hexadecimal: 1B 69 53 Description When a status information request is sent to the printer, this command while printing. Printing Command Details Printing Command Details NULL Invalidate ASCII: NULL Hexadecimal: 00 Description Skipped If data transmission is to "5. Since error ...information 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...
...ESC i S Hexadecimal: 1B 69 53 Description When a status information request is sent to the printer, this command while printing. Printing Command Details Printing Command Details NULL Invalidate ASCII: NULL Hexadecimal: 00 Description Skipped If data transmission is to "5. Since error ...information 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...