OK, I figured this one out myself. I found a file in /usr/doc/libpaperg/examples called gs-frontend.c or something. With a bit of modification, this program fixes things.
I rename the /usr/bin/gs binary to /usr/bin/gs-5.10, and put the latter in the #DEFINE at the top of the C program gs-frontend.c I compiled gs-frontend.c, name the binary gs, throw it in /usr/local/bin. gs and gv now work fine. For printing Postscripts to work, I had to change my /etc/magicfilter/epsonlq-filter to use /usr/local/bin/gs instead of /usr/bin/gs Alex. Alex Graf wrote: > > I installed the gs-aladdin package, but I get an error message like this > whenever I try to use gs: > > $ gs > Aladdin Ghostscript 5.10 (1997-11-23) > Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights > reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Unknown paper size: (A4). > Unrecoverable error: stackunderflow in dup > > Unexpected interpreter error -17. > Error object: dup(d84)name(0x818af74#449) > Execution stack at 0x818855c: > 0x8191934: 0x0f oper --F---e-- 0x0000 0x08079630 = %interp_exit > 0x819193c: 0x03 file --G-rxe-- 0x0001 0x081950a4 > 0x8191944: 0x05 mpry --G-rxe-- 0x0039 0x081c89e6 > Dictionary stack at 0x8188484: > 0x8192164: 0x02 dict --Gwrx--- 0x0000 0x081922bc > 0x819216c: 0x02 dict --Gwrx--- 0x0819 0x081d5418 > 0x8192174: 0x02 dict --Lwrx--- 0xbfff 0x0819928c > 0x819217c: 0x02 dict --Gwrx--- 0x0000 0x081922bc > > This is preventing me from printing any PostScripts or PDF or viewing > them with GV. Any help on this would be appreciated. > > Alex. > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null