2012-05-16 14:22:38 |
Gary Brainin |
bug |
|
|
added bug |
2012-05-16 14:22:38 |
Gary Brainin |
attachment added |
|
Captured print job https://bugs.launchpad.net/bugs/1000253/+attachment/3149203/+files/printout |
|
2012-05-16 15:25:05 |
Till Kamppeter |
cups (Ubuntu): status |
New |
Incomplete |
|
2012-05-16 15:48:05 |
Gary Brainin |
attachment added |
|
error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3149344/+files/error_log |
|
2012-05-16 15:50:34 |
Gary Brainin |
attachment added |
|
bugreport https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3149349/+files/bugreport |
|
2012-05-16 15:52:22 |
Gary Brainin |
attachment added |
|
printtest.odt https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3149351/+files/printtest.odt |
|
2012-05-16 17:56:17 |
Gary Brainin |
attachment added |
|
print.pdf https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3149497/+files/print.pdf |
|
2012-05-23 13:10:41 |
Launchpad Janitor |
cups (Ubuntu): status |
Incomplete |
Fix Released |
|
2012-05-23 13:43:19 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cups |
|
2012-05-23 14:57:03 |
Till Kamppeter |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-05-23 14:57:16 |
Till Kamppeter |
nominated for series |
|
Ubuntu Precise |
|
2012-05-23 14:57:16 |
Till Kamppeter |
bug task added |
|
cups (Ubuntu Precise) |
|
2012-05-23 14:57:28 |
Till Kamppeter |
cups (Ubuntu Precise): status |
New |
Fix Committed |
|
2012-05-23 14:57:32 |
Till Kamppeter |
cups (Ubuntu Precise): importance |
Undecided |
High |
|
2012-05-23 14:57:34 |
Till Kamppeter |
cups (Ubuntu): importance |
Undecided |
High |
|
2012-05-23 14:57:41 |
Till Kamppeter |
cups (Ubuntu Precise): milestone |
|
ubuntu-12.04.1 |
|
2012-05-23 14:58:12 |
Till Kamppeter |
cups (Ubuntu Precise): milestone |
ubuntu-12.04.1 |
precise-updates |
|
2012-05-23 14:59:10 |
Till Kamppeter |
attachment added |
|
cups_1.5.2-9ubuntu1_1.5.3-0ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3159583/+files/cups_1.5.2-9ubuntu1_1.5.3-0ubuntu1.debdiff |
|
2012-05-25 06:45:17 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2012-05-25 06:45:23 |
Martin Pitt |
tags |
|
verification-needed |
|
2012-05-25 07:59:17 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/cups |
|
2012-05-26 07:32:45 |
Till Kamppeter |
tags |
verification-needed |
verification-done |
|
2012-06-01 15:49:11 |
Launchpad Janitor |
cups (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-06-14 02:08:48 |
Gary Brainin |
attachment added |
|
syslog https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3188676/+files/syslog |
|
2012-06-14 12:48:08 |
Gary Brainin |
attachment added |
|
error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3189203/+files/error_log |
|
2012-06-16 18:32:51 |
Till Kamppeter |
cups (Ubuntu): status |
Fix Released |
Triaged |
|
2012-06-16 18:32:54 |
Till Kamppeter |
cups (Ubuntu Precise): status |
Fix Released |
Triaged |
|
2012-06-20 01:45:30 |
Gary Brainin |
attachment added |
|
error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3196855/+files/error_log |
|
2012-06-28 02:11:22 |
Gary Brainin |
attachment added |
|
error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3206242/+files/error_log |
|
2012-06-29 01:55:25 |
Gary Brainin |
attachment added |
|
error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3207405/+files/error_log |
|
2012-07-09 05:05:38 |
Launchpad Janitor |
cups (Ubuntu): status |
Triaged |
Fix Released |
|
2012-07-10 14:53:07 |
Gary Brainin |
attachment added |
|
error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3218590/+files/error_log |
|
2012-07-10 23:55:50 |
Till Kamppeter |
cups (Ubuntu Precise): status |
Triaged |
Fix Committed |
|
2012-07-10 23:55:55 |
Till Kamppeter |
cups (Ubuntu Precise): milestone |
precise-updates |
ubuntu-12.04.1 |
|
2012-07-10 23:57:46 |
Till Kamppeter |
tags |
verification-done |
|
|
2012-07-11 00:05:01 |
Till Kamppeter |
description |
When I send a job to the printer, it often (but not always) has an extra page before my print job with what appears to be PJL codes being printed out as text. It usually looks something like this:
JL SET MEDIATYPE-REGULAR
@PJL SET SOURCETRAY=AUTO
@PJL SET RESOLUTION=300
@PJL SET
(the last line may be cut off by the right margin)
This behavior started after I switched to Ubuntu 12.04.
I am assuming this problem is in the printer driver (or somewhere in the print handling sequence), since it appears when printing from different programs.
Release: 12.04
Package version: 1.5.2-9ubuntu1
Per instructions, I am attaching a print job I captured which shows the error. |
When I send a job to the printer, it often (but not always) has an extra page before my print job with what appears to be PJL codes being printed out as text. It usually looks something like this:
JL SET MEDIATYPE-REGULAR
@PJL SET SOURCETRAY=AUTO
@PJL SET RESOLUTION=300
@PJL SET
(the last line may be cut off by the right margin)
This behavior started after I switched to Ubuntu 12.04.
I am assuming this problem is in the printer driver (or somewhere in the print handling sequence), since it appears when printing from different programs.
Release: 12.04
Package version: 1.5.2-9ubuntu1
Per instructions, I am attaching a print job I captured which shows the error.
[IMPACT]
Users of the Brother HL-1440 (and some other printers) get pages with PJL commands when they print after the upgrade from Lucid LTS or Oneiric to Precise LTS. In Precise the problem was solved by an ugly workaround of blacklisting the usblp kernel module in the first CUPS SRU. This solution breaks printing for other users, those who use proprietary printer drivers with CUPS backends based on the old /dev/usb/lp* device files and also users who send jobs by directly sending data to the /dev/usb/lp* device files. This worked under Lucid LTS.
The libusb-based USB backend of CUPS was far from completely implemented. It lacked the ability to communicate uni-directionally with devices which are not able to communicate bi-directionally, refrain from re-attaching the usblp kernel module after printing for some devices, reset the printer after printing the job, ... In the proposed package these adaptations for devices with quirks are done in the USB backend. Especially this backend now works with said Brother printer by built-in exception rules for this model, so that the communication is done uni-directionally and the usblp kernel module will not get re-attached to the printer after printing the job. This makes the printer working without blacklisting the usblp module. So this second SRU is an improved solution.
[TESTCASE]
Unfortunately, for reproducing this bug one needs the actual printer.
Connect a Brother HL-1440 to the USB port of the computer.
With stock Precise (without updates) you will not be able to print correctly, you will get the PJL code. After applying the already available updates (including the first SRU for CUPS) you will be able to print, but only because the usblp kernel module is blacklisted. Remove the blacklisting via
sudo mv /etc/modprobe.d/blacklist-cups-usblp.conf ~
sudo modprobe usblp
and you will get the problem again.
After installing the proposed package the kernel module is not blacklisted any more and you will still be able to print.
If you are on a Precise with all updates and you have a print queue with an URI containing /dev/usb/lp* you will not be able to print. This worked with stock Precise and works again with the proposed package.
You can easily test this with any Ubuntu-supported USB printer:
lpadmin -p test -E -v parallel:/dev/usb/lp0 -m <PPD file which works with this printer>
lpadmin -p teat -o PageSize=A4
lp- d test ~/.bashrc
The printing on this queue works on stock Precise, does not work on Precise with all updates (usblp is blacklisted) and works again with the proposed package.
[Regression Potential]
The patch looks perhaps more dramatic than it is. This is because several code sections are put into "if" blocks, indenting all the (unchanged) code lines. This especially happens because now we suppress using the back channel for selected printers (and also printers which claim to be uni-directional only).
The code was developed in several steps and uploaded step-by-step to my PPA. There the reporters of the bugs covered by this SRU and some additional bugs (bug 902535, bug 995111) tested it intensively. They did not hit any regressions compared to stock Precise or the first CUPS SRU.
The code is also applied to the CUPS package in Quantal and this also did not cause any regression bug report yet.
I have tested the code on four HP printers (HP LaserJet 3390, HP Color LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on direct USB) and one Epson printer (Epson Stylus Photo 880, both direct USB and parallel with Prolific USB -> Parallel adaptor) and all work fine, no regressions. |
|
2012-07-11 07:10:39 |
Till Kamppeter |
description |
When I send a job to the printer, it often (but not always) has an extra page before my print job with what appears to be PJL codes being printed out as text. It usually looks something like this:
JL SET MEDIATYPE-REGULAR
@PJL SET SOURCETRAY=AUTO
@PJL SET RESOLUTION=300
@PJL SET
(the last line may be cut off by the right margin)
This behavior started after I switched to Ubuntu 12.04.
I am assuming this problem is in the printer driver (or somewhere in the print handling sequence), since it appears when printing from different programs.
Release: 12.04
Package version: 1.5.2-9ubuntu1
Per instructions, I am attaching a print job I captured which shows the error.
[IMPACT]
Users of the Brother HL-1440 (and some other printers) get pages with PJL commands when they print after the upgrade from Lucid LTS or Oneiric to Precise LTS. In Precise the problem was solved by an ugly workaround of blacklisting the usblp kernel module in the first CUPS SRU. This solution breaks printing for other users, those who use proprietary printer drivers with CUPS backends based on the old /dev/usb/lp* device files and also users who send jobs by directly sending data to the /dev/usb/lp* device files. This worked under Lucid LTS.
The libusb-based USB backend of CUPS was far from completely implemented. It lacked the ability to communicate uni-directionally with devices which are not able to communicate bi-directionally, refrain from re-attaching the usblp kernel module after printing for some devices, reset the printer after printing the job, ... In the proposed package these adaptations for devices with quirks are done in the USB backend. Especially this backend now works with said Brother printer by built-in exception rules for this model, so that the communication is done uni-directionally and the usblp kernel module will not get re-attached to the printer after printing the job. This makes the printer working without blacklisting the usblp module. So this second SRU is an improved solution.
[TESTCASE]
Unfortunately, for reproducing this bug one needs the actual printer.
Connect a Brother HL-1440 to the USB port of the computer.
With stock Precise (without updates) you will not be able to print correctly, you will get the PJL code. After applying the already available updates (including the first SRU for CUPS) you will be able to print, but only because the usblp kernel module is blacklisted. Remove the blacklisting via
sudo mv /etc/modprobe.d/blacklist-cups-usblp.conf ~
sudo modprobe usblp
and you will get the problem again.
After installing the proposed package the kernel module is not blacklisted any more and you will still be able to print.
If you are on a Precise with all updates and you have a print queue with an URI containing /dev/usb/lp* you will not be able to print. This worked with stock Precise and works again with the proposed package.
You can easily test this with any Ubuntu-supported USB printer:
lpadmin -p test -E -v parallel:/dev/usb/lp0 -m <PPD file which works with this printer>
lpadmin -p teat -o PageSize=A4
lp- d test ~/.bashrc
The printing on this queue works on stock Precise, does not work on Precise with all updates (usblp is blacklisted) and works again with the proposed package.
[Regression Potential]
The patch looks perhaps more dramatic than it is. This is because several code sections are put into "if" blocks, indenting all the (unchanged) code lines. This especially happens because now we suppress using the back channel for selected printers (and also printers which claim to be uni-directional only).
The code was developed in several steps and uploaded step-by-step to my PPA. There the reporters of the bugs covered by this SRU and some additional bugs (bug 902535, bug 995111) tested it intensively. They did not hit any regressions compared to stock Precise or the first CUPS SRU.
The code is also applied to the CUPS package in Quantal and this also did not cause any regression bug report yet.
I have tested the code on four HP printers (HP LaserJet 3390, HP Color LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on direct USB) and one Epson printer (Epson Stylus Photo 880, both direct USB and parallel with Prolific USB -> Parallel adaptor) and all work fine, no regressions. |
When I send a job to the printer, it often (but not always) has an extra page before my print job with what appears to be PJL codes being printed out as text. It usually looks something like this:
JL SET MEDIATYPE-REGULAR
@PJL SET SOURCETRAY=AUTO
@PJL SET RESOLUTION=300
@PJL SET
(the last line may be cut off by the right margin)
This behavior started after I switched to Ubuntu 12.04.
I am assuming this problem is in the printer driver (or somewhere in the print handling sequence), since it appears when printing from different programs.
Release: 12.04
Package version: 1.5.2-9ubuntu1
Per instructions, I am attaching a print job I captured which shows the error.
[IMPACT]
Users of the Brother HL-1440 (and some other printers) get pages with PJL commands when they print after the upgrade from Lucid LTS or Oneiric to Precise LTS. In Precise the problem was solved by an ugly workaround of blacklisting the usblp kernel module in the first CUPS SRU. This solution breaks printing for other users, those who use proprietary printer drivers with CUPS backends based on the old /dev/usb/lp* device files and also users who send jobs by directly sending data to the /dev/usb/lp* device files. This worked under Lucid LTS.
The libusb-based USB backend of CUPS was far from completely implemented. It lacked the ability to communicate uni-directionally with devices which are not able to communicate bi-directionally, refrain from re-attaching the usblp kernel module after printing for some devices, reset the printer after printing the job, ... In the proposed package these adaptations for devices with quirks are done in the USB backend. Especially this backend now works with said Brother printer by built-in exception rules for this model, so that the communication is done uni-directionally and the usblp kernel module will not get re-attached to the printer after printing the job. This makes the printer working without blacklisting the usblp module. So this second SRU is an improved solution.
[TESTCASE]
Unfortunately, for reproducing this bug one needs the actual printer.
Connect a Brother HL-1440 to the USB port of the computer.
With stock Precise (without updates) you will not be able to print correctly, you will get the PJL code. After applying the already available updates (including the first SRU for CUPS) you will be able to print, but only because the usblp kernel module is blacklisted. Remove the blacklisting via
sudo mv /etc/modprobe.d/blacklist-cups-usblp.conf ~
sudo modprobe usblp
and you will get the problem again.
After installing the proposed package the kernel module is not blacklisted any more and you will still be able to print.
If you are on a Precise with all updates and you have a print queue with an URI containing /dev/usb/lp* you will not be able to print. This worked with stock Precise and works again with the proposed package.
You can easily test this with any Ubuntu-supported USB printer:
lpadmin -p test -E -v parallel:/dev/usb/lp0 -m <PPD file which works with this printer>
lpadmin -p test -o PageSize=A4
lp- d test ~/.bashrc
The printing on this queue works on stock Precise, does not work on Precise with all updates (usblp is blacklisted) and works again with the proposed package.
[Regression Potential]
The patch looks perhaps more dramatic than it is. This is because several code sections are put into "if" blocks, indenting all the (unchanged) code lines. This especially happens because now we suppress using the back channel for selected printers (and also printers which claim to be uni-directional only).
The code was developed in several steps and uploaded step-by-step to my PPA. There the reporters of the bugs covered by this SRU and some additional bugs (bug 902535, bug 995111) tested it intensively. They did not hit any regressions compared to stock Precise or the first CUPS SRU.
The code is also applied to the CUPS package in Quantal and this also did not cause any regression bug report yet.
I have tested the code on four HP printers (HP LaserJet 3390, HP Color LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on direct USB) and one Epson printer (Epson Stylus Photo 880, both direct USB and parallel with Prolific USB -> Parallel adaptor) and all work fine, no regressions. |
|
2012-07-12 21:04:42 |
Till Kamppeter |
cups (Ubuntu Precise): assignee |
|
Till Kamppeter (till-kamppeter) |
|
2012-07-13 14:05:46 |
Stéphane Graber |
cups (Ubuntu Precise): status |
Fix Committed |
In Progress |
|
2012-07-18 17:42:55 |
Clint Byrum |
cups (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2012-07-18 17:43:01 |
Clint Byrum |
tags |
|
verification-needed |
|
2012-07-19 13:01:31 |
Gary Brainin |
attachment added |
|
error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3228409/+files/error_log |
|
2012-07-19 13:02:19 |
Gary Brainin |
tags |
verification-needed |
verification-done |
|
2012-08-01 18:50:32 |
Clint Byrum |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2012-08-01 19:03:08 |
Launchpad Janitor |
cups (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-10-05 04:31:05 |
Launchpad Janitor |
branch linked |
|
lp:debian/cups |
|
2013-03-29 07:34:18 |
irrelative |
attachment added |
|
logs.7z https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1000253/+attachment/3605653/+files/logs.7z |
|
2013-04-12 09:56:51 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/raring-proposed/cups |
|
2013-04-12 20:56:51 |
Launchpad Janitor |
branch linked |
|
lp:debian/experimental/cups |
|
2013-04-16 11:29:10 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cups |
|