3.1.PRINT DATA OVERVIEW ................................................................................................................................
3.2.PAGE DATA DETAILS ....................................................................................................................................
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.
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.)
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.
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 12
269 17mm x 54mm
Inch measurements are indicated as decimals with QL-700 and as fractions with all models other than
QL-700.
ID 78
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
*19*1*210*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
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