XnView and Ghostscript

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

Rolf

XnView and Ghostscript

Post by Rolf »

Hello,
in different posts in this forum I read that XnView can only interact with AFPL Ghostscript to display PDF-files. Wikipedia says that development of AFPL Ghostscript is ended with V8.56 in May 2006. Since then only GPL Ghostscript is further developed. The actual version 8.60 is published August 2007.
Are there plans to let XnView interact with GPL Ghostscript to benefit from bug fixes in Ghostscript?
Best regards
Rolf
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: XnView and Ghostscript

Post by marsh »

That has already been implemented in latest versions.
Rolf

Post by Rolf »

Hello,
I tried to use GPL Ghostscript V8.60 with XnView 1.91.5. As I understood I do not have to configure anything in XnView as XnView detects Ghostscript automatically.
When I tried to display a PDF-file I only get hex-code displayed.
What have I done wrong?
Best regards
Rolf
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

Rolf wrote:Hello,
I tried to use GPL Ghostscript V8.60 with XnView 1.91.5. As I understood I do not have to configure anything in XnView as XnView detects Ghostscript automatically.
When I tried to display a PDF-file I only get hex-code displayed.
What have I done wrong?
Do you have tried the 1.91.6?
Pierre.
Rolf

Post by Rolf »

Hello Pierre,
no I did not try 1.91.6 yet. I will try it next weekend.
Thanks.
Rolf
Rolf

Tests partly successful

Post by Rolf »

Hi Pierre,
I did some testing over the last weekend and was only partly successful. On one PC I could use XnView 1.91.6 with GPL Ghostscript 8.60 without any difficulties. On a second PC with the same XnView 1.91.6 and GPL Ghostscript 8.60 I get the error message (I translate the message from german to english, so the original english text may differ):
AFPL-Ghostscript was not found on the system. Please download AFPL-Ghostscript from http://ghostscript.com and install it.

I had to reinstall AFPL-Ghostscript to let XnView display PDF-files.
Do you have any ideas for that behaviour?

Best regards
Rolf
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Tests partly successful

Post by xnview »

Rolf wrote:Hi Pierre,
I did some testing over the last weekend and was only partly successful. On one PC I could use XnView 1.91.6 with GPL Ghostscript 8.60 without any difficulties. On a second PC with the same XnView 1.91.6 and GPL Ghostscript 8.60 I get the error message (I translate the message from german to english, so the original english text may differ):
AFPL-Ghostscript was not found on the system. Please download AFPL-Ghostscript from http://ghostscript.com and install it.

I had to reinstall AFPL-Ghostscript to let XnView display PDF-files.
Do you have any ideas for that behaviour?
And on your first PC, you had AFPL ghostscript??
Pierre.
Rolf

Post by Rolf »

Hi Pierre,
both PCs had AFPL-Ghostscript installed. On both PCs I first uninstalled AFPL-Ghostscript and AFPL Ghostscript Fonts an then installed GPL Ghostscript. On one PC XnView detects GPL-Ghostscript and displays PDF-files, on the other PC the previous mentioned error message occurs.

Best regards
Rolf
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

Rolf wrote:Hi Pierre,
both PCs had AFPL-Ghostscript installed. On both PCs I first uninstalled AFPL-Ghostscript and AFPL Ghostscript Fonts an then installed GPL Ghostscript. On one PC XnView detects GPL-Ghostscript and displays PDF-files, on the other PC the previous mentioned error message occurs.
Do you have same keys in registry (HKLM/Software)?
Pierre.
Rolf

Post by Rolf »

Hello Pierre,
I've got it! Although I deinstalled AFPL Ghostscript correctly, I found entries for AFPL Ghistscript in HKLM\Software. After deleting that entries everything works perfect.
Thanks for your help.
Best regards
Rolf