?
Solved

Auto-sending of file to a printer?

Posted on 1998-04-20
5
Medium Priority
?
245 Views
Last Modified: 2013-12-27
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.
0
Comment
Question by:j_k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:António Sargento
ID: 2006325
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
 
LVL 2

Expert Comment

by:frederico
ID: 2006326
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
 

Author Comment

by:j_k
ID: 2006327
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
 
LVL 2

Accepted Solution

by:
frederico earned 100 total points
ID: 2006328
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
 

Author Comment

by:j_k
ID: 2006329
Still thinking on this one, I haven't had much time to play with this.

0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question