Cannot print from KDE applications
Smitty
kde-print@mail.kde.org
Tue, 21 Jan 2003 22:40:38 -0500
Thank you Mike and Till. I did make the amendments to the
/etc/cups/cups.conf_new file as suggested. (In suse the cups.conf file is a
template) I did not see anything in the file that would have prevented cups
from printing. What I did this time was wait and see if kde would print.
Before, if it did not print quickly, I would kill the app. After clicking
print, it took about 1½ minutes for the print window to come up and then
after clicking print, it took about 3 minutes until the data was dumped to
the printer.
Could this be a process priority issue with a kde printing binary?
If so, how would I correct it?
Regards,
Smitty
On Tuesday 21 January 2003 03:58, Michael Goffioul wrote:
> > I am using suse 8.1 with kde 3.0.4 I have CUPS installed and configured
> > both with YaST2 and the KDE control center. I can print from the command
> > line using lpr -Plp /pathtofile and from staroffice. I cannot print
> > from kmail, knode, or konqueror as a user or as root. When I click the
> > print icon or click print from the File menu, the application freezes. I
> > don't know what I have done to cause this. Would anyone have any
> > suggestions?
>
> I think I already answered you to the private mails I received,
> yesterday. Anyway, the common problem under SuSE is that the
> default cupsd.conf file forbids any non local connections on
> all resources, but still mentionned the network name of the
> computer in the printer URIs. So you end up with a CUPS server
> that broadcasts its printer with URIs like:
>
> ipp://pcname:631/printers/printername
>
> And when a remote client tries to connect to pcname, the connection
> either gets refused, or hangs up (hence the application freeze).
> There are 2 solutions to that, by editing cupsd.conf:
>
> 1) specify "localhost" as "ServerName" (then it's better to also
> disable broadcasting)
>
> 2) relax access restrictions on the "/" resource, using something
> like
>
> <Location />
> Deny From All
> Allow From 127.0.0.1
> Allow From 243.67.*
> </Location>
>
> (where you replace 243.67.* with your own subnet)
>
> Bye.
> Michael.