Thanks for your assistance. I found out that Mandrake left out many useful packages
even if I chose to install all the packages in the downloaded ISO. As for the
ghostscript, I just installed 6.0 and now gv is working.-- Chunnuan
[EMAIL PROTECTED] wrote:
> Chunnuan Chen <[EMAIL PROTECTED]> writes:
>
> > Vinay Gupta wrote:
> >
> > > Chunnuan Chen wrote:
> > >
> > > > [EMAIL PROTECTED] wrote:
> > > >
> > > > > Chunnuan Chen <[EMAIL PROTECTED]> writes:
> > > > >
> > > > > > Hi,
> > > > > > I am using Mandrake 7.0-2. I was trying to use gv to open a .ps or .pdf
> > > > > > file and got an error message like "unknow device: x11alpha", and the
> > > > >
> > > > > Can you check which version of ghostscript-XXX you have, you should see
> > > > > ghostscript-X or ghostscript-Both, else install one of them and remove
> > > > > the previous one which may be ghostscript-SVGALIB or ghostscript-PrintOnly.
> > > > >
> > > > > > file was not displayed. Can someone tell me what this means and how to
> > > > > > correct this? Thanks.
> > > > > >
> > > > > > Chunnunan
> > > > >
> > > > > François.
> > > >
> > > > Thanks. I only got something like ghostscript-5.10-17mdk. How to see something
> > > > like ghostscript-X or ghostscript-Both?
> > > >
> > > > Chunnuan
> > >
> > > Try this:
> > > run gs from the shell
> > > you'll get a gs prompt
> > > type the following at the prompt
> > > devicenames ==
> > > look for any x11 stuff
> > > you should find atleast x11 if not x11alpha
> > > Thereafter:
> > > Try changing your ghostscript options in gv from state->ghostscript
> > > options->antialias device to the one you found earlier ( if none was found or if
> > > this does not work remove the device in the antialias device..... you'll atleast
> > > be able to read your ps's if not too clearly :-(
> > >
> > > hope this helps
> > > vinay
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Talk to your friends online with Yahoo! Messenger.
> > > http://im.yahoo.com
> >
> > I used ghostscript -? and got:
> >
> > GNU Ghostscript 5.10 (1997-11-23)
> > Copyright (C) 1997 Aladdin Enterprises, Menlo Park, 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:
> > imagen iwhi iwlo iwlq lbp8 lips3 m8510 necp6 oki182 ln03 ap3250 appledmp
> > epson epsonc eps9mid eps9high la50 la70 la75 la75plus deskjet djet500
> > laserjet ljetplus ljet2p ljet3 ljet4 cdeskjet cdjcolor cdjmono cdj550 pj
> > pjxl pjxl300 uniprint cp50 declj250 dnj650c ljet3d lj4dith lj250 bj10e
> > bj200 bjc600 bjc800 cdj500 jetp3852 st800 xes faxg3 faxg32d faxg4 r4081
> > sj48 t4693d2 t4693d4 t4693d8 tek4696 pcxmono pcxgray pcx16 pcx256 pcx24b
> > pcxcmyk pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw tiffcrle
> > tiffg3 tiffg32d tiffg4 tifflzw tiffpack tiff12nc tiff24nc psmono psgray
> > bit bitrgb bitcmyk pngmono pnggray png16 png256 png16m jpeg jpeggray
> > pdfwrite pswrite epswrite pxlmono pxlcolor nullpage
> >
> > After I erased the antialias device, the error was gone. However, although I can
> > see the page numbers on the left side
> > and acutally can print out the file, I can't see the context (the gv scree is
> > blank). So, is something worng with the display?
>
> Absolutely not, you have installed ghostscript-PrintOnly, for changing try after
> inserting CD1 and mounting it:
> rpm -e ghostscript-PrintOnly --nodeps
> rpm -U /mnt/cdrom/Mandrake/RPMS/ghostscript-X-*
>
> And you should get additionnal drivers for X11, try again "gs --help" and
> you should see "x11alpha x11..." in the list of available devices.
>
> François.
>
> > By the way, I am talking about an LM-7.02 on a DELL Latitute laptop.