Click to See Complete Forum and Search --> : Cant Print to my Linux Shares
Nagchampa76
10-14-2002, 10:21 AM
I have RH 8.0 hosting two printers a laserjet 4mp on the paralell port and an Epson stylus c60 on USB.
I can print fine from the linux box to both printers using both CUPS and the RH Printer Config.
I can't seem to print to the linux server though. I can see the printers on the linux box through the network neighborhood when I added the printers section in samba.
Problem is the path they give me from Samba.org doesn't exist in RH 8.0.
Redhats site seems to have NO information available to me either. Well it seemed to have the info but it was for the Japanese website.
Any help would be apreciated.
michaelk
10-14-2002, 09:41 PM
I don't understand exactly what your problem is. You might want to list your smb.conf file for us to look at. Have you tried to add the network printer in windows yet?
Nagchampa76
10-17-2002, 05:09 PM
well here, does anyone have a copy of the default SMB.conf file from RH8.0?
I have mine from Samba.org so I have a feeling there are some differences from RH and standard linux.
WCOutlaw
10-17-2002, 07:11 PM
What paths are you referring to?
RedHat does alter some of the config file locations, it tries to make it easier, and more organised for the users...
Explain your problem more clearly,
Nagchampa76
10-18-2002, 12:38 AM
OK, I have two printers connected to my RH 8,0 server. One USB (Epson) The other through the lpt port (HP Laserjet 4mp).
My linux box is always up. So I want that machine to host the printers and share them with the 4 other computers on my network (One 98 machine, one xp, w2k and OSX).
I have tried to get the printing portion of Samba working. I copied the exerpt from Samba.org and pasted it to my smb.conf. It isn't there right now but it was the standard.
When I went to the XP machine. the printers showed up. I could connect to them but they didn't install the drivers, I choose from the XP list instead of from the samba service. The printers showed up but I couldn't print to them.
So my question is, does red hat 8.0 have some other issues that I haven't touched or are things moved around so that I can't just copy and paste.
Does anyone have an example from an RH 7.3 or later version of smb.conf with printer configs in them.
I also tried cups but I am still reading the doccumentation on if I can get my xp and win98 box to use Internet printing and if I can give them two different printers to the same address.
hope this clears things up.
thanks in advance.
WCOutlaw
10-18-2002, 02:32 AM
I'm not sure you can install the drivers from the Linux machine anyway, so I'd imagine that's normal...
However, that doesn't explain why it's not working... I'll paste in the lines from my smb.conf - they're simply example, as I don't do networked printing with Samba.
printcap name = /etc/printcap
load printers = yes
printing = lprng
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
printable = yes
and also
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; printable = yes
I hope you can use these to some effect... I'm not that familiar with Samba printing, and it's been a long time since I did work on it (I re-wrote lpr for a bespoke job) so I'm not fully upto speed...
Hope this helps,
Nagchampa76
10-18-2002, 09:34 AM
THanks for the help... is this exerpt from rh 8?
I will give it a try and let you know... I will try moving the path though.
WCOutlaw
10-18-2002, 05:34 PM
No, it's from Redhat 7.x - but fundamentals like this won't change...
Good luck,