Printer support in Windows

Hi

Has anyone found a way of printing from a compiled Windows app? The project I am working on will require some form of printed report. My backup plan is to take a round trip to a server to produce a report that is emailed to the user (to print), but if I could output direct to the local printer that would be better!

Is it possible? Matt

Corona does not have any direct support for printing. For iOS and Android the Activity/Sharing popup has some limited abilities to print images. We did an Enterprise tutorial to also print images and PDFs. None of that is helpful for Windows. While we don’t have Enterprise ported to Windows yet, it is possible to write plugins in Visual Studio that would produce a valid Windows DLL and if you’ve got the right code, you can simply drop that DLL into your Windows executable folder and access the plugin from Corona.

See:  https://forums.coronalabs.com/topic/62012-creating-plugins-for-desktop-apps/

But this begs me to question. What do you plan on printing?

Rob

Hi Rob, thanks for the reply. I have been using Corona for business apps for about a year now. I know it has some short cummings for business use, but actually when you (as I have) built a library of useful business type tools it actually becomes really powerful platform. However, with business comes business type requirements. Having the option to create a paper copy of reports, analysis or audits will always be there. The Windows build option is great, but users will expect it work like other Windows programs which means support for attached devices. Will look into the Visual Studio route… Keep up the good work Rob! Big fan of Corona!! Matt

Corona does not have any direct support for printing. For iOS and Android the Activity/Sharing popup has some limited abilities to print images. We did an Enterprise tutorial to also print images and PDFs. None of that is helpful for Windows. While we don’t have Enterprise ported to Windows yet, it is possible to write plugins in Visual Studio that would produce a valid Windows DLL and if you’ve got the right code, you can simply drop that DLL into your Windows executable folder and access the plugin from Corona.

See:  https://forums.coronalabs.com/topic/62012-creating-plugins-for-desktop-apps/

But this begs me to question. What do you plan on printing?

Rob

Hi Rob, thanks for the reply. I have been using Corona for business apps for about a year now. I know it has some short cummings for business use, but actually when you (as I have) built a library of useful business type tools it actually becomes really powerful platform. However, with business comes business type requirements. Having the option to create a paper copy of reports, analysis or audits will always be there. The Windows build option is great, but users will expect it work like other Windows programs which means support for attached devices. Will look into the Visual Studio route… Keep up the good work Rob! Big fan of Corona!! Matt