Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write/Format Page Break

Status
Not open for further replies.

74AustinH

Programmer
Aug 14, 2010
1
US
Hey All,

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.

Thanks,

John
 
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 !

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top