?
Solved

Redirecting prog output fr a printer to a text file

Posted on 1997-10-30
4
Medium Priority
?
255 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
[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
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 300 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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.
Suggested Courses

649 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