名前: marutama 日時: 2004-06-06 12:02:35 IPアドレス: 221.185.185.*
>>29489 c:\Resource を c:\gs\gs8.14\Resource にコピーし c:\gs\gs8.14\Resource を c:\Resource にコピーしたところ ps2pdf test.ps test.pdf でエラーがなくなりました。 しかし、test.pdf で文字化けしてます。 c:\gs\gs8.14\lib\gs_res.ps を GSview4.6 で表示すると エラーが出てしまうのが原因かもしれません。 エラー内容を下記に記します。 GSview 4.6 2004-01-11 AFPL Ghostscript 8.14 (2004-02-20) Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Loading NimbusRomNo9L-Regu font from C:\gs\fonts/n021003l.pfb... 3230476 1822025 1436616 138070 0 done. Loading NimbusSanL-Regu font from C:\gs\fonts/n019003l.pfb... 3715584 2228966 1456712 146718 0 done. Displaying non DSC file C:/gs/gs8.14/lib/gs_res.ps Error: /undefined in .forcedef Operand stack: --nostringval-- false --nostringval-- localinstancedict --dict:0/5(L)-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --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-- Dictionary stack: --dict:1126/1686(ro)(G)-- --dict:0/20(G)-- --dict:94/200(L)-- --dict:226/251(G)-- --dict:1126/1686(ro)(G)-- Current allocation mode is local Last OS error: No such file or directory --- Begin offending input --- rs don't implement this % either, so we aren't going to worry about it for a while. currentglobal false setglobal systemdict begin /localinstancedict 5 dict .forcedef % localinstancedict is local, systemdict is global end true setglobal /.emptydict 0 dict readonly def setglobal % Resource category dictionaries have the following keys (those marked with % * are optional): % Standard, defined in the Red Book: % Category (name) % *InstanceType (name) % DefineResource % <key> <instance> DefineResource <instance> % UndefineResource % <key> UndefineResource - % FindResource % <key> FindResource <instance> % ResourceStatus % <key> ResourceStatus <status> <size> true % <key> ResourceStatus false % ResourceForAll % <template> <proc> <scratch> ResourceForAll - % *ResourceFileName % <key> <scratch> ResourceFileName <filename> % Additional, specific to our implementation: % .Instances (dictionary) % .LocalInstances % - .LocalInstances <dict> % .GetInstance % <key> .GetInstance <instance --- End offending input --- file offset = 3072 gsapi_run_string_continue returns -101 以上です。 よろしくお願いします。
この書き込みへの返事: