- This function only concerns Adelia reports.
- It is ignored in ACRPE print mode.
This function displays the system dialog box used to select a printer and the following print parameters:
Paper size,
Orientation,
Tray selection,
Duplex mode,
Number of copies,
Copy collation.
The selected information will be stored for the printer number set as a parameter.
Context
Windows client,
Adelia Cloud client.
Parameters
NUM_BIN_2 |
PrinterNum |
Printer number (from 1 to 9). |
BOOL |
Permanent |
Specifies whether the choice is permanent (the configuration file will be modified) or applicable only to the current session. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if the operation failed. |
Note: The Number of copies and Copy collation parameters can only be valid for the session (as they are not managed in the configuration file WICFGVA.INI).
Example
PrinterNum = 1
Permanent = *TRUE
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxChooseAdeliaPrinter' PrinterNum Permanent ReturnCode
IF ReturnCode= *FALSE
....
END
List of the VaToolBx functions by topic