Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
print RTF file from z/OS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Pedro

Senior Member


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

PostPosted: Fri Sep 16, 2011 11:20 pm    Post subject: print RTF file from z/OS
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: 6968
Location: porcelain throne

PostPosted: Fri Sep 16, 2011 11:53 pm    Post subject:
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

Senior Member


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

PostPosted: Sat Sep 17, 2011 2:22 am    Post subject: Reply to: print RTF file from z/OS
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Sat Sep 17, 2011 4:29 am    Post subject: Reply to: print RTF file from z/OS
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: 6968
Location: porcelain throne

PostPosted: Sat Sep 17, 2011 4:38 am    Post subject:
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

Senior Member


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

PostPosted: Sat Sep 17, 2011 6:23 am    Post subject: Reply to: print RTF file from z/OS
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Sat Sep 17, 2011 1:04 pm    Post subject:
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

Site Director


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

PostPosted: Sun Sep 18, 2011 10:07 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us