Company Christmas Holidays
North American Headquarters in Miami, USA: Dec 25, 2015, Jan 1st 2016
European Headquarters in Muenster, Germany: Dec 21, 2015 until Jan 03rd 2016
Limited support is available during this period.
We at PROVISIO wish you Merry Christmas and a Happy New Year!

 

Misc: iFrame printing

Description

Hi
There is issue with printing through Chrome. It is printing all the window not just the content of iFrame.
How to configure SiteKiosk with Chrome to print just content in iFrame?

Here is how we print now:

let iframe = document.createElement('iframe');
const blob = new Blob([response], {type: 'application/pdf'});
this.iframe.src = URL.createObjectURL(blob);
this.iframe.className = 'content__bp';
this.iframeContainer.nativeElement.appendChild(this.iframe);

print() {
    this.iframe.contentWindow.print();
}
 

Answer: (1)

Re: iFrame printing 11/21/2017 10:00 AM
Hello,

I am sorry but this is not possible with using Chrome Browser skin.

You need to switch to an IE based skin (e.g. Metro IE Skin) or open a new window that you print then.

Regards,
Michael Olbrich