This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
WP USE PAGE SETUP

WP USE PAGE SETUP 


 

WP USE PAGE SETUP ( wpDoc ) 
Parameter Type   Description
wpDoc  Object in 4D Write Pro document

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

 
PROPERTIES 

Product: 4D
Theme: 4D Write Pro Language
Number: 1358

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v15 R5

 
ARTICLE USAGE

4D Write Pro Reference ( 4D v20 R7)