LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-01-2008, 12:48 PM   #1
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
Can't print over network after upgrade to Slack 12.1


I recently upgraded from Slackware 12.0 to 12.1 and when I did, my printing (through CUPS) stopped working. I upgraded Gutenprint manually, and now I can print locally, but my printing over the network through Samba isn't working. I can see the printer from my wife's Windows computer, and I can add it, but it says "Access denied, unable to connect" in the Printers window, and it will not print to it.

My firewall rules didn't change, my smb.conf didn't change, and I've made sure that it's shared in CUPS. Is there something else that changed between 12.0 and 12.1 that would cause this?
 
Old 07-01-2008, 03:55 PM   #2
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Original Poster
Rep: Reputation: 30
Update: I can connect to a shared folder just fine, so it looks like the problem is either with CUPS or the printer section of my smb.conf file (not sure what would have changed, but can't think of what else it could be).

Here is my printers section of smb.conf:

Code:
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
# Set public = yes to allow user 'guest account' to print
browseable = yes
guest ok = yes
printable = yes
use client driver = yes
and here is my /etc/cups/printers.conf:

Code:
# Printer configuration file for CUPS v1.3.7
# Written by cupsd on 2008-07-01 00:53
<DefaultPrinter Epson>
Info Epson
DeviceURI usb://EPSON/Stylus%20Photo%20R300
State Idle
StateTime 1214885184
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
and finally, my /etc/cups/cupsd.conf (although I think it's just default):

Code:
LogLevel info
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
  # Allow shared printing...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin>
  Encryption Required
  # Restrict access to the admin pages...
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  # Restrict access to the configuration files...
  Order allow,deny
</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>
Thanks in advance if anyone notices anything that I have wrong.
 
Old 07-03-2008, 09:39 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Check this very similar thread response:

https://www.linuxquestions.org/quest...4/#post3192237
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade from Slack 11 to Slack 12 breaks printer. Sm0k3 Slackware 1 09-22-2007 07:10 AM
Slack 11 Network Print server - Do I really need CUPS? petcherd Slackware 7 02-08-2007 03:59 PM
Upgrade troubel slack 10.1 to slack 10.2 delta function Slackware 3 10-19-2005 11:47 PM
How do I Print the screen on Slack 10.1 salviadud Slackware 2 03-17-2005 10:45 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration