Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How could I just print (send to printer) the content of one image or pdf?
Develop games in your browser. Powerful, performant & highly capable.
Try this:
howtoconstructdemos.com/print-an-image-or-export-to-pdf
thanks!
its working like a charm!
one more question, its possible to make it also in C2?
Idk, you can try - run the dame script with "Browser Execute JS" action.
but I would have to include in the files the print.min.js, right?
should I call this file in on start layout before "Browser Execute JS" ?
if so.. how to do that?
thanks for your patience and thank you!
You can just insert the content of this file into a text variable and then execute it with "Browser Execute JS"
Or add this file to the project, request it with AJAX and then execute.