Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to a file instead of physical printer!

Status
Not open for further replies.

MrProgrammer

Programmer
Feb 1, 2002
41
TR
Hi,
We have an extraordinary objective:
We use Infoprint Manager 3.1 on AIX 4.3 system. As you know, printing mechanism of infoprint manager contains some parts like logical destinations, actual destinations, physical destinations etc. Besides, we can define various transforms at different levels to convert input data from some format to another format. No matter what transforms we define, the final data is always sent to a physical printer. The logic is all built on this logic (naturally). But as I said before we have an extraordinary objective. We want to print the final data into a file which can be in postscript, pcl or afp format. To achieve this objective, there must be a way of adding a file as a physical printer or we must be able to redirect the output of the job submitting programs (pdpr) to a file that we determine..

Note: In general, the data to print is a line sequential text file and there are form definition, page definition and overlay files (specified in an .ATT file). So the final data that we want to write into a file instead of a physical printer, must have been processed according to these resource files before it has been written into the file.

Do you have any ideas about this subject?
Thanks in advance!
 
I think I asked a difficult question:)
Isn't there someone out there who needed to do something like this before? I'm just wondering whether this is impossible or not...
 
In other versions of Unix I have used a parallel to serial converter to capture the printer port output.
If it was a straight out Unix print job it might be possible to turn off the printer and capture the output file from the print spooler system, but that would be dependent on the OS.

You might also post this on the general unix forum. Might draw some more comment.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top