This function retrieves the values stored in a logical printer's wicfgvcr.ini configuration file (Crystal Reports print jobs).
Context
Windows client,
Adelia Cloud client.
Parameters
NUM_BIN_2 |
Index (I) |
Number of the logical printer. |
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