LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-30-2003, 09:00 PM   #1
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
Exclamation Access Denied when Printing


Hi

I am having problems sharing a printer in Linux.

I have installed the Brother H-1040 Laser printer on my Linux Red Hat 9 PC. I have made sure that the Printer is shared to All Hosts however nobody else on the network is able to print to. Windows XP says that Access in denied.

Not sure how this COULD be because everyone has rights.

I have a hunch that it has SOMETHING to do with Samba file server but not sure how to fix it... PLEASE feel free to look my up on Yahoo: chris_w_b2002 and help me out.
 
Old 09-30-2003, 09:30 PM   #2
doctorofdata
LQ Newbie
 
Registered: Sep 2003
Location: Atlanta, GA
Posts: 1

Rep: Reputation: 0
I've had the same and similar problems. Here is what I had in my smb.conf when I finally got the XP client to successfully print.

#global
printcap name = /etc/printcap
load printers = yes
disable spoolss = yes
printing = cups
printcap name = lpstat
map to guest = Bad User

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = yes
printable = yes
use client driver = yes


Let me know if this works...
 
Old 10-01-2003, 05:20 AM   #3
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Original Poster
Rep: Reputation: 30
well the access problem appears to be gone however the printer still wont print...

It APPEARS to send the print job from my XP box... no errors but it doesnt seem to arrive.. cause it doesnt appear in the q and no job is printed!!
 
Old 10-01-2003, 09:12 AM   #4
Gerbil
LQ Newbie
 
Registered: Aug 2003
Location: Wilsthire, UK
Posts: 1

Rep: Reputation: 0
CUPS won't allow clients to send binary data to a print queue by default as it regards it as a denial of service attack on the printer. CUPS expects nice things like plain text and postscript. To get CUPS to except the binary data from your XP clients you probably need to edit two files

Edit /etc/cups/mime.types

scroll to near the bottom and uncomment (remove the hash) from this line

application/octet-stream

Now edit/etc/cups/mime.convs

Scroll to near the end again and uncomment the line that looks like

application/octet-stream application/vnd.cups-raw 0 -

Now restart CUPS

service cups restart

and you're good to go. Hope that helps. Had the same problem myself.
 
Old 10-01-2003, 08:40 PM   #5
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Original Poster
Rep: Reputation: 30
Thanks Guys all working!

*high fives everyone* hehehe
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to cancel or hold printing denied solar1951 Mandriva 0 07-29-2005 09:14 AM
Printing permission denied johnwr Linux - Hardware 3 10-25-2004 07:52 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
Printing from W2k- access denied, why??? Waldi Slackware 3 08-21-2003 10:14 AM
Samba Printing "Access Denied" !! lmaher Linux - Networking 1 06-20-2002 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:19 PM.

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