Solved

Redirecting prog output fr a printer to a text file

Posted on 1997-10-30
4
232 Views
Last Modified: 2010-08-05
The user enters data to the program. At days' end, they would print to a pre-printed form. The problem is to redirect the output to a disk file which can then be sent via modem to a remote BBS. The disk file must be a text file or it is not usable. Consider this using SCO. I believe the output goes thru the spooler and the prog does not have a print to disk option.
0
Comment
Question by:jbrnch
  • 2
4 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 2007609
How is the program now outputing to a printer?
0
 

Author Comment

by:jbrnch
ID: 2007610
Edited text of question
0
 

Accepted Solution

by:
kschwind earned 100 total points
ID: 2007611
Set up an ASCII printer.  For the device, put a file name.  This should automatically just append all jobs sent to this "printer" to the filename you want.

Let me know if you have trouble setting up the ASCII printer/file.  
0
 

Author Comment

by:jbrnch
ID: 2007612
The answer is good but to earn the full point value you should  include how to set up the device.  I am a unix illiterate consulting with users, no admin or TS available.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

770 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