No, I want to send a "new" Genero Report (using GRE/GRD) DIRECTLY to the printer, without previewing it:
The logic would be something like this:
--> Ask the user if he/she wants to preview or print the data:
--> If the user wants to preview the data then ask him the format (SVG / PDF ) and "preview" the report (and the Genero Report Viewer / Adobe Acrobat Reader would be used to preview the report (I have this part working!));
--> If the user wants to print the data, then ask the user which printer he/she wants to use (using the standard Microsoft Windows Print dialog) and sent the report to __THAT__ printer (without previewing the report) (... and this is the part I am unable to do)
NOTE: In Four J's BDS, if I set the environment variable DBPRINT to "FGLSERVER" and I use a "traditional" report without any printer sequences ("escapes") I can do something like that, but the standard Microsft Windows Print dialog only appears after the report is finished.
Vitorino Ribeiro
SINFIC - Sistemas de Informação Industriais e Consultoria, S.A.
http://www.sinfic.ptvribeiro@sinfic.pt