[ubuntu-jp:467] ghostscript on Ubuntu Feisty
OKAMURA, Leona
leona at simasima.org
Mon Jun 4 08:55:59 BST 2007
おかむらです
Ubuntu Linux Feisty Fawnをインストールした計算機と,Epson LP-9200Cをネット
ワーク接続しています.
gnome-cups-managerでプリンタを設定することで,Xのアプリケーションからの印刷
はできました.しかし,Feisty Fawn標準のghostscriptである gs-epsは,[1],[2]
で指摘されているとおり,epsファイルの扱いに問題があります.
[1] https://bugs.launchpad.net/ubuntu/+source/gs-esp/+bug/75894
[2] https://bugs.launchpad.net/ubuntu/+source/gs-esp/+bug/108159
同ページで指摘されているように,gs-gplで代替すると,epsは正しく表示されるよ
うになります.しかし今度は印刷ができなくなりました.
印刷要求を送ったときの,/var/log/cups/error_log を一部以下に示します.
> New page: 1 1
> Inserting option code into "PageSetup" section.
>
> Found: %%BeginPageSetup
> Found: %%EndPageSetup
> End of page header
> Embedded document, nesting level now: 1
> Stopping search for page header options
> Found:
> --> Output goes directly to the renderer now.
>
>
> Starting renderer
> JCL: <job data>
>
> renderer PID kid4=7465
> renderer command: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dCasset=0 -r600x600 -sDEVICE=lp9200c -dNumCopies=1 -sOutputFile=- -
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LANG = "ja_JP"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-dCasset=0' '-r600x600' '-sDEVICE=lp9200c' '-dNumCopies=1' '-sOutputFile=%stdout' '-'
> GPL Ghostscript 8.54 (2006-05-17)
> Copyright (C) 2006 artofcode LLC, Benicia, CA. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Unknown device: lp9200c
> Unrecoverable error: undefined in .uninstallpagedevice
> Operand stack:
> defaultdevice
> renderer return value: 1
> renderer received signal: 1
> tail process done writing data to STDOUT
> KID4 finished
> Wrote 1 pages...
> Found: %%EndFont
> --> Continue DSC parsing now.
メッセージどおり,gs-gplがデバイスlp9200cに対応していないのが,エラーの原因
だと思います.実際,次のとおり,gs-espは対応しており,gs-gplは対応していま
せん.
>% gs --help | head -1
>ESP Ghostscript 8.15.4 (2007-03-14)
>
>% gs --help | grep lp9200c
> lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300 lp9400 lp9500c
>% gs --help | head -1
>GPL Ghostscript 8.54 (2006-05-17)
>
>% gs --help | grep lp9200c
>%
ここまでが前置きです.
質問は,「印刷ができ,かつepsが正しく表示できるようにするには,どうしたらよ
いでしょうか.」というものです.
・gs-eps のバグ修正版がリリースされるまで待つ
・gs-gpl をlp9200cに対応させるため,ソースからコンパイルし直す
以外の対策があれば御教示ください.
よろしくお願いします.
More information about the ubuntu-jp
mailing list