skip to main content

Library Routines : WIN$PRINTER : WINPRINT-GET-PAGE-LAYOUT

WINPRINT-GET-PAGE-LAYOUT
The WINPRINT-GET-PAGE-LAYOUT function retrieves the number of printable lines and columns. The result depends on the chosen font, the page size, margins and orientation.
Syntax:
 CALL "WIN$PRINTER" USING WINPRINT-GET-PAGE-LAYOUT 
Parameters:
01  winprint-data.
    03 wprtdata-page-layout.
       05 wprtdata-lines-per-page   unsigned-short.
       05 wprtdata-columns-per-page unsigned-short.
Return code:
returnCode can be any signed numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left