ITEM: AJ8796L
FORTRAN line feed controls - printing howto?
Question:
env: 3.2.5
xlf 3.2
Standard ibm ps printer
Customer wanted to know how to use the control statements in fortran
to control the output so that he could alter page ejects.
Response:
Customer has written his code for a SUN system, and they
write to column 2, and it goes to column 1, the Page ejects
get converted automatically to ctrl-L.
He is printing with enscript.
There is a filter for FORTRAN called
/usr/ucb/fpr Contains the fpr command.
or
/usr/bin/asa Contains the asa command. linked to /usr/ucb/fpr
transforms files formatted according to FORTRAN carriage control conventions
into files formatted according to AIX line printer conventions.
asa file | enscript -dps
Fortran output looks like
0Line one
0Line two
+Line Three
1Form Feed with 1 in column one
asa file | od -c shows 0-> lf, + -> ctrl-B, 1 -> ff (ctrl-L)
NEXT: Customer will test, and call back only if this does not work.
Support Line: FORTRAN line feed controls - printing howto? ITEM: AJ8796L
Dated: May 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:27
Comments or suggestions?
Contact us