[Bug 403169] Re: Kubuntu Adding printer via "Printer Configuration" tool results in invalid printers.conf, JobSheets entry incorrect
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Fri May 20 13:20:09 UTC 2011
SRU verification for Lucid:
I have reproduced the problem with kdeadmin 4:4.4.5-0ubuntu1 in lucid-updates and have verified that the version of kdeadmin 4:4.4.5-0ubuntu2 in -proposed fixes the issue.
Marking as verification-done
** Description changed:
Description: Ubuntu 9.04
Release: 9.04
systemsettings:
- Installed: 4:4.2.2-0ubuntu2
- Candidate: 4:4.2.2-0ubuntu2
- Version table:
- *** 4:4.2.2-0ubuntu2 0
- 500 http://ca.archive.ubuntu.com jaunty/main Packages
- 100 /var/lib/dpkg/status
+ Installed: 4:4.2.2-0ubuntu2
+ Candidate: 4:4.2.2-0ubuntu2
+ Version table:
+ *** 4:4.2.2-0ubuntu2 0
+ 500 http://ca.archive.ubuntu.com jaunty/main Packages
+ 100 /var/lib/dpkg/status
cups:
- Installed: 1.3.9-17ubuntu1
- Candidate: 1.3.9-17ubuntu3.2
- Version table:
- 1.3.9-17ubuntu3.2 0
- 500 http://ca.archive.ubuntu.com jaunty-updates/main Packages
- 1.3.9-17ubuntu3.1 0
- 500 http://security.ubuntu.com jaunty-security/main Packages
- *** 1.3.9-17ubuntu1 0
- 500 http://ca.archive.ubuntu.com jaunty/main Packages
- 100 /var/lib/dpkg/status
+ Installed: 1.3.9-17ubuntu1
+ Candidate: 1.3.9-17ubuntu3.2
+ Version table:
+ 1.3.9-17ubuntu3.2 0
+ 500 http://ca.archive.ubuntu.com jaunty-updates/main Packages
+ 1.3.9-17ubuntu3.1 0
+ 500 http://security.ubuntu.com jaunty-security/main Packages
+ *** 1.3.9-17ubuntu1 0
+ 500 http://ca.archive.ubuntu.com jaunty/main Packages
+ 100 /var/lib/dpkg/status
-
- When adding a printer to Kubuntu via the Printer Configuration tool in System Settings, the resulting printer can not be used to print.
+ When adding a printer to Kubuntu via the Printer Configuration tool in
+ System Settings, the resulting printer can not be used to print.
Checking the cups error log, I saw:
E [22/Jul/2009:08:03:39 -0700] Syntax error on line 11 of printers.conf.
Printing from Okular, Evince and Firefox all silently fail. IE, it looks
like it worked, but nothing shows in the CUPS queue, no output is seen
from the printer.
I looked in /etc/cups/printers.conf...
# Printer configuration file for CUPS v1.3.9
# Written by cupsd on 2009-07-22 11:18
<DefaultPrinter HP_LaserJet_P2055x>
- Info
+ Info
Location Main Dev Office
DeviceURI socket://xxxxxxxx <<<<-- Removed to protect the innocent
State Idle
StateTime 1248285665
Accepting Yes
Shared Yes
- JobSheets <<<-- Line 11, changing to "JobSheets none" fixes the issue
+ JobSheets <<<-- Line 11, changing to "JobSheets none" fixes the issue
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
Many folks report problems printing to network printers after adding
them, and the above change fixed the issue for me.
I don't know if the issue IS with cups, or if the KDE4 tool directly
edits this file.
+
+
+ TEST CASE:
+ with the old package
+ run kcmshell4 system-config-printer-kde
+ edit an option of your printer
+ click apply or OK
+ run sudo stop cups
+ check /etc/cups/printers.conf, JobSheet should have no arguments, this is the result of this bug
+
+ run sudo start cups
+ install the new package
+ run kcmshell4 system-config-printer-kde
+ edit an option of your printer
+ click apply or OK
+ run sudo stop cups
+ check /etc/cups/printers.conf, JobSheet should have arguments "none none" (or whatever you set it to)
** Tags added: verification-done
** Tags removed: verification-needed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdeadmin in Ubuntu.
https://bugs.launchpad.net/bugs/403169
Title:
Kubuntu Adding printer via "Printer Configuration" tool results in
invalid printers.conf, JobSheets entry incorrect
More information about the kubuntu-bugs
mailing list