Version: (using KDE KDE 3.0.8) Installed from: Gentoo Packages Compiler: gcc-3.2 -march=athlon-xp -mcpu=athlon-xp -O3 OS: Linux When trying to print a document in any app that use kdeprint, the print dialog hanges and is not fully painted. I can't choose any option nor close the application. I have to use xkill. The KDE print control center has the same problem, as soon as CUPS is chosen as the printing subsystem. I'm using CUPS as the printing backend. BTW, in the bottom of the print dialog, there's a line which says: "Connected to localhost:631" and it sits there forever. I looked in the CUPS configuration and there are no access restrictions. I even deleted my ~/.kde/share/config/kdeprintrc but it didn't work. Printing a document (ie. lpr somefile.pdf) works from the command line.
*** 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.