You are not logged in.

#1 2010-11-24 23:11:24

colbert
Member
Registered: 2007-12-16
Posts: 809

[SOLVED] Printer not showing up in print options but working (CUPS)

I am using Lexmark X1270 and have got it working via CUPS web interface (printed test page and all), but even after restarting CUPS daemon and rebooting, it does not show up in File > Print in any apps like Firefox, Openoffice, etc. All I see in the print is "Print to file," no printer shows up.

Last edited by colbert (2010-12-11 03:18:44)

Offline

#2 2010-12-06 15:12:42

borlox
Member
Registered: 2010-12-06
Posts: 4

Re: [SOLVED] Printer not showing up in print options but working (CUPS)

Same problem here with a HP LaserJet Professional 1102W.

Also:

[luc@borlox ~]$ lp
lp: Error - scheduler not responding!
[luc@borlox ~]$ lpstat -a
lpstat: Connection refused

/var/log/cups/error_log:

W [06/Dec/2010:14:27:23 +0100] Duplicate listen address "127.0.0.1" ignored!
E [06/Dec/2010:14:27:23 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
W [06/Dec/2010:14:30:19 +0100] Duplicate listen address "127.0.0.1" ignored!
E [06/Dec/2010:14:30:19 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported

/etc/cups/cupsd.conf:

#
# "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $"
#
# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn

# Administrator user group...
SystemGroup sys root

HostNameLookups Double

# Only listen for connections from the local machine.
Listen localhost:631
Listen 127.0.0.1:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow from All
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <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 CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <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>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <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 CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <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>

  # All printer operations require a printer operator to authenticate...
  <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>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $".
#

I would be very thankful for any hint.

Offline

#3 2010-12-07 03:21:08

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Printer not showing up in print options but working (CUPS)

Sorry mate, I couldn't get this one resolved even after reboots and a CUPS reinstall. I had other issues with Xorg as well, I wound up reinstalling Arch and now it is in fact working (printer showing up in File > Print in GTK apps). And so not solved, just kind of worked around... sad

Offline

#4 2010-12-10 22:23:12

borlox
Member
Registered: 2010-12-06
Posts: 4

Re: [SOLVED] Printer not showing up in print options but working (CUPS)

Finally got it working by replacing in:

a) cupsd.conf all lines beginning with "Listen" with:
Port 631

b) client.conf commenting out all lines except for:
ServerName localhost:631

[Solved] for me (although I've got another cups problem with another machine meanwhile).

Offline

#5 2010-12-11 03:17:39

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Printer not showing up in print options but working (CUPS)

Great job! Surely others will be helped by this and myself too, in case the issue resurfaces. Appreciated! Will mark post as solved big_smile smile

Offline

#6 2014-12-30 21:00:29

oppie328
Member
Registered: 2014-12-30
Posts: 2

Re: [SOLVED] Printer not showing up in print options but working (CUPS)

This old thread solved the same problem for me and my HP Laserjet P1102w.

A little clarity though...(using Cups 2.0.1)

1) edited /etc/cups/client.conf to only contain ServerName localhost:631

2) in /etc/cups/cupsd.conf my "Listen lines" I set "Listen localhost:631" and removed Listen /run/cups/cups.sock

Thank you borlox your post set me down the path to solution!

Offline

#7 2017-03-17 18:57:14

Krux02
Member
Registered: 2017-03-17
Posts: 1

Re: [SOLVED] Printer not showing up in print options but working (CUPS)

I have exactly this problem, and it is not solved, there is no '/etc/cups/client.conf'.

Offline

#8 2017-03-17 21:04:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [SOLVED] Printer not showing up in print options but working (CUPS)

Krux, welcome to the forum.  I doubt you actually have the same problem - you just have a superficially similar symptom.  If you had the same problem, it would be solved with the same solution - but that's not the case here.

The file in question likely does not exist because it may have been what was used 7 years ago when this thread was created.  A lot changes in 7 years.  If you need help with your issue, first please read the wiki page on cups, then feel free to open your own thread describing your problem.

Closed.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB