Summary: | kprinter refuses to print (error while printing files) | ||
---|---|---|---|
Product: | [Unmaintained] kdeprint | Reporter: | mani |
Component: | general | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | jlayt |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | strace output |
Description
mani
2005-09-23 21:13:27 UTC
On 23 September 2005 15:13, mani@access.unizh.ch wrote: > When installing the very same printer with the very same driver but just > with a different printer name, I can print without problems. What name do you give to the printer when it doesn't work and what name when it works? Not working is the printer name LaserJet4050 Working is LaserJet4050#2 But LaserJet4050 used to work until something very strange happened, and I have no glue what that could be. One more detail that might be of importance. It already happend once and at that time I just decided to stay with another printer name. Those two printers have in common that they are connected by TCP. Created attachment 12787 [details]
strace output
strace -olog /tmp/test.ps
selected printer was LaserJet4050 and printing got activated with ALT-P and
error message got confirmed with ENTER (no mouse movement during printing).
/tmp/test.ps is a valid ps file and can be printed on the LaserJet4050#2
Hope this helps to nail down the problem.
Two more questions: 1) what is in your ~/.lpoptions file 2) ca you print with lpr from the command line to the printer name with which kprinter fails? marco@pingu ~ $ more .lpoptions Dest LaserJet4050 PageSize=A4 Resolution=600dpi _kde-filters=true Default LaserJet5 _kde-filters=true Those 2 Printers are exactly the ones that can not be accessed. Why? And what caused those entries? I never manually edited this file. marco@pingu ~ $ echo "foo" | lpr -PLaserJet4050 prints like a charm. Remove the _kde-filters=true items. This comes from an incompatibility between kdeprint and CUPS. To make it short, when editing this file with CUPS (through lpoptions for example), an item like "_kde-filters=" is converted to "_kde-filters=true" which kdeprint doesn't understand. Michael. Michael, thanks! It's working again. Seems there are other ways on how the ~/.lpoptions is adjusted since I did not even know about lpoptions (it seems to me that while updating a package something must have happened but this still seems strange since updating packages is done by root and ~/ is a normal user). Wouldn't it be an idea to make kprinter understand _kde-filters=true? Or is it CUPS that does not obey the standards? Thanks again! This really caused some pain here. It's not a standard, it's CUPS-specific stuff. So I guess it's up to kdeprint to be more compliant with CUPS :-) According to comment 8 this bug can be closed as FIXED. Closing old Resolved status bug. |