3. Creating labels using an application ............................................................................................9
3.1. Using an application (OpenOffice.org) ........................................................................................9
3.2. Printing from an application (OpenOffice.org Writer and Calc)...................................................9
Appendix A Printer properties........................................................................................................................10
Appendix B Adding media (label formats) .....................................................................................................12
Appendix C Templates for OpenOffice.org Writer and Calc..........................................................................13
C.1. Templates for OpenOffice.org Writer and Calc .........................................................................13
Appendix E Network settings where Linux was used....................................................................................20
Appendix F Others ........................................................................................................................................25
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 4
[5] Start the Web browser, and then display the CUPS Web administrator page (http://localhost:631).
(If a proxy server is being used, make sure that the proxy server is not used as the local server.)
Click Manage Printers, and then check that the name of the installed printer appears. If it does not
[6]
appear, click
Add Printer, and then complete the installation according to the instructions that appear.
[7] Type in the user name and password, and then click the [OK] button.
Page 7
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 5
[8] In the Name box, type in the name of the model being used, type in the appropriate information in the
“Location” and “Description” boxes, and then click the
[9] From the following two options, select the device being used, and then click the
Brother USB Printer(Ptouch QL-1050): Select this option when a USB interface is used.
Brother Serial Port: Select this option when a serial interface is used.
Continue button.
Continue button.
Page 8
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 6
[10] Select “Brother”, and then click the
[11] Select the name of the model being used (Brother QL-1050 CUPS v1.1(en)), and then click the
button.
Continue button.
Continue
[12] This completes the installation.
Printers, and then check that the printer was added.
Click
Page 9
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 7
[13] Click
Configure Printer to specify the various other settings.
[14] Click
Print Test Page to confirm the successful installation if a test page is printed.
Notes
- For detailed information concerning CUPS, click “Help” in the CUPS Web administrator page.
- Common UNIX Printing System, CUPS and the CUPS logo are registered trademarks of Easy Software
Products. If CUPS was provided by the Linux or Apple distribution, direct all questions concerning CUPS to the
vendor. We do not provide CUPS support.
Page 10
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 8
2.2. Precautions when specifying Linux distribution settings
2.2.1. Compatibility with distributions (Fedora Core 5/GNOME, etc.) that include SELinux
This printer driver is not compatible with SELinux. If an error occurs and printing is not possible, disable
SELinux.
To disable SELinux
[1] From “Desktop” in the menu, select “System”, then “Security Level”.
[2] Select the SELinux tab, clear the “Enabled” check box, and then click the [OK] button.
[3] Restart the system.
Notes
- For details on SELinux, contact the distribution supplier.
2.3. Uninstallation procedure
Manually delete each file in Appendix D.
Page 11
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 9
3. Creating labels using an application
3.1. Using an application (OpenOffice.org)
This manual provides a description of the procedure for printing to the QL-1050 printer from OpenOffice.org, an
application that is widely used in Linux distributions.
When printing to the QL-1050 printer from OpenOffice.org, settings must be specified for the paper size and
margins of the layout. Templates with paper size and margin settings specified for Writer and Calc have been
provided with this software.
3.2. Printing from an application (OpenOffice.org Writer and Calc)
As an example, the procedure for using a 62 mm × 100 mm landscape template for Writer is described below.
[1] Copy the file “62mm×100mm.doc”, and then open it from OpenOffice.org Writer.
[2] Change the data in the file as necessary.
[3] Open the Print dialog box. For this example, select the printer name (QL-1050).
Click the [Properties] button, and then select “62mm×100mm” as the paper size in the Properties dialog box for
the printer. Start printing to confirm the successful operation if the data is printed with the specified layout.
Figure 1: Print dialog box Figure 2: Properties dialog box for the printer
Page 12
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 10
Appendix A Printer properties
The printer properties available in the CUPS Web administrator page (http://localhost:631) are described below.
・ Auto Tape Cut
Automatically cuts each label that is printed.
The default is “ON”.
・ Brightness
A setting within a range of 20% of the current value can be selected. The effect is applied to the
sample. The default is “0”.
・ Contrast
A setting within a range of 20% of the current value can be selected. The effect is applied to the
sample. The default is “0”.
・ Halftone
Page 13
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 11
Select “Binary”, “Dither” or “Error Diffusion”. The default is “Error Diffusion”.
・ Margin
The available left and right margins (3 to 30 mm) are listed. For normal tape, the default is “3 mm”.
No setting can be selected with die-cut tape.
・ Mirror Printing
Specifies mirror printing.
The default is “OFF”.
・ Quality
Select “Give priority to print speed” or “Give priority to print quality”.
The default is “Give priority to print speed”.
・Cut at end
Specify that whether cut at end or not when plural pages printing.
ON: Cut at end (default)
OFF: Not cut at end
・Cut every … labels
When “auto cut” is specified, you can specify page number (1 - 30) in “cut every * labels”. The default is “1” (cut each label).
・ Media Size
The available tape widths (12 to 102 mm roll or die-cut tape) are listed.
The default is “29mm×90mm”.
Specifying split printing
Units: mm Units: inch
Page 14
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 12
Appendix B Adding media (label formats)
To specify a length before printing on continuous length (12 mm, 29 mm, 62 mm, 102mm) labels, use added
media (label format).
Media (label formats) are added from the command line.
Use the tool “brpapertoollpr_ql1050” to add media (label formats). This tool is installed in the following folder
with the driver.
Folder: [usr]-[bin]
To add:
brpapertoollpr_ql1050 [-P <printer_name>] [-n <label_format_name>] [-w <media_width_(mm)>] [-h <media_height_(mm)>]
To delete:
brpapertoollpr_ql1050 [-P <printer_name>] [-d <label_format_name>]
[-P <printer_name>]: Printer name defined by the user
[-n <label_format_name>]: The width and height for the added label format name is added to the PPD file.
(If the label format name already exists, the old parameters will be updated
with the new parameters.)
[-w <paper_width_(mm)>]: Specify the media width of the label format. (units: mm)
[-h <paper_height_(mm)>]: Specify the media height of the label format. (units: mm)
[-d <label_format_name>]: The label format is deleted from the PPD file.
Example:
[1] A new label format for 62-mm continuous length tape for the QL-1050 printer will be added.
The operation must be performed by using Root permissions.
[2] To add a label format:
Specify the label format name as “format6262”, the media width as “62 (mm)”, and the media length as “62
(mm)”.
[2] To delete a label format:
Specify the label format name as “format6262”.
Page 15
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 13
Appendix C Templates for OpenOffice.org Writer and Calc
C.1. Templates for OpenOffice.org Writer and Calc
When printing to the QL-1050 printer from OpenOffice.org, settings must be specified for the paper size and
margins of the layout. Templates with the landscape and portrait orientations have been provided. The
templates are shown below.
These templates were created based on the media sizes listed in “C.2. Media sizes”.
Page 16
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 14
C.2. Page size
C.2.1. Continuous length tape
1
3
5
5
1
3
6
2
4
Print area
Feeding direction
Landscape
Number 1 Width 2 Length
3 Print area width (maximum printing width) 4 Print area length
5 Width offset 6 Length offset
Feeding direction
Page size
Portrait
6
2
4
Label
Designation 1 2 3 4 5 6
Size
12mm 12mm
1/2”
29mm 29mm
1-1/7"
62mm 62mm
2-3/7"
102mm 102mm
4”
12.02 mm
142 dots
28.96mm
342 dots
61.98mm
732 dots
101.6mm
1200 dots
→C.2.4 8.97 mm
106 dots
→C.2.4 25.91 mm
306 dots
→C.2.4 58.93mm
696 dots
→C.2.4 98.59 mm
1164 dots
→C.2.4 1.5 mm
18 dots
→C.2.4 1.5 mm
18 dots
→C.2.4 1.5 mm
18 dots
→C.2.4 1.5 mm
18 dots
→C.2.3
→C.2.3
→C.2.3
→C.3.3
Page 17
QL-1050 Linux Printer Driver ManualBrother Industries, Ltd. P&S Company15
C.2.2. Die-cut labels
6
5
Print area
4
2
Number 1 Width 2 Length
3 Print area width (maximum printing width) 4 Print area length
1
3
6
4
2
5
7
Print
area
1
3
8
10
9
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 1 2 3 4 5 6
DC1 17mm x 54mm
2/3" x 2-1/8"
DC2 17mm x 87mm
2/3" x 3-7/16"
DC3 29mm x 90mm
1-1/7" x 3-1/2"
DC4 38mm x 90mm
1-1/2" x 3-1/2"
DC5 58mm Dia
2-1/3" Dia
DC6 62mm x 29mm
2-3/7" x 1-1/7"
DC7 62mm x 100mm
2-3/7" x 4"
DC12 12mm Dia
1/2" Dia
DC13 24mm Dia
1" Dia
DC15 102mm x 51mm
4” x 2”
DC16 102mm x 152mm
4” x 6”
17.02mm
201
17.02mm
201
28.96mm
342
38.01mm
449
58.25mm
688
61.98mm
732
61.98mm
732
12.02mm
142
24.04mm
284
101.6mm
1200 dots
101.6mm
1200 dots
53.85mm
636
86.87mm
1026
89.83mm
1061
89.83mm
1061
58. 25mm
688
28.87mm
341
99.82mm
1179
12.02mm
142
24.04mm
284
50.5mm
596 dots
13.97mm
165
13.97mm
165
25.91mm
306
34.97mm
413
52.24mm
618
58.93mm
696
58.93mm
696
7.96mm
94
19.98mm
236
98.59mm
1164 dots
152.75mm 98.59mm
1164 dots
47.92mm
566
80.94mm
956
83.90mm
991
83.90mm
991
52.24mm
618
22.94mm
271
93.90mm
1109
7.96mm
94
19.98mm
236
44.53mm
526 dots
140.60mm
1660 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
1.5 mm
18 dots
1.5 mm
18 dots
2.0 mm
24 dots
2.0 mm
24 dots
1.5mm
18 dots
1.5mm
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
2.0 mm
24 dots
2.0 mm
24 dots
3.0 mm
35 dots
6.1mm
72 dots 1804 dots
Page 18
QL-1050 Linux Printer Driver ManualBrother Industries, Ltd. P&S Company16
ID Designation 1 2 3 4 5
DC20 23mm x 23mm
10/11” x 10/11”
23.03mm
272 dots
23.03mm
272 dots
19.99mm
236 dots
17.10mm
202 dots
1.5 mm
18 dots
6
3.0 mm
35 dots
ID 7 8 9* 10*
DC5 21.17mm
232
21.08mm
232
19.0mm
224
19.0mm
224
*Margins of 3 mm (1.5 mm × 2) horizontally and 3 mm (1.5 mm × 2) vertically are added to a diameter of 16 mm.
Page 19
QL-1050 Linux Printer Driver ManualBrother Industries, Ltd. P&S Company17
C.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”.
C.2.4. Maximum and minimum lengths
The maximum and minimum lengths are defined below.
Tape Type Minimum Length Maximum Length
Continuous length tape 25 mm
295 dots
Die-cut labels Fixed Fixed
mm setting: 127 mm
Inch setting: 5”
1500 dots
1000mm
11811 dots
Page 20
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 18
Appendix D File configuration for Linux driver for QL-1050
D.1. Installer file configuration
For Fedora Core (RPM):
Name Units File Name
LPR driver - ql1050lpr-1.0.0-1.i386.rpm
CUPS wrapper driver
For Debian:
Name Units File Name
LPR driver - ql1050lpr-1.0.0-1.i386.deb
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 20
(
)
[
]
Appendix E Network settings where Linux was used
①Client PC
Linux: Fedora Core 5
IP Address: 192.168.0.5
[1]
③Server PC
IP Address: 192.168.0.4
[USB]
[2]
[3]
②Client PC
(Win: Windows 2000/XP)
IP Address: 192.168.0.10
subnet mask: 255.255.255.0
gateway: 192.168.0.1
● Our results confirmed correct operation.
Linux network configuration (example)
Combinations in the Linux network configuration
[USB]
④Print Server
(PS-9000)
IP Address: 192.168.0.193
Printer (QL-1050)
LAN
Printer (QL-1050)
The configuration combinations are listed below.
[1]-: Server [Linux]-Client [Linux]
[2]-: Server [Linux]-Client [Windows]
[3]-: Print Server [PS-9000]-Client [Linux]
Settings specified in advance
For [1] and [2], specify the following settings for Server [Linux] in advance.
(in order to access CUPS for Server [Linux] from the client computer)
/etc/cups/cupsd.conf
<location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Page 23
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 21
Allow From 192.168.0.5/255.255.255.0
Allow From 192.168.0.10/255.255.255.0
</Location>
<location /admin>
## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.5/255.255.255.0
Allow From 192.168.0.10/255.255.255.0
#Encryption Required
</Location>
Settings specified in advance for CUPS 1.2 users
Start the Web browser, and then display the CUPS Web administrator page (http://localhost:631/admin).
Make sure of "Basic Server Settings".
Page 24
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 22
QL-1050 Linux Printer Driver Manual Brother Industries, Ltd. P&S Company 25
Appendix F Others
F.1. Retrieving print error information
Print error information can be retrieved from the following log file.
/var/log/cups/error_log
F.2. MFC-compatible Linux drivers
We provide MFC-compatible Linux drivers. The Ql-1050 driver described in this manual uses the same
configuration as the MFC-compatible Linux driver, which is based on a configuration combining the LPR driver
and the CUPS wrapper driver. For details, refer to the pages at the following links.
Links: