Products Downloads


French version


 


Important: This function only concerns Adelia reports.


This function is used to set permanently or for the current session the PrinterName printer for the PrinterNum printer number.
If the PrinterName parameter is not specified, the standard printer selection box is displayed (via the function VaToolBxChooseAdeliaPrinter).


Context

  • Windows client,

  • Adelia Cloud client.


Parameters

NUM_BIN_2

PrinterNum

Number of the printer (from 1 to 9).

BOOL

Permanent

Specifies whether or not the new parameters are taken into account for the current session only (*FALSE) or permanently (*TRUE) (the configuration file will be modified).

ALPHA

PrinterName

Name of the printer.

To designate the default printer, use the following value: 'DEFAULT PRINTER'.

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was successful.

*FALSE  if the operation failed.


Example

PrinterNum = 1
Permanent = *FALSE *sets the parameters for the session (lifetime of the process)
PrinterName  = '\\SRVIMPR\MONIMP'
ReturnCode  = *TRUE

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxSetAdeliaPrinter' PrinterNum Permanent PrinterName ReturnCode


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette