Trying to print an opened document from “onlyoffice documentserver” within the web interface is blocked with the following message in the console tab of the chrome developer tools.
Uncaught DOMException: Blocked a frame with origin “https://my-serverFQDN” from accessing a cross-origin frame.
at HTMLIFrameElement.iframePrint.onload (https://my-serverFQDN/onlyofficeds/5.3.4-3//web-apps/apps/documenteditor/main/app.js:55:10495)
which prevent it of printing the document. the only option is to download and save the document and then to print using other tools which is unpleasant a little bit.
1 Like
When I try to print using Firefox or Chrome I get different responses. In Firefox the document goes directly to a download as PDF. Chrome acts more like expected. That is, it presents a print dialog and I can go directly to the printer. This seems to be the case with both docx and xlsx documents.
Seafile CE 7.0.4 | Ubuntu 18.04 | Nginx
I think the “onlyoffice documentserver” is protected from access to everyone. I have also try to print the file from the seafile onlyoffice documentserver server using the internet-connected printer HP Designjet T520. The massage is showing that the server is protected. That’s why you can’t able to print this server.