Hi all,
Until now we only use BDL and GENERO on Linux platform. Now we need to make an application on windows XP.
For printer we use in general 'start report pr1 to pipe' with an lp instruction. How do we need to print towards on windows printer?
Thanks for any tips!!
Danny
Hello Denny,
you can write the report to a file "start report rep1 to file rep.txt"
then you can start an shell/batch file which print this file. If you are using PCL-Commands in your code then you can use pikprtr.exe to print the file with pcl-code (I attached that little program). An other way is to create PDF-Files and then show them with Acrobat-Reader. For that way we use enscript (for Unix AND Windows!).
hth
You should be aware of the DBPRINT environment variable. With DBPRINT=FGLSERVER you can print to the clients windows printer thru the GDC via the START REPORT TO PRINTER syntax
https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/EnvironmentVariables.html#EV_DBPRINT
Thanks for the tips!!!!
Problem!!
I've set DBPRINT=FGLSERVER.
But now every line is printed on a new page.
Any idea??
Thanks,
Danny