This function retrieves the text associated with a value defining a paper tray in a given printer.
Context
Windows client,
Adelia Cloud client,
Event Adelia client.
Parameters
ALPHA(n) |
PrinterName |
Name of the printer for which the text associated with the PaperSrcValue parameter is to be retrieved. |
NUM_BIN_4 |
PaperSrcValue |
Value assigned to the tray. |
ALPHA(n) |
PaperSrcName |
Paper tray name. |
NUM_BIN_2 |
PaperSrcNameLg |
Size of the PaperSrcName buffer. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was successful. *FALSE if the operation failed. |
Example
PrinterName = '\\PRTSRV\PRINTER1'
PaperSrcValue = 256
CALL_DLL 'VaToolBx.Dll' 'VaToolBxGetPrinterPaperSourceText' PrinterName PaperSrcValue PaperSrcName PaperSrcNameLg ReturnCode
/* Value returned in PaperSrcName = 'Tray 1'
List of the VaToolBx functions by topic