KDE-apps does not print.

Christer Sandberg christer.sandberg at mdh.se
Tue Jul 10 13:03:36 CEST 2007


Thanks for your respons.
Tuesday 10 July 2007 wrote Cristian Tibirna:
> Is the printer managed by a cups server to which your client then relates
> to, or your configure this printer directly on your local machine (which
> probably runs a cups server).
The printer is plugged directly into a router with a cable. My local machine 
runs cups. There is also another machine uilizing the same printer via the 
router. This is a laptop with the same version of Ubuntu. The problems are 
the same when printing with the laptop.

> > The problem is that the printouts from some applications always get stuck
> > in the printing queue. After a short time KJobViewer shows the "Held"
> > state.
>
> What happens when you try to release one of these held jobs?
It goes to processing for a short while, then back to "held" again without any 
printing.

> > If I turn off the printer and send a job it will not get the "Held" state
> > until I turn on the printer.
>
> What is then marked as, before turning on the printer, if not "Held"?
Processing. It is also marked as processing a short while immediately after 
issuing the print command.

> > When I print a test page from the "Printer properties" this looks fine.
>
> From the Printer Properties in KDE Printer Manager?
Yes.

> > The
> > same if I print from Firefox or Gedit.
>
> The same as in "prints correctly" or as in "job gets held"?
Prints correctly.

> > If I print from Open Office Writer the page will be transmitted to the
> > printer, however only the bottom left corner of the page are printed in
> > the upper right corner of the paper (this may be an unrelated problem).
>
> Most assuredly. But your printer gets data, thus we know at least
> communication between your OS and the printer is correct.
>
> > lp, lpr and a2ps prints correctly.
> >
> > I have also tested the same applications under Gnome. Except for OO
> > Writer (that now printed correctly) the all behaved the same under Gnome.
> >
> > I am using the Cups printing system via IPP.
> >
> > There is no driver for ML 2571N available in the list to select from when
> > installing a printer, so I downloaded a package from Samsung homepage,
> > and ran their setup program.
> > After this there turned up a 2570 driver in the list,
>
> In the list of the KDE addprinterwizard?
Yes

> What is this "Normal"? The KDE addprinterwizard, or some Ubuntu tool?
As a Linux user I have not been aware of other tools than the ones available 
in the menus of the system that I am using. Unfortunately the tool does not 
identify itself as one or the other, but I can describe it. In the main 
printer dialog there is a "New Printer" icon, see:
http://www.idt.mdh.se/~csg/tmp/print/installed-printers-dialog.png
when I double-click on that, it starts loading the list of drivers. While 
loading a temporary window shows up whose title is "gnome-cups-add". When 
loading has finished after a couple of seconds the gnome-window closes and a 
wizard shows up. The wizard has 3 steps. The second step allows to choose 
printer brand, and it looks like this:
http://www.idt.mdh.se/~csg/tmp/print/install-printer-wizard.png

> > I get the same result from both.
> >
> > /var/log/cups/error_log show this when I make an unsuccessful print:
> > [...]
> > E [27/Jun/2007:08:14:15 +0200] cupsdAuthorize: Local authentication
> > certificate not found!
> > E [27/Jun/2007:08:14:15 +0200] cupsdAuthorize: Local authentication
> > certificate not found!
> > E [27/Jun/2007:08:14:15 +0200] cupsdAuthorize: Local authentication
> > certificate not found!
> > E [27/Jun/2007:08:14:15 +0200] PID 7950 (/usr/lib/cups/backend/ipp)
> > stopped with status 1!
> > E [27/Jun/2007:08:14:16 +0200] cupsdAuthorize: Local authentication
> > certificate not found!
> > E [27/Jun/2007:08:14:16 +0200] cupsdAuthorize: Local authentication
> > certificate not found!
> > E [27/Jun/2007:08:14:16 +0200] cupsdAuthorize: Local authentication
> > certificate not found!
>
> This might be a problem induced by a particularity in the configuration of
> CUPS in your OS, combined with some path hardwiring that KDEPrint is guilty
> of.
Do you mean that I should report this also to some Ubuntu list?
 
> You might want to deactivate certificate authorization in
> /etc/cups/cupsd.conf and use basic authentication instead.
I would be happy to do that, but I don't know how. There is a section in that 
file that seems to be related. It looks like this:
# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
</Location>
Should I changed this section or add something?

> A bit more information on this in:
> http://bugs.kde.org/show_bug.cgi?id=129137
>
> it's related to Fedora, but it might have something for you too.
Fine, I don't exactely understand it, but I get a vauge feeling that it may be 
the same problem as I have. However, the bug report as well as the comment 
are quite old. In case this will be fixed, will this type of fix be available 
via the update manager, or do I have to wait until next upgrade of Ubuntu?

Do you think I can work around it temporarly some way (like copying files to 
the expected locations etc.)? I have now an empty directory
/var/run/cups/certs/
but no directory named
/etc/cups/certs/

> > Screenshots from my printer settings can be found here:
> >  http://www.idt.mdh.se/~csg/tmp/print/
>
> You might want to add the line
>
> Listen localhost:631
>
> before the line
> Listen /var/run/cups/cups.sock
>
> in /etc/cups/cupsd.conf
It's already there. Probably the Ubuntu basic installation provided that - the 
file has not been hand edited and the date of the file is from before the 
installation date.
-- 
Christer


More information about the kde-print mailing list