Sun Studio 12: Fortran Programming Guide

7.1 Carriage-Control

Fortran carriage-control grew out of the limited capabilities of the equipment used when Fortran was originally developed. For similar historical reasons, operating systems derived from the UNIX do not have Fortran carriage control, but you can simulate it with the Fortran 95 compiler in two ways.


      OPEN( 6, FORM=’PRINT’)

You can use lp(1) to print a file that is opened in this manner.