4D Pack v14AP BLOB to print settings |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Pack v14
AP BLOB to print settings
|
AP BLOB to print settings ( printSettings ; paramType ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
printSettings | BLOB |
![]() |
BLOB containing the print settings | |||||
paramType | Longint |
![]() |
0 = Layout and print, 1 = Print | |||||
Function result | Longint |
![]() |
1 = Operation successful, 0 = No current printer, -1 = Incorrect parameters | |||||
The AP BLOB to print settings command replaces the current print settings of 4D by the parameters stored in the printSettings BLOB. This BLOB must have been generated by the AP Print settings to BLOB command.
The printSettings parameter contains two types of parameters:
You can choose to load only the print parameters.
If you pass 0 in paramType or omit this parameter, all the parameters are used. If you pass 1, only the print parameters are used; the layout parameters remain unchanged.
The new print parameters are applied to the entire database and for the whole session, as long as no command such as PAGE SETUP, SET PRINT OPTION or PRINT SELECTION without the > parameter modifies them.
The parameters set are used more particularly by the PRINT SELECTION, PRINT LABEL, PRINT RECORD, Print form and QR REPORT commands, as well as by the menu commands of 4D, including those of the Design environment.
The PRINT SELECTION, PRINT LABEL and PRINT RECORD commands must be called with the > parameter (if applicable) in order for the settings defined by AP BLOB to print settings to be kept.
Note: Print settings are not formatted in the same way under Windows and Mac OS. As a result, the compatibility of the printSettings BLOB between the two platforms is not guaranteed.
The command returns 1 if the BLOB has been correctly loaded, 0 if no current printer is selected and -1 if the BLOB is incorrect.
Product: 4D Pack
Theme: 4D_Pack : Printing
Number:
61954
Created: 4D Pack 2004
4D Pack ( 4D Pack v11.4)
4D Pack ( 4D Pack v13.2)
4D Pack ( 4D Pack v12)
4D Pack ( 4D Pack v14 R2)
4D Pack ( 4D Pack v14)
4D Pack ( 4D Pack v14 R3)
4D Pack ( 4D Pack v14 R4)