jwolz / yajhfc

YajHFC (Yet another Java HylaFAX client) is a client for the HylaFAX fax server written completely in Java
https://www.yajhfc.de
Other
6 stars 1 forks source link

Ghostscript error #52

Open jwolz opened 7 years ago

jwolz commented 7 years ago

Original report by Anonymous.


Hello,

we tried to send a PDF of 14 pages and got the following error. To send only 1 page was no problem. What can we do to fix it? Thanks.

#!java

Beim Abschicken des Faxes ist ein Fehler aufgetreten:
Non-zero exit code of GhostScript (-1073741819):
%%[ ProductName: GPL Ghostscript ]%%

yajhfc.file.FileConverter$ConversionException: Non-zero exit code of GhostScript (-1073741819):
%%[ ProductName: GPL Ghostscript ]%%

    at yajhfc.file.GhostScriptMultiFileConverter.convertMultiplePSorPDFFiles(GhostScriptMultiFileConverter.java:101)
    at yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:144)
    at yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:206)
    at yajhfc.send.SendFileManager.putPDFFile(SendFileManager.java:154)
    at yajhfc.send.SendFileManager.uploadFiles(SendFileManager.java:93)
    at yajhfc.send.SendController$SendWorker.doWork(SendController.java:348)
    at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)

YajHFC 0.6.0
Java 1.8.0_111 (Oracle Corporation)
Java(TM) SE Runtime Environment 1.8.0_111-b14
Java HotSpot(TM) Client VM
Windows 10 10.0 (x86)
jwolz commented 7 years ago

Original comment by Jonas Wolz (Bitbucket: jonaswolz, GitHub: jwolz).


Most likely the reason is that the printer driver produces some PostScript GhostScript cannot understand...

Do you see more error messages when you go to Help->Log Console in YajHFC?

What you can also try is to update your GhostScript version to the newest one from http://www.ghostscript.com/download/gsdnld.html

jwolz commented 7 years ago

Original comment by Anonymous.


In the Log Console i can't see any informations. I will try to update GhostScript from 9.10 to 9.20

jwolz commented 7 years ago

Original comment by Jonas Wolz (Bitbucket: jonaswolz, GitHub: jwolz).


Did updating GhostScript help?

jwolz commented 7 years ago

Original comment by ICTbroker (Bitbucket: ICTbroker, ).


Hi Jonas,

one of my customers has the same problem. There is no additional information in the log console and update of ghostscript didn`t change anything. Problem only occurs when customer sends a larger amount of pages.

Any ideas how to fix this problem? Best regards, Alex

jwolz commented 7 years ago

Original comment by Jonas Wolz (Bitbucket: jonaswolz, GitHub: jwolz).


Could you send me the PostScript of a document that has such an issue?

You can get the PostScript by right-clicking the document in the "files to send" list of the YajHFC send dialog and selecting "Save copy as"