View previous topic :: View next topic
|
Author |
Message |
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I want to create an RTF file on z/OS then magically send it to a network printer. Someone told me that it goes through an Inforprint server and that there might be a way to send the file so that it prints correctly with bold / italics / etc...
Currently, the file prints but it shows the RTF tags as well, and no highlighting. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
there is probably and easier way,
but back in the late 80's,
i figured out all the necessary ascii hex necessary to cause the printer to work correctly,
then uploaded the ascii char to the mainframe,
then built a table of necessary ebcdic chars to 'paste around my test'
so when i downloaded the MF text file to the server as an *.RTF
it worked.
only took about a week.
spent 4 days gathering/making tools that would let me see the hex on the server. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I could do that in the good'ol days... I do not mind hacking it when necessary. But I now I do not have access the print server. I do not think I can do it in this instance. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
The printer won't understand the RTF. The printer MAY understand PostScript.
IF it does understand PostScript, you could think of converting the RTF to PostScript. Or just generating the PostScript instead of the RTF.
Problem with the RTF is that it has to go through something which knows how to convert it for printing. PostScript can be understood by (some) printers. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
there are mainframe applications that create excel sheets that can be downloaded as *.xls
so, finding something that will create a 'script/font' enhanced txt document
that can be downloaded as *.rtf or better yet the *.prt type files,
would only be depressing when you find out the cost.
shop I work at now has a server based application called doc1,
takes a datastream of variables (downloaded from mainframe to *.txt)
and merges with pre-formated document templates
The output is a professional letter, graphics and all.
but cost 50k to 100k.
don't imagine you are in the market for that. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
Problem with the RTF is that it has to go through something which knows how to convert it for printing. |
Agree. I suppose I did not pose my question correctly. I think it goes through something called Infoprint and I wanted to figure out how to submit the file correctly for it to do some translation. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
OK. But when I google there's lots of stuff out there for Infoprint Server, print format translation etc. I know you know that. Are you looking for someone who has used the thing knowingly? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Does the printer support PCL (HP printer control language).
Once upon a time we embedded "escape sequences" with the data to be printed and printed forms with graphics and multiple fonda with bold and italics etc.
This required no access to the "print server". It was a bunch of initial setup. . . We didn't route the printout to a print server - we sent the output directly to the person's "printer" which was most often attached to their desktop (defined as a network printer).
I suspect that you would need to do something similar but use the Infoprint controls. . . |
|
Back to top |
|
|
|