LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-11-2002, 08:26 PM   #1
Mattouf
LQ Newbie
 
Registered: Feb 2002
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Sharing a printer on a windows machine


Hi everyone. I'm fairly new to Linux, but I'm enjoying it a lot already. My system is running Mandrake 8 with no problems. There are two other machines running Win98 on our LAN. On one of the Win98 boxes our printer(Epson Stylus 600) is hooked up. I want to be able to print from my Linux system to the printer on the Win98 system. I'm pretty sure Samba is the way to go, but I'm a bit lost on which system it needs to be installed on and how to go about setting it up. Any advice?

Thanks a lot, and I look forward to many great advenures with Linux .
 
Old 02-12-2002, 05:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
well, you share the printer in network niegherehgboohood in windoze, and then use the samba client 'smbprint' under linux. i've not used smbprint before, but it should be pretty straight forward if you check the man page for it.
 
Old 04-07-2002, 04:58 PM   #3
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
sharing windows printer

I'm trying to solve the same problem, so when you know, please tell me. The KDE KUPS program actually has a selection for an "SMB/Windows" printer, but it is greyed out on my install. The KUPS documentation I could find said this feature should function if the smbclient is running. It's running, but no share.

I've spent a fair amount of time trying to set up smbprint to work, but so far no luck.
 
Old 04-07-2002, 05:03 PM   #4
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
more re windows printer

Sorry, I should proof-read my posts, I don't know what I meant by "no share."

To mention a bit more about Samba -- Samba was part of my Icepack install, and took just a bit of tweaking to set it up.

Samba reads the NetBios information from your windows computer. KDE has an "smbbrowser" that makes it easy to find other computers, it's like network neighborhood.

Samba runs on TCP/IP, so your that has to be running on your network and your computers have to have IP numbers to be found. Generally, you would want a computer serving as a browse server, but if you know the IP, you can find your windows computer.
 
Old 04-07-2002, 09:42 PM   #5
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214
Blog Entries: 1

Rep: Reputation: 39
I'm running exactly that way, with a printer that's on a Win98SE box serving as my printer for the Linux box. Here's the complete content of my /etc/cups/printers.conf file:

# Printer configuration file for CUPS v1.1.10
# Written by cupsd on Tue Dec 4 03:51:06 2001
<DefaultPrinter HP540>
DeviceURI smb://JKP133@ARI/JKP133/540_133
State Idle
Accepting Yes
JobSheets none none
</Printer>

The DeviceURI line is the address of the Win98SE box, and the printer's share name is 540_133. The rest of it should be pretty self-explanatory.

I've forgotten, now, whether I had to do anything else to make things work. There are a number of lines in /etc/cups/cupsd.conf at the end that specify a number of URLs associated with this but they may have been generated automatically, since they include a couple that I would not have created manually (making the printer accessible from the Internet except for the fact that the firewall blocks the address it's using).
 
Old 04-08-2002, 01:37 PM   #6
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Rep: Reputation: 30
printer

I think this should be pretty easy. I would just go to the printer config utility and add a printer. Select the type as SMB and then enter the IP of the windows machine and the name of the printer share. That should be all you have to do. I am up to Mandrake 8.2 now so I don't remember exact details.
 
Old 06-22-2002, 10:33 PM   #7
Mattouf
LQ Newbie
 
Registered: Feb 2002
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Figured it out

I eventually was able to get it working via the CUPS web utility(localhost:631), and sent the path to the printer as smb://[name of machine printer is on]/[printer share name] and it worked right away. Just had to make sure that KDE was trying to print thru CUPS and not LPD.


Thanks to all those who helped me out.
 
  


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
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
Sharing Internet Connection from Windows Machine Eux Debian 7 10-04-2005 04:07 PM
Sharing a printer on Fedora with a Windows Machine timswim78 Linux - Networking 1 07-15-2005 07:32 PM
Samba not sharing files with Windows machine GreenerLinux Linux - Networking 3 12-03-2003 01:51 PM
Sharing Printer of XP machine ntloser Linux - Newbie 1 10-06-2003 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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