Ticket ID: 23895
|
Creation Date: 11/20/2017 5:56 PM
|
Product: SiteKiosk Classic Windows
|
Attachment: -
|
TicketType: Support Request
|
Version: 9.6
|
Language: English
|
Views: 34287
|
Last Modification Date: 12/19/2017 10:11 AM
|
Platform:
|
|
Level: Closed
|
|
|
Support Request: iFrame printing
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();
}