Skip to main content
Version: Next

WP USE PAGE SETUP

WP USE PAGE SETUP ( wpDoc )

ParameterTypeDescription
wpDocObject🡒4D Write Pro document

Description

The WP USE PAGE SETUP command modifies the current printer page settings based on the 4D Write Pro document attributes for page size and orientation. This command should be called just before WP PRINT in order to synchronize the current printer page settings with the 4D Write Pro document page settings.

Other settings are defined by the 4D PRINT SETTINGS command. Current print settings are set for the whole 4D session.

Example

Before printing a document, you want to reset its size and orientation to values stored in the document:

 WP USE PAGE SETUP(writeProDoc)

See also

WP PRINT