This function retrieves, for a given printer number, the values of print settings for Crystal Reports reports that are stored in the wicfgvcr.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. |
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 |
ReturnCode |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if it was not. |
Example
ALPHA(256) PrinterName
NUM_BIN_2 Orientation
NUM_BIN_2 PaperSize
NUM_BIN_2 PaperSrc
NUM_BIN_2 Duplex
BOOL ReturnCode
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxGetFileCfgPrinterEx' 1 PrinterName 256 Font 256 Orientation PaperSize PaperSrc Duplex NbCopies RawMode ReturnCode
List of the VaToolBx functions by topic