View previous topic :: View next topic
|
Author |
Message |
johnson_p80
New User
Joined: 30 Sep 2005 Posts: 4 Location: chennai
|
|
|
|
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 |
|
|
johnson_p80
New User
Joined: 30 Sep 2005 Posts: 4 Location: chennai
|
|
|
|
need a favor from your side . |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Are you talking about the format of a printed report? |
|
Back to top |
|
|
johnson_p80
New User
Joined: 30 Sep 2005 Posts: 4 Location: chennai
|
|
|
|
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 . |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
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 |
|
|
johnson_p80
New User
Joined: 30 Sep 2005 Posts: 4 Location: chennai
|
|
|
|
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
|
|
Back to top |
|
|
|