Closed uziel200 closed 7 years ago
Can you send an sample source code that reproduce the problem? What is actual URI which is opened?
With a simple
var perm = jsPrintSetup.getPermissions();
If the current config is: "Prompt for access if site is not in Allowed/Blocked list" i get that error the URL is https://mx.test3i.net:7443/
Thank you for the reply, it was a very quick response, but I downloaded the new version and now I get another error.
I don't open a new issue because I believe it a relative error
Error:Unsupported scheme: about
jsPrintSetup don't know how to interpret internal scheme about:(by security reasons). file: scheme is local file http: and https: are URLs to internet hosts wich are controlled by permission manager. Try to find workaround not to use about: scheme
Hi, @uziel200 ...How did you solve that question. I´m with this problem, executing an page on localhost, trying to print a PDF with jsprintsetup.
@dieguitoqueiroz update the plugin and then check that localhost can use the plugin as a allocated domain:
Thanks @uziel200. That works!
When you config a host with a port diferent that 80 or 443, the Plugin send this error:
Error: message:Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService.newURI] result:2152398858 name:NS_ERROR_MALFORMED_URI filename:jar:file:///C:/Users/Sergio-Uziel/AppData/Roaming/Mozilla/Firefox/Profiles/kp0tyzoj.default/extensions/jsprintsetup@edabg.com.xpi!/components/jsPrintSetup.js lineNumber:422 columnNumber:0 data:null