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

How to manupulate font and size of a record written in PS


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 12:53 pm
Reply with quote

Can any one reply me ASAP ,how ot manupulate the font SIze of a record written into a PS flat file . i want a single line of character to be bold and of big size font . PLease reply soon...
Back to top
View user's profile Send private message
johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 12:55 pm
Reply with quote

need a favor from your side .
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Sep 30, 2005 1:36 pm
Reply with quote

If I m not wrong ......changing the FONT can be achieved thru EMULATOR OPTIONS itself.....

But I dont think ...only selected record can be done.....It applies on whole screen.....

Regards,

Priyesh.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 30, 2005 3:50 pm
Reply with quote

Are you talking about the format of a printed report?
Back to top
View user's profile Send private message
johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 4:18 pm
Reply with quote

Yes its a PS file to be loaded into report center. but in the report some of the line to be bold and of bigger size . it has to be prodused by mainframe output file Which is a flat file (PS ).

Can you plz reply for this ,if any suggestiong ,i am in need of it . icon_question.gif
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Fri Sep 30, 2005 6:17 pm
Reply with quote

What is the length of the print line (is it 132 characters?)

What is the page orientation (Portrait or Landscape)?

What is the paper size (8 1/2 x 11 or 8 1/2 x 14 or 11 x 13.5)?

Is the output device an IBM AFP 3800/3820 APA printer? Or, is it a XEROX PDL printer?

You need to know all this to select the appropriate font. Basically, your dataset will need RECFM=FBA and you will need to specify TRC=Y. The first column will contain the carriage-control characters, and the second column will contain values for Table-Reference-Characters.

Let's say, for example, that the print output is 132-characters, printed on an IBM 3800 printer, landscape orientation on 11 x 13.5 inch paper. You can use a 10-pitch font, so you use:

Code:

//OUTPUT OUT TRC=Y,CHARS=(GT10,GB10),PAGEDEF=pdef,FORMDEF=fdef
//REPORT DD SYSOUT=A,OUTPUT=*.OUT


In your data, you match your TRC values to the order you specified in the CHARS parameter. So, for normal text, you code either '0' or nothing. For bold text, you code '1'.
Back to top
View user's profile Send private message
johnson_p80

New User


Joined: 30 Sep 2005
Posts: 4
Location: chennai

PostPosted: Fri Sep 30, 2005 7:27 pm
Reply with quote

Kevin ,can you please clarify me some doubts please?

1: The size of the file is 133 standard ,but not sure whether the file will be of portait or landscape .Is there any charecter contraol to say that the printing page is Landscape .

2 : is there any way to increase the size of the font ?

3: the file which i write into is a PS of RECF=FBA and LRECL = 133 ,
and no other parameter i pass other that this .If you can give me a brief jcl For it ,it would be usefull to me .

4 : i use a proc to load this file to Online data viewer ,and to print from there is the probelm .Even if we select a Landscape layout the output comes in prtrait format. Any way we can make it possible ?

5 : And also the Printer is not a mainframe printer but its a local printer only .

Now these are my issues ,if you can please help me out ,i would be thankfull to you for that .Even if you can send and document related to that ,it will be usefull to me

waiting for your replu

icon_smile.gif
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top