/
Print from my program

Print from my program


Printing from a file on the client side (Windows)

You can print from a file by using the following code:

CALL fgl_set_property(“gui”, “winshellexec.verb”, “print”)
CALL fgl_winshellexec(file_name)
# 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.

Printing from a file on the client side(Linux)

In Linux, you will need to use the “RUN STRING” command to call the LPR program to print a file. For usage and syntax of LPR, type ‘man lpr’ in your command line.

Related content

Remote printing with LyciaWeb
Remote printing with LyciaWeb
More like this
Text Mode doesn’t execute on Linux/Unix
Text Mode doesn’t execute on Linux/Unix
More like this
Compile programs
Compile programs
More like this
How to run Chimera
How to run Chimera
More like this