Hello I'm having a strange problem sharing a Brother HL-L2340DW printer on CUPS with Slackware64 14.2 multilib.
I think the drivers all right because I can print locally with CUPS.
But the problem is that the machine I'm using has video card issues so I'm not using X at all.
I use this machine by SSH.
I tried to configure CUPS there.
I edit the cupsd.conf to allow admin access from another machine. And I think I made the right configuration.
I tried to configure it using the web interface.
I can add the printer. I can print test pages. I can make it server default. But when I choose share printer the printer always show "Not shared".
This is my cupsd.conf
Code:
#
# 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
PageLogFormat
# Only listen for connections from the local machine.
Listen 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow 192.168.1.*
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow localhost
Allow 192.168.1.40
</Location>
Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 192.168.1.40
</Location>
# Restrict access to log files...
<Location /admin/log>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 192.168.1.40
</Location>
The other settings I didn't change. They are still default.
I take a look on printers.conf and it shows "Shared Yes".
I even tried using lpadmin
Code:
lpadmin -p printer -o printer-is-shared=true
And
Code:
cupsctl --share-printers --remote-any
Nothing works.
I have another machine running Debian.
Installed cups and the printer drivers.
I set all the CUPS settings also with the web interface and it's showed shared immediately.
What I am missing on Slackware64 14.2 configuration?