gswlx error message

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Jordi
Senior Member
Senior Member
Posts: 239
Joined: 2004-12-17, 18:30 UTC

gswlx error message

Post by *Jordi »

Hello,

I have been using the gswlx plugin for a while without problems, but now I get this error message:
gswlx: getting BoundingBox: 0 0 595 842
AFPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Unrecoverable error: rangecheck in .putdeviceprops
gs_create_bitmap(): init_with_args() error (-15): rangecheck
This is the TC ini entry:
9=%COMMANDER_PATH%\plugins\WLX\gswlx\gswlx.wlx
9_detect=MULTIMEDIA & (EXT="PS" | EXT="PRN" | EXT="EPS" | EXT="AI" | EXT="PDF" | EXT = "PFB") | FIND("%!PS-Adobe-") | ([0]="%" & [1]="!")
The PDF is not displayed. I use Windows XP, TC 7.04a, and AFPL GS 8.54. Do you have any suggestions?

Thanks a lot!
Jordi
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 1050
Joined: 2003-06-05, 10:45 UTC

Post by *Wilhelm M. »

This is my detect string:
8_detect="MULTIMEDIA & (EXT="PS" | EXT="PRN" | EXT="EPS" | EXT="AI" | EXT="PDF" | EXT = "PFB") | ([0]="Å" & [1]="Ð" & [2]="Ó" & [3]="Æ") | ([0]="%" & [1]="!")"
Looks somewhat different. Perhaps you try that one? Commenting out your old one, of course, just in case.
Grüße/Regards,
Wilhelm
User avatar
Jordi
Senior Member
Senior Member
Posts: 239
Joined: 2004-12-17, 18:30 UTC

Post by *Jordi »

Thanks, Wilhelm. Unfortunately it doesn't change the behaviour. I wonder if it's Ghostscript problem. On the other hand, it works alright with FreePDF.
Jordi
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 1050
Joined: 2003-06-05, 10:45 UTC

Post by *Wilhelm M. »

Jordi wrote:I wonder if it's Ghostscript problem.
Could be a compatibilty problem. Your Ghostscript is rather old. I'm using GPL GS 8.57 which is also not the newest, but still newer than yours.
Does the error occur with every pdf or just with some? Perhaps your GS does not display pdfs of the most recent standards (>1.5).
Grüße/Regards,
Wilhelm
User avatar
Jordi
Senior Member
Senior Member
Posts: 239
Joined: 2004-12-17, 18:30 UTC

Post by *Jordi »

The error occurs with any PDF files, including the ones I could view until recently. I tried the new GS version but it's the same. Strangely, gswlx still works on a second PC with 8.54.

Another idea: This is contents of my lsplugin.ini. Do you detect anything which shouldn't be there?
[gswlx]
gsdll_path=C:\Programme\gs\gs8.63\bin\gsdll32.dll
gslib_path=c:\Programme\gs\gs8.63\lib;c:\Programme\gs\fonts
sample_string=The quick brown fox jumps over the lazy dog.
translate_ui=1
sample_size=20
pfbsmp_flags=7
defPageBox=595 842
bm_resolution=-1
max_resolution=2540
display_format=198660
use_alphabits=1
graphics_alpha=4
text_alpha=4
use_fontcache=0
last_scale=0
last_media=40038
mirror_horz=0
mirror_vert=0
rotate_angle=0
last_bmsave=1
bmsave_addEOT=1
bmsave_brlines=1
bmsave_copies=1
bmsave_encode=1
tiffsave_lzw=1
lzw_predictor=1
update_interval=100
gslfont_spec=System,-11,1
gs_options=
language_file=gswlx_ger.lng
Jordi
User avatar
Jordi
Senior Member
Senior Member
Posts: 239
Joined: 2004-12-17, 18:30 UTC

Post by *Jordi »

Well, what can I say? It works again after de-installing and re-installing gswlx and deleting the lsplugin.ini. The new one reads:
[gswlx]
gsdll_path=C:\Programme\gs\gs8.63\bin\gsdll32.dll
gslib_path=C:\Programme\gs\gs8.63\lib;C:\Programme\gs\fonts
sample_string=The quick brown fox jumps over the lazy dog.
language_file=gswlx_ger.lng
translate_ui=1
sample_size=20
pfbsmp_flags=7
defPageBox=595 842
bm_resolution=72
max_resolution=2540
display_format=198660
use_alphabits=1
graphics_alpha=4
text_alpha=4
use_fontcache=0
last_scale=0
last_media=40038
mirror_horz=0
mirror_vert=0
rotate_angle=0
last_bmsave=1
bmsave_addEOT=1
bmsave_brlines=1
bmsave_copies=1
bmsave_encode=1
tiffsave_lzw=1
lzw_predictor=1
update_interval=100
gslfont_spec=System,-11,1
gs_options=
Anyway, many thanks, Wilhelm, for your help.
Jordi
Post Reply