Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to print a paper in Corona
Started by Nerox Jul 13 2018 08:49 AM

3 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Nerox

[GLOBAL: userInfoPane.html]
Nerox
  • Enthusiast

  • 87 posts
  • Corona SDK

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 ?



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,119 posts
  • Corona Staff

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

 

Rob



[TOPIC: post.html]
#3

Nerox

[GLOBAL: userInfoPane.html]
Nerox
  • Enthusiast

  • 87 posts
  • Corona SDK

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 ?



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,119 posts
  • Corona Staff

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




[topic_controls]
[/topic_controls]