You can print from a file by using the following code:
CALL fgl_set_property(“gui”, “winshellexec.verb”, “print”)
# this next call is to simply reset the verb
CALL fgl_set_property(“gui”, “winshellexec.verb”, “open”)
NOTE: The printer that is used will be the default printer set by the platform that you are using.
In Linux you will need to use the “RUN STRING” command to call the LPR program to print a file. For uses and syntax of LPR, type ‘man lpr’ on your command line.