I have posted this bug to several locations, each
telling me later to post it to somewhere else.
This bug was reported on qa.mandriva.com:
http://qa.mandriva.com/show_bug.cgi?id=19953
This bug was reported on bugs.ghostscript.com:
http://bugs.ghostscript.com/show_bug.cgi?id=688401
This bug was reported on cups.org:
http://www.cups.org/str.php?L1348
Summary: Problem with rendering postscript from
WordPerfect in Ghostscript 8.15/CUPS under Mandriva 2006.0
I noticed that I was unable to print from Linux
WordPerfect 8 under Mandriva 2006.0. I use a color
postscript printer driver in WP, and call cups, which
calls ghostscript, which then renders to my HP PSC2210
printer. Nothing has changed in WP8 for many years and
I have successfully used the same setup for printing in
Mandrake 8 through 10.2. 2006.0 is the first time I
have had problems. The version is: ghostscript-8.15-21mdk.
If I print the output to a file, and trying printing
that from the command line, the results are the same.
I have attached the "wptest.ps" file for testing.
I [06/Nov/2005:20:06:57 -0500] Started filter
/usr/lib/cups/filter/foomatic-rip
(PID32647) for job 3.
I [06/Nov/2005:20:06:57 -0500] Started backend
/usr/lib/cups/backend/hp (PID 32648) for job 3.
E [06/Nov/2005:20:07:00 -0500] PID 32647 stopped with
status 3!
I turned on debugging and have attached that as a file
called "cupserrors.txt".
To eliminate CUPS, I tried using ps2pdf, since that
will also use ghostscript but not CUPS. The results are:
[root@kram ~]# ps2pdf test.ps
Error: /configurationerror in --setpagedevice--
Additional information: [/DeferredMediaSelection true]
Operand stack:
--nostringval-- --dict:2/2(L)--
Execution stack:
%interp_exit .runexec2 --nostringval--
--nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval--
--nostringval-- false 1 %stopped_push 1 3
%oparray_pop 1 3
%oparray_pop 1 3 %oparray_pop 1 3
%oparray_pop .runexec2
--nostringval-- --nostringval-- --nostringval-- 2
%stopped_push
--nostringval-- 2 3 %oparray_pop
--nostringval-- --nostringval--
--nostringval-- --dict:1/2(L)-- --nostringval-- 1
%dict_continue
Dictionary stack:
--dict:1117/1686(ro)(G)-- --dict:0/20(G)--
--dict:82/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 17554
ESP Ghostscript 815.01: Unrecoverable error, exit code 1
I have verified the problem is not my particular
machine by replicating the exact same results on
another Mandriva 2006.0 machine. I also verified that
wptest.ps has no trouble printing, displaying (gv), or
converting (ps2pdf) on a Mandriva 10.2 machine,
ghostscript-8.15-16mdk. Note that both are using 8.15,
just a different Mandriva build.
I also tested generating postscript in WordPerfect 8
using its generic "Passthru Postscript" driver, and
that prints/renders file. I don't use that driver,
because it is not color. Long ago, I took a WP "HP
color laserjet 5 PS" and used ptr to remove the PJL
preambles and created "hp2200ps.prs", which has always
worked great with modern HP inkjet printers + CUPS. If
you select the stock, WP, "HP color laserjet 5 PS" in
WP, save the PS to a file, and try to print it, you get
the exact same error as with my modified WP driver.
WP-generated PS file that cannot be printed
Error text from CUPS when attempting to print or render wptest.ps