LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2003, 10:53 AM   #1
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Rep: Reputation: 15
Samba Printing


Hi,
I have a hpdeskjet 932c connected to slackware9.1. i am running samba. i set the printer up in samba and i can see it in my windows 2000 box. but it says access denied unable to connect. when i do "lpstat" i get this....

garrett@garrett:~$ lpstat
Printer 'Garrett@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
Printer 'Garrett@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports

and here is what my smb.conf looks like........

# Global parameters
[global]
netbios name = MYSERVER
server string = "Is It Not Nifty?"
encrypt passwords = Yes
log file = /var/log/samba.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
wins support = Yes
hosts allow = 192.168.1.100
printing = cups

[public]
path = /home/garrett
read only = No
guest ok = Yes

[printers]
path = /var/spool/lpd/lp
guest ok = Yes
printable = Yes
browseable = No

[HPDeskjet]
comment = HP DeskJet 932C, hpijs
path = /var/spool/lpd/lp
read only = No
guest ok = Yes
printable = Yes
printer name = HPDeskjet
oplocks = No
thanks
 
Old 10-24-2003, 07:38 AM   #2
rmarvin
LQ Newbie
 
Registered: Oct 2003
Posts: 17

Rep: Reputation: 0
Try these changes


[printers]
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No


and get rid of this holw section, It is valid but not necessary

[HPDeskjet]
comment = HP DeskJet 932C, hpijs
path = /var/spool/lpd/lp
read only = No
guest ok = Yes
printable = Yes
printer name = HPDeskjet
oplocks = No
thank
 
  


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
Samba printing berniec Linux - Networking 3 02-23-2004 10:18 AM
Samba printing leonardox Linux - Networking 1 08-31-2003 12:49 AM
samba printing haydn Linux - Networking 2 07-29-2003 10:18 AM
samba printing bmcneely0 Linux - Networking 14 07-20-2003 08:07 AM
printing + samba? aeshley Linux - Newbie 1 06-22-2002 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:11 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