This function is used to retrieve the name of the default printer.
Context
Windows client,
Adelia Cloud client.
Parameters
ALPHA(n) |
PrinterName |
Name of the printer. |
NUM_BIN_2 |
PrtNameSize |
Length of the PrinterName variable. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if the operation failed. |
Example
PrtNameSize = 256
PrinterName = *BLANK
ReturnCode = *FALSE
CALL_DLL 'VaToolBx.dll' 'VaToolBxGetDefaultPrinter' PrinterName PrtNameSize ReturnCode
List of the VaToolBx functions by topic