Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Have you considered making the printer a network printer and printing with the Windoze machine through to CUPS??? It's my understanding that CUPS has good workability with Windoze boxes and printers...
I use Mandrake (8.2,... haven't upgraded yet), and eventually, I'll be using my Mandrake Linux box as a server for both internet connection and printing to my connected Win XPee laptop (a work machine that I am mandated to use).
I have a very similar configuration as you, jkliment. I have Mandrake 9.1 and I also have an Epson Stylus printer. It took me quite a while, but I got my printer to work.
Getting the printer to work is actually pretty easy. It just has to be shared normally on XP and you have to add UNIX printing support. You can do that by using the Add Windows Components (or something like that) tab from the Add/Remove Programs thing in your control panel.
The real challenge I had was getting Samba working. Once you get it up and running, the PrinterDrake in the Mandrake Control Centre should autodetect your printer.
If you need some hints to get Samba working, let me know and I'll tell you what I did.
Thanks very much for your help.
This is why Linux keeps growing, the community gets involved and help each other.
I installed the unix support on the XP box, but am having troubles setting up the samba share for this printer.
How do I config the smb.conf so it knows that the printer share is actually in another machine?
The ip of the server is 192.168.13.216 and the ip of the XP machine is 192.168.13.222
Netbios name is the name of that linux box on the network.
Server string is just like the description of the computer on XP.
Interfaces is the mandrake box's ip address with the subnet mask.
I'm note sure if OS Level is needed, but it has to do with winning browse master elections (this could be more complicated since you have two linux boxes. I edited some registry settings on my two Windows computers so that they don't participate in browse master elections).
Remote announce has the ip address of the windows box that has the printer.
momdad is the username used on the xp box. darcy is the username on the mandrake box. I had to add momdad as a user on the linux box. That needs to be done so that you can run smbpasswd, which you need so that the username and password on the xp box match the username and password on the mandrake computer. The XP machine doesn't use a password, so I used the null password line above.
Hosts allow allows all computers that will be on my local network to access my computer (for file sharing).
The last 3 lines are for printing with CUPS.
I think you'll need to do this setup on both linux boxes, but I'm not sure about that. Maybe you could try it on the server first and then the other machine could access the printer through the server. You might have to make one machine the browse master (with a higher os level, or by eliminating os level from the other machine's smb.conf maybe) but still have both machines set up as samba servers (that is what I think is most probable). Maybe someone else knows better.
You'll likely need to add the users and run smbpasswd on box linux boxes if you end up running samba servers on both.
Just in case you're interested, this is the format to share a directory on the mandrake box. I haven't yet figured out how to share a directory that has spaces in the name.
[test]
path = /home/darcy/test/
guest ok = yes
read only = no
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.