Comment 0 for bug 403169

Crusoe (daniel-a-joyce) wrote :

Description: Ubuntu 9.04
Release: 9.04

  Installed: 4:4.2.2-0ubuntu2
  Candidate: 4:4.2.2-0ubuntu2
  Version table:
 *** 4:4.2.2-0ubuntu2 0
        500 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 jaunty-updates/main Packages
     1.3.9-17ubuntu3.1 0
        500 jaunty-security/main Packages
 *** 1.3.9-17ubuntu1 0
        500 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.

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>
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
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job

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.