There are 2 files: index.html
and print.html
First one contains a button that opens print.html
using simple command:
Your server not added ORIGIN headers. You need add it on .htaccess. For example:
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"
Or you can add it in PHP on print.html (if you can use PHP on html files)
header ("Access-Control-Allow-Origin: *");
header ("Access-Control-Allow-Headers: origin, x-requested-with, content-type");
header ("Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS");