kprinter polling

Kurt Pfeifle k1pfeifle at gmx.net
Sat Nov 27 16:39:02 CET 2004


On Saturday 27 November 2004 13:02, Frank Siegert wrote:
> Thanks for your answers.

I'm on the list -- no need to CC: me....  ;-)

> My kdeprintrc looks like this:
>  [General]
>  PrintSystem=cups
>  Orientation=1
>  ViewType=1
>  ViewToolBar=false
>  ViewMenuBar=true
>  ViewPrinterInfos=true
> 
> Anything wrong with that?

Looks OK. I had suscpected that you had something like this included

  [CUPS]
  Host=12.13.14.15
  Login=myusername-on-12.13.14.15
  Port=631
  SavePassword=true

This would have made kprinter trying to login and access cupsd at
remote IP 12.13.14.15

> I had already set "Browsing no" in my cupsd.conf and since cupsd starts on 
> bootup without "requesting a connection", I suppose, CUPS is configured ok? 
> Thanks anyways for explaining the details on this Browsing option.
> 
> Here is my cupsd.conf without the comments:
> ===============
> # cat /etc/cups/cupsd.conf | grep ^[[:alnum:]]

This regex misses all lines starting with a "<", such as
the <Location....> tags....

> ServerName localhost
> Classification none
> DefaultCharset UTF-8
> DefaultLanguage en
> Printcap /etc/printcap
> PrintcapFormat BSD
> RemoteRoot remroot
> SystemGroup sys
> ServerCertificate /etc/cups/ssl/server.crt
> ServerKey /etc/cups/ssl/server.key
> Encryption IfRequested
> Satisfy All
> Order deny,allow
> Deny From All
> Allow From 127.0.0.1
> AuthType Basic
> AuthClass System
> Encryption IfRequested
> Satisfy All
> Order deny,allow
> Deny From All
> Allow From 127.0.0.1
> HostnameLookups Off
> KeepAlive On
> KeepAliveTimeout 60
> MaxClients 100
> MaxRequestSize 0m
> Timeout 300
> Listen localhost:631
> AccessLog /var/log/cups/access_log
> ErrorLog /var/log/cups/error_log
> PageLog /var/log/cups/page_log
> MaxLogSize 1m
> LogLevel info
> PreserveJobHistory On
> PreserveJobFiles Off
> AutoPurgeJobs No
> MaxJobs 0
> MaxJobsPerPrinter 0
> MaxJobsPerUser 0
> User lp
> Group sys
> RIPCache 8m
> FilterLimit 0
> DataDir /usr/share/cups
> DocumentRoot /usr/share/cups/doc
> RequestRoot /var/spool/cups
> ServerBin /usr/lib/cups
> ServerRoot /etc/cups
> TempDir /var/spool/cups/tmp
> Browsing Off
> ===============
> 
> Anything wrong with that?

Looks good. One other option that could make CUPS clients to access
a remote CUPS print server instead of the localhost one is the existence
of one or two files:

  $HOME/.cupsrc
  /etc/cups/client.conf

with the directive "ServerName [some-remote-host-put-in-here]".

> Thanks for the help,
> Frank

Cheers,
Kurt


More information about the kde-print mailing list