SpliX printer driver: intrepid->jaunty upgrade does not upgrade the PPDs of the existing print queues

Bug #352472 reported by Martin Pitt
44
This bug affects 3 people
Affects Status Importance Assigned to Milestone
splix (Ubuntu)
Fix Released
Undecided
Till Kamppeter
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cups

I just upgraded intrepid to current jaunty (amd64) on one of my boxes with a Samsung ML-1610 laser. After that, the printer cannot print anything any more:

$ echo -e 'hallo\nwelt' | lp
lp: Das Format „text/plain“ wird nicht unterstützt!
$ lp hello.pdf
lp: Das Format „application/pdf“ wird nicht unterstützt!

(meaning "format .... is not supported"). This is reflected in the error_log:

D [31/Mar/2009:17:34:29 +0200] [Job ???] Auto-typing file...
I [31/Mar/2009:17:34:29 +0200] [Job ???] Request file type is application/pdf.
D [31/Mar/2009:17:34:29 +0200] Print-Job client-error-document-format-not-supported: Das Format „application/pdf“ wird nicht unterstützt!

If I delete and recreate the printer, it works. printers.conf has no noticeable difference, but the generated PPD files differ:

--- ML-1610.ppd 2009-03-31 17:37:52.000000000 +0200
+++ ML-1610.ppd.new 2009-03-31 17:37:52.000000000 +0200
@@ -2,7 +2,7 @@
 *% PPD file for ML-1610 with CUPS.
 *% Created by the CUPS PPD Compiler v1.2.3.
 *FormatVersion: "4.3"
-*FileVersion: "2.0.0"
+*FileVersion: "SpliX V. 2.0.0"
 *LanguageVersion: English
 *LanguageEncoding: ISOLatin1
 *PCFileName: "ml1610.ppd"
@@ -12,7 +12,7 @@
 *Manufacturer: "Samsung"
 *ModelName: "Samsung ML-1610"
 *ShortNickName: "Samsung ML-1610"
-*NickName: "Samsung ML-1610, 2.0.0"
+*NickName: "Samsung ML-1610, SpliX V. 2.0.0"
 *PSVersion: "(3010.000) 705"
 *PSVersion: "(3010.000) 707"
 *PSVersion: "(3010.000) 815"
@@ -34,7 +34,7 @@
 *cupsVersion: 1.3
 *cupsModelNumber: 0
 *cupsManualCopies: False
-*cupsFilter: "application/vnd.cups-splixraster 0 rastertoqpdl"
+*cupsFilter: "application/vnd.cups-raster 0 rastertoqpdl"
 *OpenUI *PageSize/Media Size: PickOne
 *OrderDependency: 10 AnySetup *PageSize
 *DefaultPageSize: A4
@@ -168,17 +168,6 @@
 *Altitude LOW/Low: ""
 *Altitude HIGH/High: ""
 *CloseUI: *Altitude
-*OpenUI *ColorModel/Color Mode: PickOne
-*OrderDependency: 10.0 AnySetup *ColorModel
-*DefaultColorModel: Gray
-*ColorModel Gray/Grayscale: "<</cupsColorSpace 3/cupsColorOrder 0/cupsCompression 17>>setpagedevice"
-*CloseUI: *ColorModel
-*OpenUI *Resolution: PickOne
-*OrderDependency: 10.0 AnySetup *Resolution
-*DefaultResolution: 600dpi
-*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
-*Resolution 300dpi/300 DPI: "<</HWResolution[300 300]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
-*CloseUI: *Resolution
 *OpenUI *PowerSave/Power Save: PickOne
 *OrderDependency: 10.0 AnySetup *PowerSave
 *DefaultPowerSave: 5
@@ -210,6 +199,17 @@
 *JamRecovery False/Off: ""
 *JamRecovery True/On: ""
 *CloseUI: *JamRecovery
