[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:34044] Re: 日本語 gs


Von: Taketoshi Sano <kgh12351@xxxxxxxxxxx>
Subjekt: [debian-users:34017] Re: 日本語 gs
Datum: Thu, 8 Aug 2002 04:22:55 +0900

> あと何かあったかな ? 訂正・補足などあればよろしく (> all) 

  4番目として、ESP Ghostscript


があります。Debian では、gs-esp という package があります。これは、
僕も詳細は良く分かりませんが、CUPS(Common Unix Printing System)と
いう lpd の replacement のための ghostscript のようなものらしく、
本家には merge されていない Canon や Epson、HP などのプリンタドラ
イバが merge されています。

  現在の最新版は、GNU gs の 7.05 をベースにした 7.05.4 ですが、
help を見ると、

$ gs-esp -h
ESP Ghostscript 7.05.4 (2002-07-08)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
   x11 x11alpha x11cmyk x11mono x11cmyk2 x11cmyk4 x11cmyk8 x11rg16x x11rg32x
   bit bitcmyk bitrgb bmp16 bmp16m bmp256 bmp32b bmpa16 bmpa16m bmpa256
   bmpa32b bmpamono bmpasep1 bmpasep8 bmpgray bmpmono bmpsep1 bmpsep8 ccr
   cfax cgm24 cgm8 cgmmono dfaxhigh dfaxlow epswrite faxg3 faxg32d faxg4
   inferno jpeg jpeggray mag16 mag256 mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8
   mgrmono miff24 pbm pbmraw pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono
   pdfwrite pgm pgmraw pgnm pgnmraw pkm pkmraw pksm pksmraw plan9bm png16
   png16m png256 pnggray pngmono pnm pnmraw ppm ppmraw psgray psmono psrgb
   pswrite sgirgb sunhmono sxlcrt tiff12nc tiff24nc tiffcrle tiffg3 tiffg32d
   tiffg4 tifflzw tiffpack alc2000 alc4000 alc8500 alc8600 ap3250 appledmp
   atx23 atx24 atx38 bj10e bj10v bj10vh bj200 bjc600 bjc800 bjc880j bjccmyk
   bjccolor bjcgray bjcmono cdeskjet cdj1600 cdj500 cdj550 cdj670 cdj850
   cdj880 cdj890 cdj970 cdjcolor cdjmono chp2200 cljet5 cljet5c cljet5pr
   coslw2p coslwxl cp50 declj250 deskjet dj505j djet500c dl2100 dmprt
   dnj650c epl2050 epl2050p epl2120 epl5800 epl5900 epl6100 eps9high eps9mid
   epson epsonc escp escpage fmlbp fmpr fs600 gdi hl1240 hl1250 hl7x0
   hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510
   hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c
   hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus hpdjportable ibmpro
   imagen iwhi iwlo iwlq jetp3852 jj100 la50 la70 la75 la75plus laserjet
   lbp310 lbp320 lbp8 lex5700 lex7000 lips2p lips3 lips4 lips4v lj250
   lj4dith lj4dithp lj5gray lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d
   ljet4pjl ljetplus ln03 lp1800 lp1900 lp2000 lp2200 lp2563 lp3000c lp7700
   lp8000 lp8000c lp8100 lp8200c lp8300c lp8300f lp8400f lp8500c lp8600
   lp8600f lp8700 lp8800c lp8900 lp9300 lp9400 lp9600 lp9600s lq850 lx5000
   lxm3200 lxm5700m m8510 md1xMono md2k md50Eco md50Mono md5k mj500c mj6000c
   mj700v2c mj8000c ml600 necp6 npdl oce9050 oki182 oki4w okiibm paintjet
   pcl3 photoex picty180 pj pjetxl pjxl pjxl300 pr1000 pr1000_4 pr150 pr201
   pxlcolor pxlmono r4081 sj48 st800 stcolor t4693d2 t4693d4 t4693d8 tek4696
   uniprint xes cups ijs stp nullpage
Search path:
   . : /usr/share/gs-esp/7.05/lib : /usr/share/gs-esp/fonts :
   /var/lib/defoma/gs.d/dirs/fonts : /usr/share/cups/fonts :
   /usr/share/ghostscript/fonts : /usr/local/lib/ghostscript/fonts
For more information, see /usr/share/gs-esp/7.05/doc/Use.htm.
Report bugs to bug-gs@xxxxxxxxxxxxxxx, using the form in Bug-form.htm.

となっていて、かなり多くの device が support されていることが分か

  ただし、現在の Debian package のままでは、gs-cjk が使えないので、
自分で gs_res.ps を修正する必要があります。(BTS へ報告済み)

--- lib/gs_res.ps.orig	2002-08-09 12:41:36.000000000 +0900
+++ lib/gs_res.ps	2002-08-09 12:42:20.000000000 +0900
@@ -245,8 +245,8 @@
   /pssystemparams 10 dict readonly def
 } if
 pssystemparams begin
-  /FontResourceDir (/Resource/Font/) readonly .forcedef	% pssys'params is r-o
-  /GenericResourceDir (/Resource/) readonly .forcedef	% pssys'params is r-o
+  /FontResourceDir (/usr/share/ghostscript/fonts/) readonly .forcedef	% pssys'params is r-o
+  /GenericResourceDir (/usr/share/ghostscript/) readonly .forcedef	% pssys'params is r-o
   /GenericResourcePathSep (/) readonly .forcedef	% pssys'params is r-o


  大浦 真(OHURA Makoto)
       mohura@xxxxxxxxxxxxxxxxxxxxxx(Kyoto Univ.)