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:
//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'.
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