+*OpenUI *ColorModel/Color Mode: PickOne
+*OrderDependency: 10.0 AnySetup *ColorModel
+*DefaultColorModel: Gray
+*ColorModel Gray/Grayscale: "<</cupsColorSpace 3/cupsColorOrder 0/cupsCompression 17>>setpagedevice"
+*CloseUI: *ColorModel
+*OpenUI *Resolution: PickOne
+*OrderDependency: 10.0 AnySetup *Resolution
+*DefaultResolution: 600dpi
+*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
+*Resolution 300dpi/300 DPI: "<</HWResolution[300 300]/cupsBitsPerColor 1/cupsRowCount 0/cupsRowFeed 0/cupsRowStep 0/cupsColorSpace 3>>setpagedevice"
+*CloseUI: *Resolution
 *OpenUI *Duplex/2-Sided Printing: PickOne
 *OrderDependency: 10.0 AnySetup *Duplex
 *DefaultDuplex: None
@@ -253,4 +253,4 @@
 *Font Times-Roman: Standard "(1.05)" Standard ROM
 *Font ZapfChancery-MediumItalic: Standard "(1.05)" Standard ROM
 *Font ZapfDingbats: Special "(001.005)" Special ROM
-*% End of ml1610.ppd, 13596 bytes.
+*% End of ml1610.ppd, 13614 bytes.

Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

this is the original PPD created in intrepid.

Revision history for this message
Martin Pitt (pitti) wrote :

This is the working PPD from a freshly created printer.

Most of the diff seems to be noise, however, I suspect this is the culprit:

-*cupsFilter: "application/vnd.cups-splixraster 0 rastertoqpdl"
+*cupsFilter: "application/vnd.cups-raster 0 rastertoqpdl"

Revision history for this message
Martin Pitt (pitti) wrote :

Till, this is presumably something easy, like a file renaming. Any idea why this broke?

Thanks!

affects: cups (Ubuntu) → splix (Ubuntu)
Changed in cups (Ubuntu):
assignee: nobody → till-kamppeter
tags: added: regression-potential
Steve Beattie (sbeattie)
tags: added: jaunty regression-release
removed: regression-potential
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fixed uploaded to Karmic.

Changed in splix (Ubuntu):
status: New → Fix Committed
summary: - [Samsung ML-1610] intrepid->jaunty upgrade causes "format not supported"
- for existing PPDs
+ [Samsung ML-1610] intrepid->jaunty upgrade does not upgrade the PPDs of
+ the existing print queues.
summary: [Samsung ML-1610] intrepid->jaunty upgrade does not upgrade the PPDs of
- the existing print queues.
+ the existing print queues
Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: [Samsung ML-1610] intrepid->jaunty upgrade does not upgrade the PPDs of the existing print queues

I have prepared also an SRU for Jaunty and uploaded it. It is in the queue waiting for approval now. The debdiff is attached.

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

splix 2.0.0-0.1ubuntu4 uploaded to Karmic

Changed in splix (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted splix into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in splix (Ubuntu Jaunty):
status: New → Fix Committed
tags: added: verification-needed
summary: - [Samsung ML-1610] intrepid->jaunty upgrade does not upgrade the PPDs of
- the existing print queues
+ SpliX printer driver: intrepid->jaunty upgrade does not upgrade the PPDs
+ of the existing print queues
Revision history for this message
Martin Burch (mburch) wrote :

The proposed splix package works for me. My pre-upgrade print queue is working again.

Revision history for this message
Tan Kah Ping (kahping) wrote :

Hi,

I've downloaded the splix update from jaunty-proposed and it works for me. thanks.

Revision history for this message
Martin Borho (martin-borho) wrote :

splix update from jaunty-proposed works for me too, thanks!

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package splix - 2.0.0-0.1ubuntu3.1

---------------
splix (2.0.0-0.1ubuntu3.1) jaunty-proposed; urgency=low

  * debian/splix.postinst: Improved regexp for matching the Nickname in the
    PPDs of the existing print queues with the new PPDs of this package
    (LP: #367650, LP: #352472)
  * debian/control: Added "cups" to Depends: as a running CUPS daemon is needed
    for the automatic update of existing print queues (LP: #367650, LP: #352472).

 -- Till Kamppeter <email address hidden> Thu, 26 Mar 2009 16:57:49 +0100

Changed in splix (Ubuntu Jaunty):
status: Fix Committed → Fix Released
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.