| Summary: | Print dialog hangs application | ||
|---|---|---|---|
| Product: | [Unmaintained] kdeprint | Reporter: | Nicolas Laplante <nicolas.laplante> |
| Component: | general | Assignee: | Michael Goffioul <kdeprint_bugs> |
| Status: | CLOSED WORKSFORME | ||
| Severity: | normal | CC: | admr_rat, jlayt, wilbert |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nicolas Laplante
2002-10-09 00:10:24 UTC
*** Bug 48908 has been marked as a duplicate of this bug. *** *** Bug 47692 has been marked as a duplicate of this bug. *** Could you try to compile the following piece of C-code
(use "gcc -o ppd ppd.c -lcups"), and run it by giving a printer
name as argument. This little test program should try to
retrieve the printer driver of the given printer, like
KDEPrint is doing, and that might cause it to hang.
In a normal run, you should see on stdout a location
indicating where the driver has been downloaded.
Michael.
FILE: ppd.c
======================
#include <cups/cups.h>
#include <stdio.h>
int main( int argc, char **argv )
{
Ok I got it working.
First your ppd.c file resulted in this:
[code]
nlaplan@blacksnake c $ ./ppd lp
filename: /var/tmp/3da4484c6af86
Now let me tell you how I got it to work:
First I tried to open the KDE print manager. It hanged, for like 5-6 minutes.
I almost forgot it.
Then it came up and I clicked on my printer's name (lp), 'Print manager' and
then 'Configure manager';
In the cups server tab, I saw something about a username and password. But
since I'm not on a local network and CUPS is running on my localhost, I
clicked on "use anonymous access" . Since then, there's no wait time at all
when trying to print and all applications seem to print well.
I had the same problem but the anonymous access solution didn't work for me. What did work was to add ServerName <my IP address> to the /etc/cups/cupsd.conf. My cfg is Mandrake cooker (i.e. gcc 3.2), KDE CVS Closing old Resolved status bug. |