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

Re: Postscript & PDF view & print with CUPS - howto?



David Bishop <tech@bishop.dhs.org> et. al. wrote:

>--snip--<

> > So, I install kghostview, run it, select "file - Open", select the file
> > in the directory that has been created by Xpdf, and the page shows up
> > perfectly in the "preview" window of the file selection window.  But
> > when I click "OK" to open it a signal 11 occurs.  :(.
>
> This seems to be a bug. File one and include a backtrace. I haven't had
> this happen to me yet.
>
> > Q5) Does the "Kghostview sig 11's when trying to open a .ps file
> > created by the 'print' of Xpdf, although the file is displayed fine
> > (text & images) in the open dialog preview window" sound like a bug
> > that ought to be submitted on the kghostview package?
>
> Hm. Does it crash when you print it, or when you open it, or when gs
> renders it, or when gs renders it to the printer, or ...?

It happens instantly after I click the "ok" button that tells it
to open the file.

<snip>
Back traces unfortunetly don't tell many tales, when they've been compiled without debug information (as almost all binary distrobutions do).

Does that suggest anything?  (or, perhaps I need to send the file
I'm trying to open, along with that to the packager?)

I'm still suspecting that this is the same problem others on the list are having. Look at the archives if you've missed them, follow their suggestions, and then, if that doesn't work, file a bug with the packager, along with the offending .ps script. And finally, try opening the original .pdf with kghostview, to see if that works (it should).

HTH and HAND!

- -- D.A.Bishop


I have been following this thread with a bit of interest, and it occurred to me that I had all the "components" installed here but have never checked them out. So I fired up both Ghostview and Kghostview and took a look. Both worked on my collection of PDF files, but I couldn't get either one to print via CUPS! Hmmm.... this sounded familiar.

Here is some low-level "tips" on what I found out after a little poking around that lead to eventual success.

1. Kghostview would bring up the CUPS printing screen and would apparently start the process, but nothing would come out of the printer. I discovered a TAB within the "Properties" box called "filters". When I added the PDF "filter" it started printing!! I added some of the others but they seemed to cause problems, so I settled for only this extra filter. It was NOT there from the initial install. This could be easily overlooked by a novice (like me). CUPS generally worked great on other KDE apps (KOFFICE programs).

2. You can run Ghostview directly from within KDE. On my machine it was located in Graphics --> Viewiers --> GV. It wouldn't print initially, but when I made the print command to be "kprinter" instead of "lpr" it took off & started printing!.

3. The "kprinter" command substitution for "lpr" also brought my Mozilla and Netscape to printing "life" <g>. Thanks for THAT tip!

3. I would get crashes with Kghostview until I upgraded to the latest from "unstable". I am generally running KDE from "testing" with a few packages from "unstable"


HTH,
-Don Spoon-




Reply to: