You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
As a consequence the method returns false and the choosen device is pswrite instead of ps2write.
But pswrite is not a supported device.
This leads to this error: org.ghost4j.GhostscriptException: Cannot initialize Ghostscript interpreter. Error code is -100
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a problem when parsing the device names to check if ps2write device is supported.
Here is the content of the result variable on line 121:
On line 127 you do:
String[] deviceNames = lines[i].substring(1, lines[i].length() - 2).split("/")
The substring seems to be too short as we get:
[, pnggray , tiffsep1 , bmpgray , ...., eps9high , ps2writ]
The e from ps2write is missing.
As a consequence the method returns false and the choosen device is pswrite instead of ps2write.
But pswrite is not a supported device.
This leads to this error:
org.ghost4j.GhostscriptException: Cannot initialize Ghostscript interpreter. Error code is -100
The text was updated successfully, but these errors were encountered: