Linux printing with Samba

pnd

Member
Apr 3, 2000
30
0
0
Please help!

I have been reading the Using Samba HTML reference: (http://www.oreilly.com/catalog/samba/chapter/book/index.html)
I have read the Print HOWTO, Print Usage HOWTO, Print2Win HOWTO, and a book about Samba from the library, but I still can't get Linux to print to a printer on a Win98SE box.

I just took the printer over and connected it to the Linux box and it prints fine--My /etc/printcap looks like this:

##PRINTTOOL3## LOCAL bjc600 360x360 letter {} BJC600 24 1
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp/filter:

Can someone please post what changes I have to make to this /etc/printcap file to print to the printer when it is connected to the Win98 Box? Also, can someone please post what a basic /etc/smb.conf should look like (no added security at this point, just the basics and I can build up from there)

A few further notes--the LAN cards do work, I can ping each computer, I can IP Masq, and I can write files from win98 to the Linux harddrive. I have already taken care of the password encryption issue between Win98 and Linux. So, I know my LAN works and samba file sharring at least works in one direction.
 

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0
The O'Reilly book steps through building a smb.conf file from the ground up.

If you can print local on the linux box, then the problem is a samba problem and not printcap (95% sure, anyway).

Can't offer much more help here, since I don't have a linux-compatible printer available. Also, my very basic smb.conf (file sharing only) is on my computer at home. I can post it later tonight if you still want it - it's maybe 10 lines long. (I don't get home until after 7 PM US central time)

One thing linux teaches you is how to read!
 

pnd

Member
Apr 3, 2000
30
0
0
LOL about Linux making you read.

I already got file sharring going, but thanks.

I will eventually get this, but I would like to get this going this month. I will focus on samba for now based on your advice, thanks.