Brother QL-700 User Manual

Copyright (c) 2011 Brother Industries, Ltd.

Brother QL Series

Command Reference

(QL-500/550/560/570/580N/

650TD/700/1050/1060N)

October 3, 2011 Version 6.0

Software Application Development Dept.

1.INTRODUCTION............................................................................................................................................. 2
2.OVERVIEW .....................................................................................................................................................
3
3.PRINT DATA...................................................................................................................................................
3.1.PRINT DATA OVERVIEW ................................................................................................................................
3.2.PAGE DATA DETAILS ....................................................................................................................................
4.STATUS ........................................................................................................................................................
4.1. OVERVIEW ...............................................................................................................................................
4.2. DEFINITIONS OF EACH PART ......................................................................................................................
5.COMMAND DETAILS...................................................................................................................................
6.FLOW CHARTS............................................................................................................................................
6.1. SEQUENTIAL NORMAL FLOW FOR USB CONNECTION..................................................................................
4
4 5
12
12 14
18
24
25
6.2. SEQUENTIAL ERROR FLOW FOR USB CONNECTION (ERROR WHEN FEEDING AT THE END OF THE PAGE, FOR
EXAMPLE
, BECAUSE OF A TAPE CUTTER JAM).....................................................................................................
26
6.3. SEQUENTIAL ERROR FLOW FOR USB CONNECTION (ERROR DURING CONTINUOUS PRINTING, FOR EXAMPLE,
BECAUSE THERE IS NO MORE TAPE
)..................................................................................................................
6.4. SEQUENTIAL COOLING FLOW FOR USB CONNECTION.................................................................................
27 28
6.5. FLOW FOR SETTING SERIAL CONNECTION BAUD RATE ...............................................................................
6.6. BUFFERING NORMAL FLOW FOR SERIAL/USB CONNECTION .......................................................................
6.7. BUFFERING ERROR FLOW FOR SERIAL/USB CONNECTION .........................................................................
6.8. BUFFERING COOLING FLOW FOR SERIAL/USB CONNECTION ......................................................................
6.9. BUFFERING NORMAL FLOW FOR NETWORK (STANDARD TCP/IP / LPR PORT) CONNECTION ........................
7.USB SPECIFICATIONS................................................................................................................................
29 30 31 32 33
3
4
Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
1

1.Introduction

This material provides the necessary information for directly controlling the Brother QL-500/550/560/ 570/580N/650TD/700/1050/1060N. This information is provided assuming that the user has full understanding of the operating system being used and basic mastery of USB in a developer’s environment.
Details concerning the USB interface are not described in this material. If a USB interface is being us
ed, refer to “7. USB Specifications
” to prepare the interface.
We accept no responsibility for any problems caused information provided in this material, affecting software, data or hardware, including the Brother QL-500/ 550/560/570/580N/650TD/700/1050/1060N, and any problems resulting directly or indirectly from them. These materials are provided in their current condition, and we assume no responsibility for their content. Use this material only if you accept these terms.

This material shall not be reproduced, in part or in full, without prior approval. In addition, this material shall not be used as evidence in a lawsuit or dispute in a way that is unfavorable towards our company.

by programs that you develop using the
Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
2

2.Overview

The printing procedure is described below. For details on each command, refer to “5.Command Details”. By using the machine’s button (E/EL), QL-700 can be the mass storage class. These materials assume that the machine is operating in the printer class.
Open USB/Serial/Network port
Open the USB/Serial/Network port in the operating USB/Serial/Network port is not described in this material. The serial port can only be used with the QL-580N/650TD/1050/1060N. The network port can only be used with the QL-580N/1060N.
Check machine status
The “Status information request” command is sent to the printer, the status information received from the printer is analyzed, and then the status of the printer is determined. information request” command and on the definition of “status”, refer to “Status information request” in “5.
Command Details
Send print data
If the status analysis concludes that a tape cassette
”.
switched between operating in the printer class and
environment. The procedure for opening the
For details on the “Status
corresponding to 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 next section, “3. Print Data
Note: No com of printing is confirmed. Even the “Status information request” command cannot be sent during printing.
Confirmation of printing completion
is completed, one page is printed. If the print job has multiple pages, through are
Close USB/Serial/Network port
Note: In
order to print at high speed when the USB port is used, the Brother QL starts printing when it
starts to receive print data, instead of waiting for a print command. For the processing flow, for
mand can be sent to the printer after the print data is transmitted and until the completion
When printing is completed, the status is sent from the printer. This status is analyzed and, if printing

