2009/03/13 - [computer/linux] - gsview on Ubuntu Hardy (8.04.02)


#wget -c ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-4.8-1.i386.rpm

#alien  gsview-4.8-1.i386.rpm
#dpkg -i gsview_4.8-2_i386.deb

#gsview (run gsview)
Error message: empty message box
solution:  go to -> Option -> Ignore DSC

#gsview
Now the error messages as follows:

GSview 4.8 2006-02-25
play_sound: not implemented
debug=0
Failed to load libgs.so: libgs.so: cannot open shared object file: No such file or directory
Can't load Ghostscript DLL

Search the correct library for gsview
# apt-cache search libgs* |grep Ghost*
libgs-esp-dev - The Ghostscript PostScript Library - Development Files
libgs-esp8 - The Ghostscript PostScript Library

Install the libgs-esp8
# apt-get install libgs-esp8
Check the path of that library
# ls /usr/lib/libgs-*
/usr/lib/libgs-esp.so.8.15

Two main problems are the library name and the font path.
solutions :
1) Using the Options
go to -> Option -> Advanced Configure
    > Ghostscript Shared Object
      rename libgs.so to libgs-eps.so.8.15   
    > Ghostscript Version
      change a proper version which you use
      for example, 704 -> 850
    > Ghostscript Options:
        input the correct fonts path
       -sFONTPATH="/usr/share/fonts/
      
   
2) Using the configuration file
   open .gsview.ini in $HOME directory
   go [GSview-4.8] line
   [GSview-4.8]
   Version=4.8
   GSversion=850
   Configured=1
   GhostscriptDLL=libgs-esp.so.8.15
   GhostscriptEXE=gs
   GhostscriptInclude=
   GhostscriptOther=-sFONTPATH="/usr/share/fonts/

     
Error message: No page numbering available!
solution: 
   @ go to   Option ->
       Off EPS-clip
       Off EPS Warn
       Off Ignore DSC
       Off Show Boundig Box
   @  go to   Option -> DSC Warning ->
       
Off


.gsview.ini file in my $HOME directory is
 

more.. gsview.ini


'Computer > linux' 카테고리의 다른 글

Firefox ugly font size with Xfce4  (0) 2007.08.27
gsview on ubuntu linux (6.10)  (0) 2007.08.25
xfce4 WM  (0) 2007.08.23
ntpdate and ntp  (0) 2007.08.16
posted by citadel