Closed rhaamo closed 1 year ago
Can you please answer a couple of questions?
lsb_release -a
and uname -a
would be very useful.The PDF renderer thing sounds like a CUPS issue, but it's one I've never seen myself. It seems like LibreOffice is asking CUPS to print a PDF, but CUPS doesn't know how to handle it. I've had issues printing labels from LibreOffice in the past, and for this reason I usually use GLabels. Though I have to confess I haven't tried LibreOffice recently.
The angry blinking red light can pop up for a couple of reasons, but the most common is a mismatch between the label size and the labels in the printer. The following settings need to match the label stock:
To actually figure out what it's upset about involves sending a QL "read status" command, and sadly that's something the driver doesn't do -- as far as I know, raster drivers have no way of doing bidirectional communications with the printer.
Looking at your logs (thanks for including those by the way!) you're setting the printer up for 38x90mm labels, using continuous label tape. That means the printer is expecting you to have Brother DK-22225 continuous tape labels loaded.
I'm going to take a wild guess that you have the Brother DK-11208 38x90mm labels loaded - as most of my QL printers came with a sample roll of these in the box.
If you send a continous-length-labels job to a printer which has die-cut labels loaded, the printer will reject the job and blink the red light.
To get your printer to print on these, you need to set the MediaType
field to Labels
-- in the Print Settings this should appear as Media Type: Die-Cut Labels
. (it's probably set to "continuous-length tape")
The printers can communicate error codes back to the host as part of the "status request" response (see https://download.brother.com/welcome/docp000678/cv_qlseries_eng_raster_600.pdf) but sadly I don't know how to add support for this to CUPS.
In the longer term I'd like to add QL and P-touch support to LPrint (https://github.com/michaelrsweet/lprint), and that will likely include some form of status monitoring and data massaging - i.e. if the job requests diecut labels but the printer has continuous tape loaded, that job could be printed provided the label width matches the job.
Thanks! You were right on the media type, I did had it on the default which was Tape, changed it for Labels and ... it works.
I thought I had tested that but I might not, or had some other thing causing it to fails.
I have installed the driver from git on manjaro (cups 2.4.2) and used the driver after that in cups
Brother QL-700 Foomatic/ptouch-ql (recommended) (grayscale)
.I've tried to use the brother templates in libreoffice with a
38x90mm
label roll and CUPS yells at me:and nothing comes out of the printer but the led blinks red until I press the power button.
I have no idea what to do to debug that issue, from random tries the files convert properly to raster and ptch. Attached is one PDF grabbed from CUPS spool dir. d00027-001.pdf
I have also tried
lpadmin -p Brother_QL-700 -o pdftops-renderer-default=gs
and after that no more warning but still nothing printed and blinky red :(I have switched cups logs to debug, and there isn't really anything interesting (no errors) except maybe that part I guess: