usb probing malforms Epson TM-T70 label printer output

Bug #1695884 reported by Dariusz Gadomski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned
Nominated for Trusty by Dariusz Gadomski
Nominated for Xenial by Dariusz Gadomski
Nominated for Zesty by Dariusz Gadomski

Bug Description

CUPS USB probing malforms Epson TM-T70 (vendorid: 0x04b8 productid: 0x0202) which is used outside CUPS (via usblp driver).

No matter whether the printer is set up as a CUPS raw printer or it's not used via CUPS (but rather via a device node under usblp control) the formatting is broken on the printed out labels: the orientation is different from what had been set, the fonts differ.

After blacklisting the printer in the quirks file all the problems were gone.

My assumption is that this printer should be blacklisted by default.

Tags: patch
summary: - usb probing malforms TM-T70 output
+ usb probing malforms Epson TM-T70 output
summary: - usb probing malforms Epson TM-T70 output
+ usb probing malforms Epson TM-T70 label printer output
Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Patch proposal for Artful.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "cups_2.2.3-1ubuntu1.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

As the backends do not filter data but simply pass the data through it is not clear whether the "usb" CUPS backend really causes the problem. Especially in this case the CUPS backend still lets go data to the printer and the printer prints something.

So before modifying the backend behavior I would like to know what kind of data you feed to the printer and what does CUPS exactly do.

Did you create a CUPS queue with a driver/PPD file? Which driver or PPD file (please attach your print queue's PPD file from /etc/cups/ppd/)? Or did you create a raw (unfiltered) queue? How do you send jobs to CUPS? Do you simply send them or do you use the "-o raw" option (unfiltered by-job)? Are you sending jobs as plain text or as PDF, PostScript, ...?

If you add the quirk rule to blacklist your printer the "usb" CUPS backend would ignore the printer preventing the backend to discover the printer. How are you using the printer then? Another CUPS backend? Which one? No use of CUPS at all (like "cat file > /dev/usb/lp0")? Are you using a driver/filter then?

Please also follow the instructions of the sections "CUPS error_log", "USB printer", "Capturing print job data", and "Getting the data which would go to the printer" for the case when you are using the "usb" CUPS backend without changes in the quirk rules and also when using CUPS with the change. also run

sudo lsusb -vvv > lsusb-out.txt

and attach the resulting file.

Please do not compress any of the files you get and do not package them together. Attach them to this bug report one by one.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Till,
The printer in question is was used completely *outside* CUPS - via the /dev/usb/lp* nodes only. Although there was also an attempt with using it with a raw queue - with the same result: whenever CUPS was enabled or the printer was not blacklisted the output from the printer was malformed.

My understanding is that something that CUPS libusb backend was doing in the 'probing' phase (backends/usb-libusb.c find_device()) is influencing the printer configuration and changing it's settings set by control characters.

Attaching the lsusb portion related to the printer in question.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.