After all printing is finished, close the USB/Serial/Network port.

”.
repeated.
example when managing errors, refer to “6. Flow Charts

(If the printing data is compressed in Command “4D H + 02 H” for QL-580N/650TD/1050/1060N, the printer starts printing after a print command.)

Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
”.
3

3.Print Data

3.1.Print data overview The print data is constructed of the following: Initialize, Job command. If the print job consists of multiple pages, through are repeated

Initialize

- Initialize Clears the mode settings. 1B H, 40 H

Job
data

Added at the beginning of each page and feeds each page.

Sequence Command Name Description/Example 1 Command mode switch Only used with QL-580N/650TD/1050/1060N.

Switches to raster mode 1B H, 69 H, 61 H, 01 H
2 Print information
command
Sets the print information for the printer. For the starting page of die-cut labels (29 mm × 90 mm) with priority given to print speed: 1BH, 69H, 7AH, 0EH, 0BH, 1DH, 5AH, DFH, 03H,
data, ③ Page data, and Print

00H, 00H, 00H, 00H

3 Set each mode To select “Auto Cut”(except QL-500):

1B H, 69 H, 4D H, 40 H

4
5
6
7
Specify the page number in ”cut every labels”

Set expanded mode Only used with QL-570/580N/650TD/700/1050/1060N.

Set margin amount For 3 mm margins:

Compression mode select
ion
Only used with QL-570/580N/700/1050/1060N. When an auto cut setting is effective, specify the number
*
of sheets for auto cut. For each sheets, 1B H, 69 H, 41 H, 01 H

To set “Cut at end flag” 1B H, 69 H, 4B H, 08 H

1B H, 69 H, 64 H, 23 H, 00 H Only used with QL-580N/650TD/1050/1060N For QL-650TD, data can only be compressed when the serial port is used.

Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
4
Page
data

Repeat for each page in the print job.

Sequence Command Name Description/Example

Raster graphics transfer Sends a raster line that contains data with a pixel set to

“ON”. For a single perpendicular line on 62-mm-wide continuous length tape: 67H, 00H, 5AH, 00H, 0FH, FFH (repeat for 86 bytes), F0H, 00H (QL-500/550/560/570/580N/650TD) 67H, 00H, 5AH, 00H, 0FH, FFH (repeat for 168 bytes), F0H, 00H (QL-1050/1060N)
Print
command

Specified at the end of the page.

Sequence Command Name Description/Example

3.2.Page data details

3.2.1. Resolution

300 dpi high, 300 dpi wide 1:1 600 dpi high, 300 dpi wide 2:1

Print command Specified at the end of a page that is not the last page.

0C H

Print command with
Specified at the end of the last page.
1A H
feeding

Resolution Height-to-Width

Proportion
Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
5

3.2.2. Page size A.Continuous length tape

1
3
5
5
1
3
Number
Feeding direction
6
2
4
Print area
Feeding direction
Landscape
Page size
Portrait
1 Width 2 Length

3 Print area width (maximum printing width) 4 Print area length 5 Width offset 6 Length offset

6
2
4
ID
257 12mm 12mm
258 29mm 29mm
264 38mm 38mm
262 50mm 50mm
261 54mm 54mm
259 62mm 62mm
260 102mm 102mm
Label Siz
e

Designation

1/2” (0.47”)

1-1/7”(1.1”)

1-1/7”(1.4”)

2” (1.9”)

2-1/8” (2.1”)

2-3/7”(2.4”)

4” (4”)

12.02 mm 142 dots

28.96mm 342 dots

38.0mm 449 dots

50.0 mm 590 dots

53.8mm 636 dots

61.98mm 732 dots

101.6mm 1200 dots

3.2.4 8.97 mm

3.2.4 25.91 mm

3.2.4 35.0 mm

3.2.4 46.9 mm

3.2.4. 50.0mm

3.2.4 58.93mm

3.2.4 98.59 mm

102mm continuous tape is only for QL-1050/1060N

Inch measurements are indicated as decimals with QL-700 and as fractions with all models
other than QL-700.

106 dots

306 dots

413 dots

554 dots

590 dots

696 dots

1164 dots

3.2.4 1.5 mm

18 dots

3.2.4 1.5 mm

18 dots

