PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → 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?
Started by meikl, Mar., 17 2017 7:49 AM - 3 replies
Registered member
56 messages
Posted on March, 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 :)
Posted on March, 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 :)
Registered member
56 messages
Posted on March, 17 2017 - 2:17 PM
well, thanks Fabrice, i will give it a try
Message modified, March, 17 2017 - 2:18 PM
Registered member
31 messages
Posted on April, 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