How could I just print (send to printer) the content of one image or pdf?
Try this:
howtoconstructdemos.com/print-an-image-or-export-to-pdf
Develop games in your browser. Powerful, performant & highly capable.
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.