Auto-sending of file to a printer?

Here's a unique situation.  We are using Sun Sparcs and some PC's with Win95 and Solstice Network Client 3.1+.  I am told the Network Client no longer supports DOS based program printing.  On our other DOS workstation we use PC-NFS software which we can print to network mounted printer.
Concerning the Win95 installations, knowing that we can change our custom apps to print to a file on one of the servers, Is there a way to automatically have this file sent to a printer?  a FIFO file or directory comes to mind from my readings way back when.  Or is they any other way to set up a special directory to forward the incoming files.  I know cron can do this but i would like for this to be instantaneous rather than waiting for cron to roll around.
Thanks.
j_kAsked:
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.

António SargentoChief ArchitectCommented:
Once I solve a similar problem inthe following way:
I launch a pinter daemon on the PC (I was using the Pc-Xware and in this package exists a Unix like printer daemon) and configure a printer in Sun Solaris as a network printer. Then when I sent a file to this printer, automatically, this file was sent to the PC and printed there.
I hope that this helps you.
0
fredericoCommented:
If you look at
http://www.sun.com/netclient/demo/m22.htm
you will notice that the Solstice Network Client supports Print Server
so you are able to set up a printer in the Unix side that will print to you windows printer.
as you say you can set up you application to print to the unix server this will be easy to do.

Best

Frederico Fonseca
0
j_kAuthor Commented:
frederico,
This is not a Windows Printer.  The current network printer has it's own IP and is spooled from a sun box.  I need to be able to print from a DOS application on a Win95 client with the Solstice network client 3.2.  But, after installing and calling support, I was told that printing from a dos windows is not supported anymore.  Previous versions did allow to mount a network printer and map it to a local lpt port that was redirected via the network software out to the spooling sun box.  So my idea was to modify the dos app to print to a file on a mounted drive of the server.  Manually, we would then telnet in and send the file to the printer from the unix environment.  And that is whem i remembered someting about a "fifo" file.  And i wondered if that could be used to to automatically pass the printed file into the spooling process?

0
fredericoCommented:
First - Setup an LPD printer un the Unix Server.
example 1
    setup a windows remote printer using the lpr protocol.
    capture the "lpt1"port  to use this printer. (for example)

Example 2
look at
http://shadowland.hf.utexas.edu/www/acitslpr.htm
Download the product.
setup a windows printer using the lpr protocol.
setup your aplication to create a file instead of printing to a printer.
setup your aplication to call the program "acitslpr" to print the file to the printer.

There are other ways.
I think that Solstice client is able to do this also. Try to look at the lpd/lpr protocol
instead of the Nfs protocol. You do not need to mount the printer.

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
j_kAuthor Commented:
Still thinking on this one, I haven't had much time to play with this.

0
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
Unix OS

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.