3.2.4 1.5 mm

18 dots

3.2.4 1.5 mm

18 dots

3.2.4. 1.9mm

23 dots

3.2.4 1.5 mm

18 dots

3.2.4 1.5 mm

18 dots

3.2.3

3.2.3

3.2.3

3.2.3

3.2.3.

3.2.3

3.2.3

Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
6

B. Die-cut labels

1
6
5
3
Print area
5
6
4
2
4
2
Print
area
1
3
8
10
7
9
Number
1 Width 2 Length

3 Print area width (maximum printing width) 4 Print area length 5 Width offset 6 Length offset 7 Width offset of masked area 8 Length offset of masked area

9 Width of masked area 10 Length of masked area ID Designation 269 17mm x 54mm

2/3” x 2-1/8”

17.02mm 201 dots
53.85mm 636 dots

(0.66” x 2.1”)

270 17mm x 87mm

2/3” x 3-7/16”

17.02mm 201 dots
86.87mm 1026 dots

(0.66” x 3.4”)

370 23mm x 23mm

10/11” x 10/11”

23.03mm 272 dots
23.03mm 272 dots

(0.9” x 0.9”)

271 29mm x 90mm

1-1/7” x 3-1/2”

28.96mm 342 dots
89.83mm 1061 dots

(1.1” x 3.5”)

272 38mm x 90mm

1-1/2” x 3-1/2”

38.01mm 449 dots
89.83mm 1061 dots

(1.4” x 3.5”)

367 39mm x 48mm

1-1/2” x 1-8/9”

39.01mm 461 dots
47.8mm 565 dots

(1.5” x 1.8”)

374 52mm x 29mm

2” x 1-1/7”

52.0mm 614 dots
28.9mm 341 dots

(2” x 1.1”)

274 62mm x 29mm

2-3/7” x 1-1/7”

61.98mm 732 dots
28.87mm 341 dots

(2.4” x 1.1”)

*1 *1 *1
13.97mm 165 dots
13.97mm 165 dots
19.99mm 236 dots
25.91mm 306 dots
34.97mm 413 dots
36.0mm 425 dots
48.9.mm 578 dots
58.93mm 696 dots
47.92mm 566 dots
80.94mm 956 dots
17.10mm 202 dots
83.90mm 991 dots
83.90mm 991 dots
41.9mm 495 dots
22.9mm 271 dots
22.94mm 271 dots

1.5 mm 18 dots

1.5 mm 18 dots

1.5 mm 18 dots

1.5 mm 18 dots

1.5 mm 18 dots

1.5 mm 18 dots

1.5 mm 18 dots

1.5 mm 18 dots

3.0 mm 35 dots

3.0 mm 35 dots

3.0 mm 35 dots

3.0 mm 35 dots

3.0 mm 35 dots

3.0 mm 35 dots

3.0 mm 35 dots

3.0 mm 35 dots

Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
7

ID Designation *1 *1 *1 275 62mm x 100mm

2-3/7” x 4”

61.98mm 732 dots
99.82mm 1179 dots
58.93mm 696 dots
93.90mm 1109 dots

1.5 mm 18 dots

3.0 mm 35 dots

(2.4” x 3.9”)

365 102mm x 51mm

4” x 2”

101.6mm 1200 dots
50.5mm 596 dots
98.59mm 1164 dots
44.53mm 526 dots
1.5mm 18 dots

3.0 mm 35 dots

(4” x 1.9”)

366 102mm x 152mm

4” x 6”

101.6mm 1200 dots
152.75mm 1804 dots
98.59mm 1164 dots
140.60mm 1660 dots
1.5mm 18 dots
6.1mm 72 dots

(4” x 6”)

362 12mm Dia

1/2” Dia

12.02mm 142 dots
12.02mm 142 dots
7.96mm 94 dots
7.96mm 94 dots

2.0 mm 24 dots

2.0 mm 24 dots

(0.47” Dia)

363 24mm Dia

1” Dia

24.04mm 284 dots
24.04mm 284 dots
19.98mm 236 dots
19.98mm 236 dots

2.0 mm 24 dots

2.0 mm 24 dots

(0.94” Dia)

273 58mm Dia

2-1/3” Dia

58.25mm 688 dots

58. 25mm 688 dots

52.24mm 618 dots
52.24mm 618 dots

3.0 mm 35 dots

3.0 mm 35 dots

(2.2” Dia)

