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 Chris Miller 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
Hello everyone,
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!
 
You might try this. Create a text file in /dev. Then use smit queue to create a new queue w/ the type 'file' and point it at the file in /dev.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top