CALL "WIN$PRINTER" USING WINPRINT-GET-PAGE-LAYOUT WINPRINT-DATA GIVING returnCode |
WINPRINT-GET-PAGE-LAYOUT | Constant | |
WINPRINT-DATA | Group Item | Structure that receives the information. This group item, defined in isprint.def, has the following structure: 01 winprint-data. 03 wprtdata-page-layout. 05 wprtdata-lines-per-page unsigned-short. 05 wprtdata-columns-per-page unsigned-short. wprtdata-lines-per-page It is the number of printable lines in a page. wprtdata-columns-per-page It is the number of printable columns in a 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. |