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.
|
|
11-04-2004, 10:24 PM
|
#1
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Rep:
|
CUPS and SAMBA, please help!
I'm getting on windows 'you do not have sufficient access to your computer to connect to the selected printer'
I don't know what's wrong, stuff prints from kwrite in linux, here is my samba.conf
[global]
server string = Linucks
; server string = Samba Serv
; username map = /etc/samba/smbusers
; password server = None
guest ok = yes
netbios name = Samba
# Setting up CUPS for SAMBA
# This will be used in section QQ2
printcap name = cups
printing = cups
security = share
time server = yes
;hosts allow = 192.168. 127.
;log file = /var/log/samba/%m.log
;socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[Downloads]
comment = Downloads
path = /mnt/hdb1
browseable = yes
writeable = no
; writeable = yes
# Section QQ2 is below
[printers]
browseable = yes
printable = yes
public = yes
create mode = 0700
guest only = yes
guest account = smbprint
path = /home/smbprint
|
|
|
11-05-2004, 09:25 AM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Can the user smbprint print locally without any problems? This could be a permissions issue on the spool/temp dirs.
|
|
|
11-05-2004, 01:27 PM
|
#3
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Original Poster
Rep:
|
Yes, smbprint can print locally in kwrite without any problems. Any ideas?
Here's a screenshot of the error in windows
http://www.uberleet.org/samba.gif
Last edited by jon_k; 11-05-2004 at 01:33 PM.
|
|
|
11-05-2004, 03:31 PM
|
#4
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Original Poster
Rep:
|
I decided to solve the problem through a different route.
Just set cups up with your printer, make sure cups can work with it... then add the printer through windows according to http://support.microsoft.com/?kbid=324078
The following LQ article may also be of assistance:
http://www.linuxquestions.org/questi...jump&bmid=1062
This may help others at a later date whom might stumble upon this thread.
This is the same solution as the person who is replying below uses.
Last edited by jon_k; 11-05-2004 at 05:48 PM.
|
|
|
11-05-2004, 03:57 PM
|
#5
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
I used to use Samba to print to cups from a windows box as well. I recently switched over and bypassed samba totally by setting up the windows box to print using IPP directly to cups. In windows you just add a network printer and type in the full url to your cups printer. In my case its:
http://192.168.0.102:631/printers/HP-DeskJet-3820
As long as cups.conf is configured to allow connections from your windows box you will be good to go.
|
|
|
All times are GMT -5. The time now is 02: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
|
|