Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on August 12, 2022, 06:45:32 am



Title: Ask Reuben 139 - DBPRINT=FGLSERVER
Post by: Reuben B. on August 12, 2022, 06:45:32 am
In transforming to GUI rendering with the Genero Desktop Client, the question would get asked how do I print to the printer connected to my Workstation?
 
Remembering that with GUI applications and the client server architecture, the 'fglrun' process is running on the Application Server and the 'gdc' process is running on your front end Workstation.  The 'fglrun' process only knows about the printer connected to the Application Server.
 
The technique is to set the DBPRINT environment variable to a special value 'FGLSERVER'.  This routes the report output through to the printer configured on the Genero Desktop Client.
 
To learn more about what options are available and what you can do in a Web environment, or using Genero Report Writer, goto https://4js.com/ask-reuben/ig-139/