FilePrint
- Last UpdatedJul 18, 2023
- 1 minute read
Prints a file on a device.
Syntax
FilePrint(Devicename, Filename)
Devicename:
The name of the target device.
Filename:
The name of the file to print on the device.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
FileOpen, , FileWrite, FileWriteLn
Example
! Print a data file on the system printer.
FilePrint("Printer_Device","Data.txt");