Summary: | kde printer configurator corrupts JobSheets option in cups printer.conf configuration file. | ||
---|---|---|---|
Product: | [Unmaintained] system-config-printer-kde | Reporter: | p92 |
Component: | general | Assignee: | Jonathan Riddell <jr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asraniel, domlyons, janow49420, thcourbon |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
orientation option in kde printing configurator
okular default options for cover pages |
Description
p92
2010-10-19 19:44:49 UTC
Created attachment 52684 [details]
orientation option in kde printing configurator
Created attachment 52685 [details]
okular default options for cover pages
Okular command line when printing. okular(31823)/okular (app) Okular::FilePrinter::doPrintFiles: Executing "lpr" with arguments ("-P", "DESKJET_970C", "-#1", "-J", "toto.pdf", "-o", "media=A4", "-o", "portrait", "-o", "sides=one-sided", "-o", "outputorder=normal", "-o", "Collate=False", "-r", "/tmp/kde-pascal/okularG31823.ps") lpr: Bad job-sheets value ""! Well ok I found the real culprit, it is the kde printer configuration panel which does not correctly copy the JobSheets options back to cups printers.conf configuration file. pascal@minipc:/etc/cups$ sudo diff -u ~/tmp/printers.conf.before ~/tmp/printers.conf.after --- /home/pascal/tmp/printers.conf.before 2010-10-19 20:14:44.190758002 +0200 +++ /home/pascal/tmp/printers.conf.after 2010-10-19 20:12:58.530757999 +0200 @@ -7,16 +7,17 @@ MakeModel HP Deskjet 970c, hpcups 3.10.6 DeviceURI dnssd://usbprinter._printer._tcp.local/ State Idle -StateTime 1287512031 +StateTime 1287509009 Type 36876 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-raster 0 hpcups Accepting Yes Shared Yes -JobSheets none none +JobSheets QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job +Option orientation-requested 3 </Printer> pascal@minipc:/etc/cups$ ------------------------------------------------------------------------ Is is possible to reassign this bug to the correct product ? And change the title to : "kde printer configurator corrupts JobSheets option in cups printer.conf configuration file." the product could be system-config-printer-kde *** Bug 257178 has been marked as a duplicate of this bug. *** The bug 257178 is a duplicate of this one and I can confirm the issue, not only with okular but also with Firefox (whereas Krita and Kwrite work for example). I fail to understand why some applications work. Appending none to the JobSheets configuration file's line doesn't break the working applications. The bug is also mentioned on https://bugs.launchpad.net/kdeadmin/+bug/403169 Still onfirmed with kde 4.5.5 SVN commit 1220673 by jriddell: Don't mark as changed when adding new job options, causes UI not to be filled (will be marked as changed when editing the options instead) BUG:254672 M +1 -1 system-config-printer-kde.py WebSVN link: http://websvn.kde.org/?view=rev&revision=1220673 SVN commit 1220674 by jriddell: Backport revision 1220673 Don't mark as changed when adding new job options, causes UI not to be filled (will be marked as changed when editing the options instead) BUG:254672 M +1 -1 system-config-printer-kde.py WebSVN link: http://websvn.kde.org/?view=rev&revision=1220674 |