Brother Ql-720Nw Specifying Media Size Seems Ignored

Brother QL-720NW specifying media size seems ignored

This probably does not answer your question. Furthermore, you may not even own a Brother printer anymore... I found this post because printing to my QL-700 from Libreoffice made me see red blinking lights all over. Scream! Finally I figured out that setting Only use paper size from printer settings ON in the print dialog fixed my problems. And of course, I then set the size I wanted in the print dialog Properties Option.

However it is obvious to me red blinking lights mean your paper size is incorrect, some way or other. My guess is that lpr is ignoring your parameters for some reason.

custom paper size for labelprinter (Brother QL 570)

The CUPS drivers that come with the printer include a utility for adding custom paper sizes.

Open a terminal and type:

brpapertoollpr_ql570

And you will see the usage examples for adding and removing custom sizes:

 ===========================
LPRng Paper Size Tool (v 0.1) Copyright by 2005
Usage: brpapertoollpr_xxxx -P QL-xxxx Printer Name [-n add a Lable Format Name (<=32 bytes) -w Media Width(unit:mm) -h Media Height(unit:mm)]/[-d delete Lable Format Name]
For example:
1. Add a new Label Format with "New Label Format" name and 29mm width and 70mm length:
"brpapertoollpr_ql570 -P QL-570 -n New\ Label\ Format -w 29 -h 70" [enter]
2. Remove the Label Format with "New Label Format" name:
"brpapertoollpr_ql570 -P QL-570 -d New\ Label\ Format" [enter]
===========================

As an example, I did

brpapertoollpr_ql570 -P QL-570 -n long_label -w 62 -h 200

to set up a custom paper size called "long_label" which prints on 62mm continuous roll, a 200mm long label

Print raw data to label printer (QRCode) - ESC/P with PHP

Finally i found the solution by myself ;)

One has to use hex for the parameters to work.

Like this:

return chr(27) . "iQ\x03\x02\x00\x00\x00\x00\x02\x00" . $this->dataString . chr(92) . chr(92) . chr(92);



Related Topics



Leave a reply



Submit