Brother International QL-1110NWB Raster Command Reference
Brother International QL-1110NWB Manual
View all Brother International QL-1110NWB manuals
Add to My Manuals
Save this manual to your list of manuals |
Brother International QL-1110NWB manual content summary:
- Brother International QL-1110NWB | Raster Command Reference - Page 1
Software Developer's Manual Raster Command Reference QL-1100/1110NWB/1115NWB Version 1.00 - Brother International QL-1110NWB | Raster Command Reference - Page 2
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 all trademarks or registered trademarks of those respective companies. - Brother International QL-1110NWB | Raster Command Reference - Page 3
documentation ("Documentation") provides information that will assist you in controlling your Printer QL-XXX (where "XXX" is the model name). You may use or alteration of the Documentation or Printer Model will be performed at the sole discretion of Brother. Brother may not respond to any request or - Brother International QL-1110NWB | Raster Command Reference - Page 4
FF Print command 32 Control-Z Print command with feeding 32 ESC i z Print information command 33 M Select compression mode 34 ESC i A Specify the page number in "cut each * labels 35 45 Appendix A: USB Specifications 46 Appendix B: Introducing the Brother Developer Center 47 - i - - Brother International QL-1110NWB | Raster Command Reference - Page 5
Reference Introduction This material provides the necessary information for directly controlling the Brother printer QL-XXX (where "XXX" is the model name). This information is interface. Read the model names that appear in the screens in this manual as the name of your printer. - 1 Introduction - Brother International QL-1110NWB | Raster Command Reference - Page 6
to binary bitmap data (collection of dots). Refer to this material to print by sending initialization commands and control codes together with raster data to the QL-XXX printer (hereafter, referred to as "printer"). This manual describes the procedure for adding these codes and sending the data - Brother International QL-1110NWB | Raster Command Reference - Page 7
flow charts, refer to "5. Flow Charts". For details on each command, 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 - Brother International QL-1110NWB | Raster Command Reference - Page 8
to "Status information request" in "4. Printing Command Details". (3) Send the print data If the status analysis confirms that media compatible with the print data is loaded into the printer and that no error has occurred, the print data is sent. The structure of the print data is explained in the - Brother International QL-1110NWB | Raster Command Reference - Page 9
whether an automatic status notification is 2 status notification given during printing. mode 1Bh, 69h, 21h, 00h 3 Print information command Sets the print information for the printer. For "4.07" × 6.4" (103 mm × 164 mm)" die-cut labels: 1Bh, 69h, 7Ah, 8Eh, 0Bh, 68h, A4h, 1Eh, 07h, 00h - Brother International QL-1110NWB | Raster Command Reference - Page 10
Raster Command Reference 8 Select compression mode Selects the compression mode for raster graphics. To send the data compressed to TIFF format: 4Dh, 02h - 6 2. Print Data - Brother International QL-1110NWB | Raster Command Reference - Page 11
- Zero raster graphics (Valid only when TIFF is selected as the compression mode) 5Ah (Fixed) (4) Print commands Specified at the end of the page. Sequence Command Name - Print command - Print command with feeding Description/Example Specifies at the end of a page that is not the last page - Brother International QL-1110NWB | Raster Command Reference - Page 12
Install the two listed below. ・ Printer driver of the Brother QL-XXX ・ Binary file editor The data that we will analyze in this sample is a binary file. 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 checking - Brother International QL-1110NWB | Raster Command Reference - Page 13
. [Ports] tab of the printer Properties dialog box Step 2: Print the item (in this case, the test page), and then specify the file name. For this sample, print the test page with the default print settings, which were specified immediately after the printer driver was installed. Default settings - Brother International QL-1110NWB | Raster Command Reference - Page 14
that the file name can be specified. (Refer to the illustration below.) After a file name is typed in and the [OK] button is clicked, the printer driver creates the print data and saves it in a file with the specified name. Dialog box for specifying the file name Step 3: Open the - Brother International QL-1110NWB | Raster Command Reference - Page 15
2.2.3 Explanation of print data for the test page The print data for the test page outputted in the previous section is described below. The following illustration shows the print data created in section "2.2.1 Preparation" opened in the binary file editor. Print data - 11 - 2. Print Data - Brother International QL-1110NWB | Raster Command Reference - Page 16
for outputting with the commercial version driver, it is unnecessary for the user to send this command. 6 Print information command Media size information for the print data is sent. This is the command for "4.07" × 6.4" (103 mm × 164 mm)" die-cut labels. 7 Various mode (1Bh+69h+4Dh+00H - Brother International QL-1110NWB | Raster Command Reference - Page 17
Command Reference Height-to-Width Proportion 1:1 1 3 5 6 Feeding direction 6 5 1 3 2 4 Print area Print area 2 4 Feeding direction Landscape Number 1 Width 3 Print area width (maximum printing width) 5 Width offset Portrait 2 Length 4 Print area length 6 Length offset ID Tape Size - Brother International QL-1110NWB | Raster Command Reference - Page 18
→2.3.4 1.9 mm 23 dots →2.3.3 58.9 mm 696 dots →2.3.4 1.5 mm 18 dots →2.3.3 98.6 mm 1164 dots →2.3.4 1.5 mm 18 dots →2.3.3 101.6 mm 1200 dots →2.3.4 1.0 mm 12 dots →2.3.3 ※ The QL-1115NWB does not support this tape size. - 14 - 2. Print Data - Brother International QL-1110NWB | Raster Command Reference - Page 19
width) 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 201 dots 53.9 mm 636 dots 14.0 mm 165 dots - Brother International QL-1110NWB | Raster Command Reference - Page 20
53.9 mm 636 dots 14.0 mm 165 dots 47.9 mm 566 dots ※ The QL-1115NWB does not support this label size. * Margins of 3 mm (1.5 mm × 2) horizontally and 3 mm (1.5 35 dots 127 mm 5" 1500 dots Die-cut labels The length offset indicated in "(b) Die-cut labels" of "2.3.2 Page size" is used. However - Brother International QL-1110NWB | Raster Command Reference - Page 21
2.3.4 Maximum and minimum lengths The maximum and minimum lengths are defined below. Type Minimum Length Continuous length tape 25.4 mm 301 dots Die-cut labels Fixed Raster Command Reference Maximum Length 3000 mm 35434 dots Fixed - 17 - 2. Print Data - Brother International QL-1110NWB | Raster Command Reference - Page 22
mode" at the beginning and the end. 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 - Brother International QL-1110NWB | Raster Command Reference - Page 23
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 54 mm 662 62 mm 544 102 mm 76 103 mm※ 58 Number of Print Area Pins Number of Pins for Right Margin Number of Bytes for Raster Graphics - Brother International QL-1110NWB | Raster Command Reference - Page 24
1087 975 940 940 827 821 674 556 554 554 76 76 58 1046 975 584 Number of Print Area Pins Number of Pins for Right Margin Number of Bytes for Raster Graphics Transfer 165 44 162 94 156 162 236 85 162 618 94 162 ※ The QL-1115NWB does not support this label size. - 20 - 2. Print Data - Brother International QL-1110NWB | Raster Command Reference - Page 25
(feed amount) Switch dynamic command mode Switch automatic status notification mode Raster graphics transfer 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 - 21 - Brother International QL-1110NWB | Raster Command Reference - Page 26
32 bytes, refer to the following page. Note Before sending print data to the printer, this command should be sent once. Since error information is automatically sent by the printer during printing, do not send this command while printing. For details on transmission of the status, refer to "5. Flow - Brother International QL-1110NWB | Raster Command Reference - Page 27
Number Offset 1 0 2 1 3 2 4 3 Size 1 1 1 1 Name Print head mark Size Reserved Series code 5 4 1 Model code 6 5 1 Reserved 7 6 1 Fixed at 20h Fixed at "B" (42h) Fixed at "4" (34h) QL-1100 "C" (43h) QL-1110NWB "D" (44h) QL-1115NWB "E" (45h) Fixed at "0" (30h) Fixed at "00h" - Brother International QL-1110NWB | Raster Command Reference - Page 28
10h 20h 40h 80h Definition "No media" error (Not used) Cutter jam (Not used) (Not used) Printer turned off High-voltage adapter (not used) Fan motor error (not used) Definition "Replace media" error " be fed (also when the media end is detected) System error - 24 - 4. Printing Command Details - Brother International QL-1110NWB | Raster Command Reference - Page 29
38 50 mm 50 54 mm 54 62 mm 62 90 mm 90 102 mm 102 103 mm 104 (b) Die-cut labels * Media Width: The width of the die-cut section is indicated. * Media Length: The length of the die 0 0 0 0 Media Length 54 87 23 42 90 90 48 29 87 29 100 51 152 164 12 - 25 - 4. Printing Command Details - Brother International QL-1110NWB | Raster Command Reference - Page 30
24 mm Dia 24 58 mm Dia 58 Raster Command Reference 24 58 - 26 - 4. Printing Command Details - Brother International QL-1110NWB | Raster Command Reference - Page 31
(4) Media type Media Type No media Continuous length tape Die-cut labels Value 00h 0Ah 0Bh Description Used as print information when the media type is not indicated. Used for both paper and film. Used for both paper and film. (5) Status type Status Type Value Reply to status request - Brother International QL-1110NWB | Raster Command Reference - Page 32
waiting to receive) to the computer. Unless an error occurs during printing, the printer sends the "printing completed" status. With concurrent printing, printing starts even if a print command has not been sent from the computer in order to print at high speed. At this time, care should be taken - Brother International QL-1110NWB | Raster Command Reference - Page 33
margins. Margin amount (dots)=n1+n2*256 With die-cut labels, the margin amount at the ends of the printed area is 0. (a) Continuous length tape Paper Tape Print area (b) Die-cut labels Margin amount Cut line Paper Label Print area Margin amount (only "0" is available) Cut line - 29 - Brother International QL-1110NWB | Raster Command Reference - Page 34
modes. A printer that receives this command operates in the specified command mode until the printer is turned off. The printer must be switched to raster mode before raster data is sent to it. Therefore, send this command to switch the printer to raster mode. - 30 - 4. Printing Command Details - Brother International QL-1110NWB | Raster Command Reference - Page 35
status notification is given during printing. A printer that receives this command operates in the specified command mode until the printer is turned off. Use : 5A Description Fills raster line with 0 data. * The QL-800 does not support this command. - 31 - 4. Printing Command Details - Brother International QL-1110NWB | Raster Command Reference - Page 36
ASCII: FF Hexadecimal: 0C Description Used as a print command at the end of pages other than the last page when multiple pages are printed. Control-Z Print command with feeding ASCII: Control-Z Hexadecimal: 1A Description Used as a print command at the end of the last page. - 32 - Brother International QL-1110NWB | Raster Command Reference - Page 37
which values are valid 0x02: Media type 0x04: Media width 0x08: Media length 0x40: Priority given to print quality 0x80: Printer recovery always on {n2}: Media type Continuous length tape: 0Ah Die-cut labels: 0Bh {n3}: {n4}: {n3}: Media width (mm) {n4}: Media length (mm) For the media of width - Brother International QL-1110NWB | Raster Command Reference - Page 38
22 2B Continue for the remaining number of bytes for the uncompressed data. Even if 00h continues until the end, it cannot be omitted. - 34 - 4. Printing Command Details - Brother International QL-1110NWB | Raster Command Reference - Page 39
this becomes 162 bytes when it is expanded by the printer, regardless of the tape width. Raster line with compression print area pins Total number of pins Print area Number of unused pins Last byte Pins on print head Feeding direction ESC i A Specify the page number in "cut each * labels - Brother International QL-1110NWB | Raster Command Reference - Page 40
below. 1~3bit: Not used 4bit: Cut at end 1:Cut at end (default) 0:Not cut at end 5,6bit: Not used 7bit: High resolution printing 1: It prints at 600 dpi in the paper length direction 0: It prints at 300 dpi in the paper length direction.(default) 8bit: Not used Raster Command Reference - 36 - Brother International QL-1110NWB | Raster Command Reference - Page 41
there are no problems with the printer status (media, etc.), the data is READ transmitted. If there is a problem, an error printing READ Phase change "Printing" received. "Printing completed" received. Finishing process for printing page 1 Sending data for page 2 Sending a print command (print - Brother International QL-1110NWB | Raster Command Reference - Page 42
(when feeding at the end of the page) Computer (host) If there are no problems with the printer status (media, etc.), the data is READ transmitted. If there is a problem, an error appears. Displaying sending Initialize Status information request Status (response to status information - Brother International QL-1110NWB | Raster Command Reference - Page 43
5.3 Error flow for USB connection (with a concurrent printing error such as end of tape) Computer (host) Printer If there are no problems with the printer status (media, etc.), the data is transmitted. If there is a problem, an error appears. READ Displaying sending Initialize Status - Brother International QL-1110NWB | Raster Command Reference - Page 44
Raster Command Reference 5.4 Cooling flow for USB connection Computer (host) If there are no problems with the printer status (media, etc.), the READ data is transmitted. If there is a problem, an error appears. Displaying sending Initialize Status information request Status (response to status - Brother International QL-1110NWB | Raster Command Reference - Page 45
rate New baud rate Specify baud rate "Specify baud rate completed" status (normal status) Status information request Status (response to status information request) Printer * The request/response at the new baud rate are simply to verify that communication is possible and may be omitted. - 41 - Brother International QL-1110NWB | Raster Command Reference - Page 46
Raster Command Reference 5.6 Normal flow for serial connection Computer (host) Printer If there are no problems with the printer status (media, etc.), the data is READ transmitted. If there is a problem, an error appears. Displaying sending Initialize Status information request Status ( - Brother International QL-1110NWB | Raster Command Reference - Page 47
a problem, an error appears. Initialize Status information request Status (response to status information request) or an error is displayed Printer The printer is Initialized. The status of the printer (media, etc.) is checked and a response is sent. Displaying sending Displaying printing READ - Brother International QL-1110NWB | Raster Command Reference - Page 48
. If there is a problem, an error appears. Initialize Status information request Status (response to status information request) Printer The printer is initialized. Status (response to status request) Displaying sending Displaying printing Phase change "Printing" received. READ Sending - Brother International QL-1110NWB | Raster Command Reference - Page 49
data As one page data receives in the printer buffer, start printing Printing 1st page Printer buffer is full BUSY At host side, as sending print data has completed, the print job data is erased. The print job is treated to be completion at printer side Sending raster data Sending raster data - Brother International QL-1110NWB | Raster Command Reference - Page 50
Description 0x04F9 QL-1100 : 0x20a7 QL-1110NWB : 0x20a8 QL-1115NWB : 0x20ab Printer Character string descriptor: 0x01 0x0409: "Brother" Character from the printer to the computer.) Maximum packet size: 64 bytes Out bulk (Sends print commands and data from the computer to the printer.) Maximum packet - Brother International QL-1110NWB | Raster Command Reference - Page 51
Reference Appendix B: 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 - 47 Appendix B: Introducing the Brother Developer Center - Brother International QL-1110NWB | Raster Command Reference - Page 52
Software Developer's Manual
Raster Command Reference
QL-1100/1110NWB/1115NWB
Version 1.00