How to print a paper in Corona

I am doing a windows program where the user has to enter some inputs then presses a button then a paper gets printed using the user’s printer, is that achievable in corona ? if yes then how ? and if no then how to do it using lua ?

I am unaware of any tools that support printing on Window’s desktop using Corona. 

Rob

Yea I just learned that it probably can’t be done using lua only, can I use C++ or Java alongside lua in my windows program in corona ?

You can add native Windows features using Visual Studio to build a plugin/dll file. We don’t have any direct instructions for this, but you can look at this project:

https://github.com/coronalabs/plugins-sample-memoryBitmap

And look in the win32 example for how to make a Windows-based plugin.

Rob

I am unaware of any tools that support printing on Window’s desktop using Corona. 

Rob

Yea I just learned that it probably can’t be done using lua only, can I use C++ or Java alongside lua in my windows program in corona ?

You can add native Windows features using Visual Studio to build a plugin/dll file. We don’t have any direct instructions for this, but you can look at this project:

https://github.com/coronalabs/plugins-sample-memoryBitmap

And look in the win32 example for how to make a Windows-based plugin.

Rob