4D v13.4

OPEN PRINTING FORM

Home

 
4D v13.4
OPEN PRINTING FORM

OPEN PRINTING FORM 


 

OPEN PRINTING FORM ( form ) 
Parameter Type   Description
form  String in Name of project form to open for printing or Empty string to close current project form

The OPEN PRINTING FORM command is used to load the project form form for printing. In order to be able to execute this command, a print job must be opened beforehand using the OPEN PRINTING JOB command. Once loaded, this form becomes the current printing form. All the object management commands, and in particular the Print object command, work with this form.

If a printing form has already been loaded beforehand (via a previous call to the OPEN PRINTING FORM command), it is closed and replaced by form. You can open and close several project forms in the same print session. Changing the printing form via the OPEN PRINTING FORM command does not generate page breaks. It is up to the developer to manage page breaks. If you pass an empty string in form, the current printing project form is closed. 

Only the On Load form event is executed during the opening of the project form. The other form events are ignored. The On Unload form event is executed at the end of printing. 

To preserve the graphic consistency of forms, it is recommended to apply the "Printing" appearance property regardless of the platform. 

The current printing form is automatically closed when the CLOSE PRINTING JOB command is called.

 
PROPERTIES 

Product: 4D
Theme: Printing
Number: 1103

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v12

 
SEE ALSO 

Print object