Line-printer carriage control characters
The Fortran standard defines the following:
+ |
remain on the same line (overprint) |
0 |
double line space |
1 |
advance to the beginning of the next page |
In addition, FTN95 uses:
- (minus) |
double line space |
Printing to a device
FTN95 permits you to write directly to a given device. For example,
OPEN(UNIT=8, FILE='LPT1:')
WRITE(8, '(A)') 'Output to printer'
CLOSE(8)