On Tuesday 02 Jul 2002 11:55 pm, Todd Slater wrote: > I'm trying to write an OO.org doc to pdf. When I try to open it with xpdf, > I get this error: > > Error: May not be a PDF file (continuing anyway) > Error (0): PDF file is damaged - attempting to reconstruct xref table... > Error: Couldn't find trailer dictionary > Error: Couldn't read xref table > > GV is able to open it, but when I switch between pages it takes forever to > display the page. I need to write to pdf so I can print at another > location. > > Has anybody else encountered this problem? > > Thanks, > Todd
How are you writing your PDF file? The reason I ask is if you run ./spadmin and add a pdf printer it does not actually generate pdf files. OO seems to assume you have Acrobat Distiller installed which as far as I can make out is an expensive piece of software. The files generated will actually be postscript which is why gv can display them. Examining the top line of the files with an editor will confirm if they are pdf or postscript. To write pdf files in OO this is what I did. Using ./spadmin define a printer which has the properties qtcups --stdin When you print to that printer you will get a choice of printing to any of the CUPS printers including the KDE pdf pseudo printer which itself uses ghostview to create pdf documents from postscript. (Note: Upgrading your ghostscript from the GPL'd version supplied with Mandrake to the Aladdin licensed version from the ghostscript home page will often make a noticeable improvement in quality. The RedHat rpms work fine) HTH derek
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
