You are not logged in.

#1 2012-12-06 19:46:08

xanb
Member
Registered: 2012-07-24
Posts: 420

Can't see printers in cups 1.5

Hi,

I have cups 1.5.4 installed and Samsung ML2510 printer which is running (I could print test page), but I can't see my printer in my network.

What can I do for detecting the causes of this problem?

Thanks in advance,
Xan.

PS: Please don't say that I have to upgrade to cups 1.6, because I have to have CUPS protocol, and not avahi protocol.


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#2 2012-12-06 20:06:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't see printers in cups 1.5

Add the server address/hostname to your client.conf and it should just work™


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-12-07 19:10:38

xanb
Member
Registered: 2012-07-24
Posts: 420

Re: Can't see printers in cups 1.5

thanks, jasonwryan, but I but clients.conf pointing to my server, I get the same result: I can't see printers.

The configuration is in the client:

$ cat /etc/cups/client.conf 
# see 'man client.conf'
#ServerName /var/run/cups/cups.sock #  alternative: ServerName hostname-or-ip-address[:port] of a remote server
ServerName 172.26.0.2
ServerName 172.26.0.3
#ServerName 10.216.147.26

In the server:

# cat /etc/cups/cupsd.conf
# Show troubleshooting information in error_log.
LogLevel debug
SystemGroup lpadmin
# Allow remote access
Port 631
#Listen localhost:631
#Listen 172.26.0.2
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
#BrowseAllow all
BrowseAddress @LOCAL
BrowseLocalProtocols cups
BrowseRemoteProtocols cups
DefaultAuthType Basic
<Location />
  # Allow shared printing...
  Order allow,deny
  Allow @LOCAL
#  Allow 172.26.0.*
# No tenia aquesta darrera línia
</Location>
<Location /admin>
  # Restrict access to the admin pages...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  # Restrict access to the configuration files...
  Order allow,deny
  Allow @LOCAL
#  Allow 172.26.0.*
</Location>
<Policy default>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

With the same server configuration, I have debian with another cups server (1.4.4 version) and I see printers in this sever, but in the archlinux, not.

I don't know what it fails. The error_log has not any errors:

