PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 22 → How to print a Report on a specified printer without user action?
How to print a Report on a specified printer without user action?
Débuté par Michael, 17 mar. 2017 07:49 - 3 réponses
//hostimage.webdev.info/avatars/0KrpU55N0L1hjl0lmPGHBw
Membre enregistré
51 messages
Posté le 17 mars 2017 - 07:49
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 :)
//hostimage.webdev.info/avatars/default.gif
Posté le 17 mars 2017 - 12:13
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 :)
//hostimage.webdev.info/avatars/0KrpU55N0L1hjl0lmPGHBw
Membre enregistré
51 messages
Posté le 17 mars 2017 - 14:17
well, thanks Fabrice, i will give it a try
Message modifié, 17 mars 2017 - 14:18
//hostimage.webdev.info/avatars/arzI8kMh0euMlYVeq3julQ
Membre enregistré
31 messages
Posté le 11 avril 2017 - 13:25
Have you considered using the Commandline function?

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

--
Regards,

Norman