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 Index 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

Index

Number of the printer for which the parameters will be stored.

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

Index = 1

Permanent = *FALSE *sets the parameters for the session (lifetime of the process)

PrinterName = '\\SRVIMPR\MONIMP'

ReturnCode = *TRUE

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

 

List of the VaToolBx functions by topic

 

↑ Top of page

  • Aucune étiquette