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

Postscript & PDF view & print with CUPS - howto?



Several things here.

1st - Thanks to everyone's help on CUPS for KDE.  I've now got CUPS
printing a test page perfectly on an Epson color inkjet. I've got Konq
printing the KDE home page, etc.  I can print from Kwrite.

Now:

So, I want to view and print PDF files.

Q1) What is the suggested/best way (other than asking someone, like in this
list) to find, on one's own, the appropriate sw to use under the KDE
system?

I can think of:
freshmeat.net
KDE.com
apps.kde.com
tucows.com has linux sw
kde.org - (but I can't get that site right now, so I don't know what they
have to offer in the way of sw suggestions.)

=====
I searched freshmeat for "pdf" and got 113 projects - overload!
I then searched for "pdf viewer" and got 3 projects. Xpdf looked good.
I installed it, and it views a file fine.  It will also output a .ps file,
from it's "print" icon (it doesn't print the file).

Now, how to print it?

So, I know about ghostscript (in fact, CUPS contains ghostscript, I
think).  But, CUPS is just for printing, not viewing, right?

So, how can I view & print a PDF file?

I apt-get -s install ghostscript  -  apt-get says it's mentioned, but not
available.  OK.

Luck - a recent post on this list mentioning kghostview.

apt-get -s install kghostview     -  shows a depends on gs.
Ah.  How was I supposed to know the package name in Debian of ghostscript
is gs?

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.  :(.

Q2) What's the best tool for viewing & printing PDF files using the KDE
desktop?

Q3)  How does one find out a list of all the KDE related sw that is
available in the Debian system but isn't installed by doing an install of
KDE? (Such as kghostview.)

Q3) Why, when I installed kghostview, was the package NOT added to my KDE
"K/start" menu of programs?  - Wouldn't that be expected?

Q4)  Why, when I installed Xpdf, was that not added to the "K" menu?
(Under perhaps a "debian" section)?

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?


Ok, so now I run gs, and it opens the .pdf file.  Ok, so now I've found
and am reading the gs docs.  There's a lot there.

Q6) How do I print a page in the gs view window, to the CUPS default
printer "p1", when I started gs from the command line with "gs
docname.pdf"?

Thanks!

As always, your help here will help others by going into the "KDE Printing
& Viewing HOwto" which I hope to create when I get all this working.





__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com



Reply to: