CALL "WIN$PRINTER" USING WINPRINT-SET-LINES-PER-PAGE                            WINPRINT-DATA                    GIVING returnCode  | 
WINPRINT-SET-LINES-PER-PAGE  | Constant  | |
WINPRINT-DATA  | Group Item  | Structure that contains the information to be passed to the function. This group item, defined in isprint.def, has the following structure: 01  winprint-data.        05 wprtdata-lines-per-page   unsigned-short.        05 wprtdata-columns-per-page unsigned-short. Note - members not mentioned below are not used by this function. wprtdata-lines-per-page Specifies the number of lines per page.  | 
1   | Operation successful.  | 
WPRTERR-UNSUPPORTED  | The WIN$PRINTER library routine is not supported.  | 
WPRTERR-BAD-ARG  | The WIN$PRINTER library routine has been called with bad parameters.  |