| Home | All functions | Categories |
vuPrintExists(*CSTRING pFile), LONG
Sends the specified file to the default printer if the file exists.
| Parameter | Data Type | Description |
|---|---|---|
| pFile | CSTRING(260) | Full path to the file to print if it exists and is valid |
Note: In vuFileTools V5, CSTRINGs are not limited to the size shown above. The number is for example only.
A LONG value indicating the result:
FilePath CSTRING(260)
Ret LONG
FilePath = 'C:\Temp\Test.txt'
Ret = vuPrintExists(FilePath)
MESSAGE('vuPrintExists returned: ' & FORMAT(Ret), 'vuPrintExists Test')
Notes
Uses the systems default printer.
If the file does not exist, the function returns 0 and no action is taken.
| Home | All functions | Categories |