printThis icon indicating copy to clipboard operation
printThis copied to clipboard

Sketchfab Iframe with print option

Open HypermedFrank3D opened this issue 3 years ago • 3 comments

I'm working on 3D configurator with Sketchfab. It's almost done but I try to find a way to print pdf . When I push the print button, the Iframe lose all the setting I put inside the Iframe. The Iframe will show the intial state for print, instead the new data injected... Sorry for my english Here the project : https://hypermedia-innovation.com/app/multi_3d/

HypermedFrank3D avatar Aug 26 '22 19:08 HypermedFrank3D

screenshot

HypermedFrank3D avatar Aug 26 '22 20:08 HypermedFrank3D

Hi, I am not sure what you're trying to accomplish. Are you trying to inject new content when the user selects "print"? Looking at your code, it appears you are using native window.print(); to print. I don't see printThis called in your code anywhere.

jasonday avatar Sep 03 '22 03:09 jasonday

Sorry, you can look at now, at the same link : https://hypermedia-innovation.com/app/multi_3d/ I created a new folder for my own development...

HypermedFrank3D avatar Sep 07 '22 14:09 HypermedFrank3D