This function retrieves, for a given printer number, the values of print settings for Adelia reports that are stored in the wicfgva.ini configuration file.
Context
Windows client,
Adelia Cloud client.
Parameters
NUM_BIN_2 |
PrinterNum (I) |
Printer number (from 1 to 9). |
ALPHA(n) |
PrinterName (O) |
Printer name. |
NUM_BIN_2 |
PrinterNameLength (I) |
Length of the PrinterName string. |
ALPHA(n) |
Font (O) |
Font name. |
NUM_BIN_2 |
FontLength (I) |
Length of the Font string. |
NUM_BIN_2 |
Orientation (O) |
1=Portrait, |
NUM_BIN_2 |
PaperSize (O) |
Paper size. |
NUM_BIN_2 |
Tray (O) |
Tray. |
NUM_BIN_2 |
Duplex (O) |
1=None, |
BOOL |
RawMode (O) |
Raw mode. |
BOOL |
ReturnCode (O) |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if it was not. |
Example
ALPHA(256) PrinterName
ALPHA(256) Font
NUM_BIN_2 Orientation
NUM_BIN_2 PaperSize
NUM_BIN_2 PaperSrc
NUM_BIN_2 Duplex
BOOL RawMode
BOOL ReturnCode
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxGetFileCfgAdeliaPrinterEx' 1 PrinterName 256 Font 256 Orientation PaperSize PaperSrc Duplex NbCopies RawMode ReturnCode
List of the VaToolBx functions by topic