I [07/Dec/2012:20:09:06 +0100] Remote access is enabled.
D [07/Dec/2012:20:09:06 +0100] Added auto ServerAlias negre
I [07/Dec/2012:20:09:06 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
D [07/Dec/2012:20:09:06 +0100] Repairing ownership of "/var/run/cups"
D [07/Dec/2012:20:09:06 +0100] Creating missing directory "/var/run/cups/certs"
D [07/Dec/2012:20:09:06 +0100] Repairing ownership of "/var/run/cups/certs"
D [07/Dec/2012:20:09:06 +0100] Repairing access permissions of "/var/run/cups/certs"
I [07/Dec/2012:20:09:06 +0100] Using default TempDir of /var/spool/cups/tmp...
I [07/Dec/2012:20:09:06 +0100] Configured for up to 100 clients.
I [07/Dec/2012:20:09:06 +0100] Allowing up to 100 client connections per host.
I [07/Dec/2012:20:09:06 +0100] Using policy "default" as the default.
I [07/Dec/2012:20:09:06 +0100] Full reload is required.
I [07/Dec/2012:20:09:07 +0100] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 39 types, 52 filters...
D [07/Dec/2012:20:09:07 +0100] Loading printer Impressora_PDF...
D [07/Dec/2012:20:09:07 +0100] load_ppd: Loading /var/cache/cups/Impressora_PDF.data...
D [07/Dec/2012:20:09:07 +0100] cupsdRegisterPrinter(p=0xb92feb20(Impressora_PDF))
D [07/Dec/2012:20:09:08 +0100] Loading printer Samsung_ML-2510...
D [07/Dec/2012:20:09:08 +0100] load_ppd: Loading /var/cache/cups/Samsung_ML-2510.data...
D [07/Dec/2012:20:09:08 +0100] cupsdRegisterPrinter(p=0xb93014c8(Samsung_ML-2510))
I [07/Dec/2012:20:09:08 +0100] Loading job cache file "/var/cache/cups/job.cache"...
D [07/Dec/2012:20:09:08 +0100] [Job 9] Loading from cache...
I [07/Dec/2012:20:09:08 +0100] Full reload complete.
D [07/Dec/2012:20:09:08 +0100] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [07/Dec/2012:20:09:08 +0100] Cleaning out old files in "/var/spool/cups/tmp"...
D [07/Dec/2012:20:09:08 +0100] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [07/Dec/2012:20:09:08 +0100] Cleaning out old files in "/var/cache/cups"...
D [07/Dec/2012:20:09:08 +0100] systemd_checkin: Matched existing listener /var/run/cups/cups.sock with fd 3...
D [07/Dec/2012:20:09:08 +0100] systemd_checkin: Matched existing listener [v1.::] with fd 4...
D [07/Dec/2012:20:09:08 +0100] systemd_checkin: Matched browse (port 631) with fd 5:0.0.0.0...
I [07/Dec/2012:20:09:08 +0100] Listening to 0.0.0.0:631 on fd 11...
I [07/Dec/2012:20:09:08 +0100] Listening to [v1.::]:631 on fd 4...
I [07/Dec/2012:20:09:08 +0100] Listening to /var/run/cups/cups.sock:631 on fd 3...
I [07/Dec/2012:20:09:08 +0100] Resuming new connection processing...
D [07/Dec/2012:20:09:08 +0100] cupsdRegisterPrinter(p=0xb92feb20(Impressora_PDF))
D [07/Dec/2012:20:09:08 +0100] cupsdRegisterPrinter(p=0xb93014c8(Samsung_ML-2510))
D [07/Dec/2012:20:09:08 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [07/Dec/2012:20:09:08 +0100] Discarding unused server-started event...
D [07/Dec/2012:20:09:09 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:09:09 +0100] cupsdNetIFUpdate: "eth0" = 172.26.0.3:631
D [07/Dec/2012:20:09:09 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:09:09 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::92e6:baff:fe1a:e247+eth0]:631
D [07/Dec/2012:20:09:09 +0100] Report: clients=0
D [07/Dec/2012:20:09:09 +0100] Report: jobs=1
D [07/Dec/2012:20:09:09 +0100] Report: jobs-active=0
D [07/Dec/2012:20:09:09 +0100] Report: printers=2
D [07/Dec/2012:20:09:09 +0100] Report: printers-implicit=0
D [07/Dec/2012:20:09:09 +0100] Report: stringpool-string-count=15250
D [07/Dec/2012:20:09:09 +0100] Report: stringpool-alloc-bytes=9504
D [07/Dec/2012:20:09:09 +0100] Report: stringpool-total-bytes=271568
D [07/Dec/2012:20:09:14 +0100] process_browse_data: Samsung_ML-2510@172.26.0.2 not found...
D [07/Dec/2012:20:09:14 +0100] Added remote printer "Samsung_ML-2510@172.26.0.2"...
D [07/Dec/2012:20:09:14 +0100] Discarding unused printer-added event...
D [07/Dec/2012:20:09:14 +0100] cupsdMarkDirty(---p--)
D [07/Dec/2012:20:09:14 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Not busy"
D [07/Dec/2012:20:09:14 +0100] cupsdMarkDirty(--R---)
D [07/Dec/2012:20:09:14 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [07/Dec/2012:20:09:14 +0100] cupsdMarkDirty(--Rp--)
D [07/Dec/2012:20:09:14 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [07/Dec/2012:20:09:14 +0100] cupsdRegisterPrinter(p=0xb93d9880(Samsung_ML-2510@172.26.0.2))
D [07/Dec/2012:20:09:40 +0100] Avahi client started
D [07/Dec/2012:20:09:45 +0100] Saving remote.cache...
I [07/Dec/2012:20:09:46 +0100] Generating printcap /etc/printcap...
D [07/Dec/2012:20:09:46 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [07/Dec/2012:20:10:11 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:10:11 +0100] cupsdNetIFUpdate: "eth0" = 172.26.0.3:631
D [07/Dec/2012:20:10:11 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:10:11 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::92e6:baff:fe1a:e247+eth0]:631
D [07/Dec/2012:20:10:11 +0100] Report: clients=0
D [07/Dec/2012:20:10:11 +0100] Report: jobs=1
D [07/Dec/2012:20:10:11 +0100] Report: jobs-active=0
D [07/Dec/2012:20:10:11 +0100] Report: printers=3
D [07/Dec/2012:20:10:11 +0100] Report: printers-implicit=0
D [07/Dec/2012:20:10:11 +0100] Report: stringpool-string-count=15305
D [07/Dec/2012:20:10:11 +0100] Report: stringpool-alloc-bytes=9992
D [07/Dec/2012:20:10:11 +0100] Report: stringpool-total-bytes=272960
D [07/Dec/2012:20:11:13 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:11:13 +0100] cupsdNetIFUpdate: "eth0" = 172.26.0.3:631
D [07/Dec/2012:20:11:13 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:11:13 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::92e6:baff:fe1a:e247+eth0]:631
D [07/Dec/2012:20:11:13 +0100] Report: clients=0
D [07/Dec/2012:20:11:13 +0100] Report: jobs=1
D [07/Dec/2012:20:11:13 +0100] Report: jobs-active=0
D [07/Dec/2012:20:11:13 +0100] Report: printers=3
D [07/Dec/2012:20:11:13 +0100] Report: printers-implicit=0
D [07/Dec/2012:20:11:13 +0100] Report: stringpool-string-count=15305
D [07/Dec/2012:20:11:13 +0100] Report: stringpool-alloc-bytes=9992
D [07/Dec/2012:20:11:13 +0100] Report: stringpool-total-bytes=272960
D [07/Dec/2012:20:12:15 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:12:15 +0100] cupsdNetIFUpdate: "eth0" = 172.26.0.3:631
D [07/Dec/2012:20:12:15 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:12:15 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::92e6:baff:fe1a:e247+eth0]:631
D [07/Dec/2012:20:12:15 +0100] Report: clients=0
D [07/Dec/2012:20:12:15 +0100] Report: jobs=1
D [07/Dec/2012:20:12:15 +0100] Report: jobs-active=0
D [07/Dec/2012:20:12:15 +0100] Report: printers=3
D [07/Dec/2012:20:12:15 +0100] Report: printers-implicit=0
D [07/Dec/2012:20:12:15 +0100] Report: stringpool-string-count=15305
D [07/Dec/2012:20:12:15 +0100] Report: stringpool-alloc-bytes=9992
D [07/Dec/2012:20:12:15 +0100] Report: stringpool-total-bytes=272960
D [07/Dec/2012:20:13:17 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:13:17 +0100] cupsdNetIFUpdate: "eth0" = 172.26.0.3:631
D [07/Dec/2012:20:13:17 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:13:17 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::92e6:baff:fe1a:e247+eth0]:631
D [07/Dec/2012:20:13:17 +0100] Report: clients=0
D [07/Dec/2012:20:13:17 +0100] Report: jobs=1
D [07/Dec/2012:20:13:17 +0100] Report: jobs-active=0
D [07/Dec/2012:20:13:17 +0100] Report: printers=3
D [07/Dec/2012:20:13:17 +0100] Report: printers-implicit=0
D [07/Dec/2012:20:13:17 +0100] Report: stringpool-string-count=15305
D [07/Dec/2012:20:13:17 +0100] Report: stringpool-alloc-bytes=9992
D [07/Dec/2012:20:13:17 +0100] Report: stringpool-total-bytes=272960
D [07/Dec/2012:20:14:19 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:14:19 +0100] cupsdNetIFUpdate: "eth0" = 172.26.0.3:631
D [07/Dec/2012:20:14:19 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:14:19 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::92e6:baff:fe1a:e247+eth0]:631
D [07/Dec/2012:20:14:19 +0100] Report: clients=0
D [07/Dec/2012:20:14:19 +0100] Report: jobs=1
D [07/Dec/2012:20:14:19 +0100] Report: jobs-active=0
D [07/Dec/2012:20:14:19 +0100] Report: printers=3
D [07/Dec/2012:20:14:19 +0100] Report: printers-implicit=0
D [07/Dec/2012:20:14:19 +0100] Report: stringpool-string-count=15305
D [07/Dec/2012:20:14:19 +0100] Report: stringpool-alloc-bytes=9992
D [07/Dec/2012:20:14:19 +0100] Report: stringpool-total-bytes=272960
D [07/Dec/2012:20:15:21 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:15:21 +0100] cupsdNetIFUpdate: "eth0" = 172.26.0.3:631
D [07/Dec/2012:20:15:21 +0100] cupsdNetIFUpdate: "lo" = localhost:631
D [07/Dec/2012:20:15:21 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::92e6:baff:fe1a:e247+eth0]:631
D [07/Dec/2012:20:15:21 +0100] Report: clients=0
D [07/Dec/2012:20:15:21 +0100] Report: jobs=1
D [07/Dec/2012:20:15:21 +0100] Report: jobs-active=0
D [07/Dec/2012:20:15:21 +0100] Report: printers=3
D [07/Dec/2012:20:15:21 +0100] Report: printers-implicit=0
D [07/Dec/2012:20:15:21 +0100] Report: stringpool-string-count=15305
D [07/Dec/2012:20:15:21 +0100] Report: stringpool-alloc-bytes=9992
D [07/Dec/2012:20:15:21 +0100] Report: stringpool-total-bytes=272960

What can I do? Thanks in advance,
Xan.


Owning one OpenRC (artoo way) and other three systemd machines

Offline

Board footer

Powered by FluxBB