.Ps or page height

Top  Previous  Next

This gives the height of a page in terms of the number of rows (lines) that can be placed on any page of the document.  This is set using the syntax

 

Localfileidentifier.ps= number;

 

or in the example putex5.gms

 

my1.ps=65;

Notes:

By default GAMS does not try to control pagination of put files making no allowance for paging.  This works well when the user is going to import the file into a word processor and is willing to let the word processor do the paging.
The page size commands will be ineffective unless a non default value is used for the page control (pc) setting.  In the example we use

 my1.pc=3;

 

When earlier pages have been printed out which are shorter than the current page size specified GAMS generates an error message.
Maximum page size is 130 lines and the minimum is 60 lines.