LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-30-2003, 10:56 AM   #1
nick_uk
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Samba print share from RH9 to WinXP


Sorry for the cross post (i posted this under software)

Can anyone please help me, im going nuts tring to figure this out.

I have a Samsung ML1210 USB printer setup on my RH9 box (printing fine). I CAN print from other Linux boxes to this printer no problem. I can also shell out to DOS from my XP box and issue a print command to the printer (print /D:\\smith\samsung c:\textfile.txt) and this also prints no problem.

My problem arrises when i try to print to the "samba printer" i can connect but then i get access denied as a status. agghhhh

here's my smb.conf file

[global]
workgroup = EBUSINESS
server string = smith
encrypt passwords = Yes
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
guest ok = Yes
printing = cups
printcap name = cups
load printers = yes

[homes]
comment = Home directories
valid users = %S
read only = No
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[share]
path = /share
read only = No

[samsung]
comment = ML-1210
path = /var/spool/samba
read only = No
printable = Yes
printer name = samsung
 
Old 07-31-2003, 01:27 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Does the printer start printing ?

There was a similar thread
http://www.linuxquestions.org/questi...5&pagenumber=3
 
Old 08-01-2003, 03:53 AM   #3
nick_uk
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your reply but i have just found the answer. YIPEE

The problem was not samba but cups

as soon as i uncommented the following line from /etc/cups/mime.convs:
application/octet-stream application/vnd.cups-raw 0 -


and also uncommented the following line from /etc/cups/mime.types:
application/octet-stream

and added these lines to /etc/cups/cupsd.conf: <Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>


restarted samba & cups and hey presto! we have printing (wow its only taken two weeks)
 
Old 08-10-2003, 01:19 PM   #4
brakerm19
LQ Newbie
 
Registered: Aug 2003
Location: Indiana
Distribution: Fedora Core 2
Posts: 13

Rep: Reputation: 0
Thank You.

I had the same problem "access denied" the mime.xxx and the cups.conf fixed the problem

curious though how did you come up with the solution?
 
Old 08-10-2003, 11:14 PM   #5
niverson
Member
 
Registered: Jun 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 128

Rep: Reputation: 15
I bought a Samsung ML1710 because it stated it had Linux support. After a lot of messing around, I have it set up on a RedHat 8.0 print server(lpr). The only issue that I have now is trying to print to it from Windows 2000 and XP. The Windows machines can see the server and the ML-1710 print share. When printing from windows, I get a access denied and the printer starts printing garbage and won't stop till I turn the pritner off. I think have believe I have samba setup correctly(workgroup, samba usernames/passwords). Does anyone have any ideas?

Thanks,
Nate
 
Old 08-11-2003, 09:41 AM   #6
nick_uk
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
how did i fix the problem, after days of searching and reading articles on the web i came across this one

http://www.faqs.org/docs/Linux-mini/...re_cups_config
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dual boot WinXp and RH9 how to share same dsl modem provri Red Hat 2 01-14-2005 09:04 AM
how to file/print share using Redhat and WINXP thru SAMBA spandau Linux - Software 1 07-23-2004 07:59 AM
Samba print share from RH9 to WinXP nick_uk Linux - Software 0 07-30-2003 10:19 AM
WinXP Can't Print Through Samba Element Zero Linux - Networking 2 12-28-2002 07:41 PM
WinXP samba share - permissions? armstrj Linux - General 0 04-08-2002 04:40 AM


All times are GMT -5. The time now is 04:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration