IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

print RTF file from z/OS


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Sep 16, 2011 11:20 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Sep 16, 2011 11:53 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Sat Sep 17, 2011 2:22 am
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Sep 17, 2011 4:29 am
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sat Sep 17, 2011 4:38 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Sat Sep 17, 2011 6:23 am
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Sep 17, 2011 1:04 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Sep 18, 2011 10:07 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top