This function retrieves the values of print settings for Adelia reports specific to a printer number (values active for the current session).
Context
Windows client,
Adelia Cloud client.
Parameters
NUM_BIN_2 |
PrinterNum (I) |
Printer number. |
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, |
NUM_BIN_4 |
NbCopies (O) |
Number of copies to be printed. |
BOOL |
RawMode (O) |
Raw mode. |
BOOL |
ReturnCode (O) |
Return code: *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
NUM_BIN_4 NbCopies
BOOL RawMode
BOOL ReturnCode
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxGetAdeliaPrinterEx' 1 PrinterName 256 Font 256 Orientation PaperSize PaperSrc Duplex NbCopies RawMode ReturnCode
List of the VaToolBx functions by topic