Products Downloads


French version


 


Important: This function only concerns Crystal Reports reports.


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 print settings will be stored for the PrinterNum printer number.


Context

  • Windows client,

  • Adelia Cloud client.


Parameters

NUM_BIN_2

PrinterNum

Number of the printer (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 WICFGVCR.INI).


Example

PrinterNum = 1

Permanent = *TRUE

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxChoosePrinter' PrinterNum Permanent ReturnCode

IF ReturnCode= *FALSE

....

END


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette