View Single Post

   
  #24 (permalink)  
Old 02-15-2008, 05:53 PM
brian@aljex.com
 
Posts: n/a
Default Re: PDF creation in Unix

> I installed oss646c and that allows me to create the pdf file using
pcl2pdf
> however when I try to display the pdf file using ghostscript I get

the
> following error.
> [snip]
> # gs 1a.pdf
> [snip]


This command almost garantees you didn't even look at "man gs", which
is more or less inexcusable.

gs is used for taking in post script or pdf data and putting out data
for a wide variety of printers and some other logical "devices" such as
some image file formats and X11 display.

To view gs's output on screen you really want GV which is a gui front
end that runs gs.
There is also ghostview but gv is generally better.

To view pdf's in particular, you don't even want gs & gv. It can do it,
but it's about the worst way to go. Use xpdf, or better yet just use
acrobat reader on your PC by using either your unix box's web server or
a file share provided by facetwin or samba.

In any event, to use gs at all for anything, it typically takes a
boatload of command line options, non of which you specified, so it's
no surprise that it didn't do anything useful.

I suggest you read:
http://www.cs.wisc.edu/~ghost/doc/gnu/6.53/Use.htm

Or, just say what you want to do, and the best way may have nothing to
do with gs.

Reply With Quote