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
7 stars 1 forks source link

PDF Viewing Error #29

Closed jwolz closed 8 years ago

jwolz commented 10 years ago

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


Original issue 29 created by jonaswolz on 2014-04-26T21:50:45.000Z:

What steps will reproduce the problem?

  1. Upgrade Ghostscript
  2. Upgrade YajHFC
  3. Configure the Upgraded software to previous settings, with the Ghostscript executable path pointing to the new version of Ghostscript (gswin64c.exe)
  4. Click Send fax
  5. Enter phone number, click "Use cover page" and click "Preview

What is the expected output?

A PDF preview of the fax cover

What do you see instead?

An error message with the following information. Error previewing the documents: Failed to open C:\Users\David\AppData\Local\Temp\cover688385795624460424.ps. Error message: A device attached to the system is not functioning.

java.io.IOException: Failed to open C:\Users\David\AppData\Local\Temp\cover688385795624460424.ps. Error message: A device attached to the system is not functioning.

at sun.awt.windows.WDesktopPeer.ShellExecute(Unknown Source)
at sun.awt.windows.WDesktopPeer.open(Unknown Source)
at java.awt.Desktop.open(Unknown Source)
at yajhfc.Java6DesktopManager.open(Java6DesktopManager.java:65)
at yajhfc.file.FormattedFile.view(FormattedFile.java:98)
at yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:177)
at yajhfc.send.SendController$PreviewWorker.doWork(SendController.java:277)
at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)

YajHFC 0.5.5 Java 1.7.0_45 (Oracle Corporation) Java(TM) SE Runtime Environment 1.7.0_45-b18 Java HotSpot(TM) Client VM Windows 7 6.1 (x86)

What version of the product are you using? On what operating system? Windows 7 Version 0.5.5, with FOP plugin and Ghostscript 9.07

Please provide any additional information below.

This computer had an older version of YajHFC which stopped working after the user upgraded the version of Ghostscript and YajHFC. Faxes can be sent with fax cover, but faxes cannot be previewed with fax cover.

jwolz commented 10 years ago

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


Comment #1 originally posted by jonaswolz on 2014-04-28T13:03:48.000Z:

You need to install a viewer to view the PS files. I had the same problem untill I installe gview.

http://pages.cs.wisc.edu/~ghost/gsview/get50.htm

jwolz commented 10 years ago

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


Comment #2 originally posted by jonaswolz on 2014-05-10T11:08:38.000Z:

One possible solution is the one suggested by botts99

Another possibility is going to Options -> Paths and Viewers and checking "View faxes always in this format"

jwolz commented 8 years ago

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


Closing because of no update in 2 years...