Inch measurements are indicated as decimals with QL-700 and as fractions with all models other than QL-700.

ID 273 21.17mm

232 dots

*1 The number of dots in the table is for 300 dpi; it is difference in the high-resolution mode. *2 Margins of 3 mm (1.5 mm × 2) horizontally and 3 mm (1.5 mm × 2) vertically
*1 *1*2 10*1*2
21.08mm 232 dots
19.0mm 224 dots
19.0mm 224 dots
are added to a diameter of 16 mm.

“102mm x 51mm” and “102mm x 152mm” is only for QL-1050/1060N

Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
8

3.2.3. Feed amount

The feed amount (left and right margins) is defined below. Tape Type Minimum Margin Setting Maximum Margin Setting Continuous

length tape
mm setting: 3 mm Inch setting: 0.1” 35 dots

Die-cut labels Set the command for specifying the margin to “0”.

In case of using 12 mm Dia for QL-500/550/560/570/580N/700, specify 35 dots.

3.2.4. Maximum and minimum lengths

The maximum and minimum lengths are defined below. Tape Type Minimum Length Maximum Length Continuous length tape (QL-500/550/560/650TD/1050

/1060N) 25 mm
mm setting: 127 mm Inch setting: 5” 1500 dots

(QL-500/550/560/570/580N/65 0TD/700)

1000 mm 295 dots (QL-570/580N/700)

12.7 mm 150 dots

11811 dots

(QL-1050/1060N)

3000 mm

35433 dots

Die-cut labels Fixed Fixed

Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
9

3.2.5. Raster line arrangement

Number of pins for right margin

Number of print area pins

Total number of pins
Raster line First byte
Print area
Left and right margins
of pins for
Number
left margin
Last byte
0 pin
Pins on print head
QL-500/550/560/570/580N/650TD/700: Total number of pins
Feeding dir ection
720 pins

Continuous length tape:

Label Size Number of

Pins
for Left
Margin
Number of Print Area
Pins
Number of
Pins for Right
Margin
Number of Raster Graphics Transfer

12mm 585 106 29 90 29mm 408 306 6 90 38mm 295 413 12 90 50mm 154 554 12 90 54mm 130 590 0 90 62mm 12 696 12 90

Die-cut labels:

Label Size Number of

Pins
for Left
Margin
Number of Print Area
Pins
Number of
Pins for Right
Margin
Number of Raster Graphics Transfer

17 mm x 54 mm 555 165 0 90 17 mm x 87 mm 555 165 0 90 23 mm x 23 mm 442 236 42 90 29 mm x 90 mm 408 306 6 90 38 mm x 90 mm 295 413 12 90 39 mm x 48 mm 289 425 6 90 52 mm x 29 mm 142 578 0 90 62 mm x 29 mm 12 696 12 90 62 mm x 100 mm 12 696 12 90 12 mm Dia 513 94 113 90 24 mm Dia 442 236 42 90 58 mm Dia 51 618 51 90

Bytes
Bytes
Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
10

QL-1050/1060N: Total number of pins 1296 pins

Continuous length tape:

Label Size Number of

Pins
for Left
Margin

12mm 1116 106 74 162 29mm 940 306 50 162 38mm 827 413 56 162 50mm 686 554 56 162 54mm 662 590 44 162 62mm 544 696 56 162 102mm 76 1164 56 162

Die-cut labels:

Label Size Number of

Pins
for Left
Margin

17mm x 54mm 1087 165 44 162 17mm x 87mm 1087 165 44 162 23mm x 23mm 976 236 84 162 29mm x 90mm 940 306 50 162 38mm x 90mm 827 413 56 162 39mm x 48mm 821 425 50 162 52mm x 29mm 674 578 44 162 62mm x 29mm 544 696 56 162 62mm x 100mm 544 696 56 162 102mm x 51mm 76 1164 56 162 102mm x 152mm 76 1164 56 162 12mm Dia 1046 94 156 162 24mm Dia 975 236 85 162 58mm Dia 584 618 94 162

Number of Print Area
Pins
Number of Print Area
Pins
Number of
Pins for Right
Margin
Number of
Pins for Right
Margin
Number of Raster Graphics Transfer
Bytes
Number of Raster Graphics Transfer
Bytes
Brother QL-500/550/560/570/580N/650TD/700/1050/1060N Command Reference
11
Loading...
+ 25 hidden pages