Warning:
- This function only concerns Crystal Reports reports.
- It is ignored in ACRPE print mode.
This function is used to retrieve from the standard printer selection box the following print parameters:
Printer name,
Orientation,
Paper size,
Tray selection,
Duplex mode,
Number of copies.
Context
Windows client,
Adelia Cloud client,
Event Adelia client.
Parameters
ALPHA(n) |
PrinterName |
Name of the retrieved printer. |
NUM_BIN_2 |
PrtNameSize |
Length of the PrinterName variable. |
NUM_BIN_2 |
Orientation |
Orientation of the retrieved printer (1 = Portrait, 2 = Landscape). |
NUM_BIN_2 |
PaperSize |
Indicates the size of the paper used for the print job. |
NUM_BIN_2 |
Tray |
Indicates the printer's paper feed source. |
NUM_BIN_2 |
Duplex |
1=None, 2=Long side, 3=Short side. |
NUM_BIN_2 |
NbCopies |
Number of copies to be printed. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was successful. *FALSE if the operation failed. |
Example
ALPHA(100) NUM_BIN_2 NUM_BIN_2 NUM_BIN_2 NUM_BIN_2 NUM_BIN_2 NUM_BIN_2 BOOL PrtNameSize |
PrinterName PrtNameSize Orientation PaperSize Tray Duplex NbCopies ReturnCode = 100 |
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxQueryAdeliaPrinterEx' PrinterName PrtNameSize Orientation PaperSize Tray Duplex NbCopies ReturnCode
List of the VaToolBx functions by topic