printing to win95 shared printer with linux

Could someone please outline the steps required to make it possible for me to print to a network shared printer which is local to a Win95 machine from my linux box. Right now, I can print to the remote windows 95 machine, if I boot win95 on my computer, so I know the network is OK. I have tcp/ip and samba installed on my linux box, both work fine. What exactly do I have to do to be able to print to this windows 95 printer over the network. Specifically, this printer is a HP laserjet 4, do I need any special driver software to make this remote printer worK?
What do I have to do to print from various apps, like
ghostscript? thanks! -Borries
demelerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
You must add your win95 printer as a remote printer under linux.
This setup differs for BSD-style or SYSV-style printer spooler on you linux.
You also must enable lpd on your win95.
0
demelerAuthor Commented:
How do I add a remote printer under linux?
how do I enable lpd on the win95?
0
ahoffmannCommented:
> How do I add a remote printer under linux?
1. check for BSD-style or SYSV-style printer spooler:
     try lpc, if you get a prompt  lpc>  its  BSD-style
   If so (BSD), you have to manage /etc/printcap. Don't ask for step-by-step education here (this is experts-exchange.com ;-)), read the appropriate man pages, docs, etc.: man printcap; man lpr; man lpd; /usr/doc/*/howtow/Print*)
   
   If not (SYS-V), read docu also: man lpd; man lp; /usr/doc/...
   and install the files needed for printing in the spooling area. Most SYS-V style Linuxs have a configuration tool for it.

2. simple test it with: lp or lpr command

> how do I enable lpd on the win95?
lpd comes with most TCP/IP stacks (not with Microsoft's)-: , see documentation there.


But I would suggest an other solution:
   Just do it the other way around, means that you connect your printer to the Linux box (see step 1. and 2. above) and use it as a remote printer from win95. This will be much easyer and performant.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.