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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-30-2003, 10:56 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Rep:
|
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
|
|
|
08-01-2003, 03:53 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Original Poster
Rep:
|
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)
|
|
|
08-10-2003, 01:19 PM
|
#4
|
LQ Newbie
Registered: Aug 2003
Location: Indiana
Distribution: Fedora Core 2
Posts: 13
Rep:
|
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?
|
|
|
08-10-2003, 11:14 PM
|
#5
|
Member
Registered: Jun 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 128
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|