I've just recently started programming in Fortran, and I'm running into a basic question. Is it possible to write a page break? I know the character for new line is "/", but am hoping to find the next step up.
Do you send you output file directly to the printer ?
With modern computers, this mode is usually disable.
In the past, a page break was obtained in writing '1' in column 1 as follows :
Code:
WRITE(*,'(A)') '1'
The first column was reserved to control characters for the printer. This is why a instruction like "write(*,*) ..." always starts by a space.
But be careful with your printer : it is not so easy to force a modern printer to interpret printer control characters !
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.