PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → How to print a Report on a specified printer without user action?
How to print a Report on a specified printer without user action?
Iniciado por meikl, mar., 17 2017 7:49 AM - 3 respostas
Membro registado
118 mensagems
Publicado em março, 17 2017 - 7:49 AM
Hi all,

How to print a report on a known printer at runtime, which is not the defaultprinter and without any user action?

IConfigure is not thought to use with reports, IConfigureReport pops a user-dialog ... what else?

regards
meikl :)
Publicado em março, 17 2017 - 12:13 PM
Hi

I have been using iconfigure with the detailed parameters with reports
since way before iconfigurereport existed and it is still working
perfectly...

Now, the difference between iconfigure and iconfigurereport is that the
latter initialize the dialog box with the values defined in the report,
thing that the iconfigure function does not...

Considering that you do NOT want to open the dialog, you don't need that
function

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 3/17/2017 à 1:49 AM, Michael a écrit :
Hi all,

How to print a report on a known printer at runtime, which is not the
defaultprinter and without any user action?

IConfigure is not thought to use with reports, IConfigureReport pops a
user-dialog ... what else?

regards
meikl :)
Membro registado
118 mensagems
Publicado em março, 17 2017 - 2:17 PM
well, thanks Fabrice, i will give it a try
Mensagem modificada, março, 17 2017 - 2:18 PM
Membro registado
33 mensagems
Popularité : +2 (2 votes)
Publicado em abril, 11 2017 - 1:25 PM
Have you considered using the Commandline function?

You can use it to pass the printer name at runtime.

--
Regards,

Norman