Solved

Redirecting prog output fr a printer to a text file

Posted on 1997-10-30
4
247 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.
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.

696 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