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-16-2003, 12:52 PM
|
#16
|
LQ Newbie
Registered: Jul 2003
Distribution: SuSE Linux 8.2
Posts: 17
Original Poster
Rep:
|
I ment that I installed the printerhardware in the YAST2 Configurationutility which is unique to the SuSE Linux distibution. I guess other Distris. have other tools like this.
When I startet the hardwaredetection the system says:
OKI Data OKI 610ex on queu lp installed. Printingqueue lp (or something in that way).
After that I started my Webbrowser and used webmin to vreate the printing share. I told the system that I am printing with cups and chose a CUPS printer driver.
In the field spool directory I typed in the "/var/spool/lpd" directory.
After that I changed to the directory "/var/spool" and made a "chmod 777 lpd" (everything as root in the console, of course).
Restarted samba via webmin and everything worked.
The directory you are using does exist ?
(Different distrib. have sometimes different dirs.)
Did you do the chmod 777 on that dir ?
My Printershare looks now like the following lines:
[oki610ex]
printer = lp
printable = yes
writeable = no
public = yes
path = /var/spool/lp
Looks a littel bit different to yours. If you make some changes so that it is suiteable for your configuration it may work (hopefully).
Last edited by MobbyDick; 07-16-2003 at 12:55 PM.
|
|
|
07-16-2003, 01:42 PM
|
#17
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
Im using redhat. I can print locally of the Linux box. I will try the webmin config.
I will let you know what happens!
Paul
|
|
|
07-16-2003, 02:11 PM
|
#18
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
ARGGGG! It still isnt working... even if I configure my print system to be LPD, i can print locally but not remotely! Does any one have any idea about a LPD client for windows that is free?
|
|
|
07-16-2003, 02:36 PM
|
#19
|
LQ Newbie
Registered: Jul 2003
Distribution: SuSE Linux 8.2
Posts: 17
Original Poster
Rep:
|
Donīt get me wrong, I still use CUPS on the Linux System.
But if it still doesnīt work with the chmod 777 you shurely made, I donīt know, either. Sorry.
|
|
|
07-16-2003, 03:10 PM
|
#20
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
ok, i'll have to do some more searching... thanx for you help anyway
|
|
|
07-16-2003, 03:32 PM
|
#21
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Reply concerning pnh73's problem
Hey pnh73,
I just noticed you did not have the printcap name and load printers options in the Global share.
Add the following in the Global share:
Code:
printcap name = /etc/printcap
load printers = yes
|
|
|
07-16-2003, 03:37 PM
|
#22
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
hmm, this could be my solution...
let me see
|
|
|
07-16-2003, 03:47 PM
|
#23
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
ok here is my smb.conf at the moment:
[global]
workgroup = MSHOME
netbios name = WEBSERVER
server string = RH8 Server
security = SHARE
null passwords = Yes
obey pam restrictions = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printing = lprng
printcap name = /etc/printcap
load printers = yes
[laser]
path = /var/spool/lpd/ml-4500
guest ok = Yes
printable = Yes
public = yes
is this correct?
|
|
|
07-16-2003, 03:53 PM
|
#24
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
Im still not having any luck...
|
|
|
07-16-2003, 05:52 PM
|
#25
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
Can you post your smb.conf file once again.
Also, what version of RedHat are you using?
(In RedHat 7.3 and below, Samba does not support CUPS).
Can you print locally ?
P.S. consider adding the name and version of your distribution to your profile.
|
|
|
07-16-2003, 05:58 PM
|
#26
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
I am using Red Hat 8, and yes I can print locally...
|
|
|
07-16-2003, 06:16 PM
|
#27
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
You forgot to post your smb.conf.
Or
I will use the one right on top
Last edited by Mathieu; 07-16-2003 at 06:19 PM.
|
|
|
07-16-2003, 06:20 PM
|
#28
|
Member
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381
Rep:
|
Sorry . Here you go:
[global]
workgroup = MSHOME
netbios name = WEBSERVER
server string = RH8 Server
security = SHARE
null passwords = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printing = lprng
[laser]
path = /var/spool/lpd/ml-4500
guest ok = Yes
printable = Yes
printer name = lp
|
|
|
07-16-2003, 06:45 PM
|
#29
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
[global]
workgroup = MSHOME
netbios name = WEBSERVER
server string = RH8 Server
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
load printers = yes
printing = lprng
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
If this doesn't work, then it is possible that your guest user does not have permission to print.
You can:
Create a Linux user and then a Samba user (smbpasswd -a <username>)
OR
There is a file called smbusers, just re-assign the guest user to a valid Linux user.
|
|
|
07-16-2003, 09:52 PM
|
#30
|
LQ Newbie
Registered: Jul 2003
Location: Orlando, FL
Posts: 3
Rep:
|
Someone much earlier had the answer, but I think it got lost in the noise. Try the following under the appropriate [printer] section:
use client driver = yes
this stops the "unable to connect..." messsages
Before I added it, I could print to the samba printer from windows but I couldn't see any info about the printer itself. Now it works fine.
|
|
|
All times are GMT -5. The time now is 12:03 PM.
|
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
|
|