Re: Postscript PDF view print with CUPS - howto?
--- Jens Benecke [EMAIL PROTECTED] wrote: On Wed, Jan 23, 2002 at 11:46:17PM -0800, tluxt wrote: I apt-get -s install ghostscript - apt-get says it's mentioned, but not available. OK. I would recommend gs-aladdin. It's more recent and contains more drivers, but it's in non-free. How easy would it be for me to find out on my own specifically what its 'non-freenes is? How would I find that out, if it's fairly easy to find out? Perhaps this answers that question: Description: The Ghostscript Postscript interpreter This version is Aladdin copyright, not GNU copyleft, see /usr/share/doc/gs-aladdin/copyright. 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. (no debugging symbols found)...(no debugging symbols found)... 0x40d4e8f9 in wait4 () from /lib/libc.so.6 #0 0x40d4e8f9 in wait4 () from /lib/libc.so.6 #1 0x40dc71f0 in __check_rhosts_file () from /lib/libc.so.6 #2 0x4055e0b8 in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.3 #3 0x40cd7848 in sigaction () from /lib/libc.so.6 #4 0x4004568c in KGVMiniWidget::openFile () from /usr/lib/libkghostview.so.1 #5 0x4004ba9f in KGVPart::openFile () from /usr/lib/libkghostview.so.1 #6 0x4006925e in KParts::ReadOnlyPart::openURL () from /usr/lib/libkparts.so.1 #7 0x40039acd in KGVShell::slotFileOpen () from /usr/lib/libkghostview.so.1 #8 0x407e6a0d in QObject::activate_signal () from /usr/lib/libqt.so.2 #9 0x403b76b1 in KAction::activated () from /usr/lib/libkdeui.so.3 #10 0x403a9ece in KAction::slotActivated () from /usr/lib/libkdeui.so.3 #11 0x407e6cce in QObject::activate_signal () from /usr/lib/libqt.so.2 #12 0x4081ae55 in QSignal::activate () from /usr/lib/libqt.so.2 #13 0x408bb8aa in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt.so.2 #14 0x4082ed42 in QWidget::event () from /usr/lib/libqt.so.2 #15 0x40792a87 in QApplication::notify () from /usr/lib/libqt.so.2 #16 0x404ccda4 in KApplication::notify () from /usr/lib/libkdecore.so.3 #17 0x407609a9 in QETWidget::translateMouseEvent () from /usr/lib/libqt.so.2 #18 0x4075e492 in QApplication::x11ProcessEvent () from /usr/lib/libqt.so.2 #19 0x4075d46c in QApplication::processNextEvent () from /usr/lib/libqt.so.2 #20 0x40794f4f in QApplication::enter_loop () from /usr/lib/libqt.so.2 #21 0x407649c3 in QApplication::exec () from /usr/lib/libqt.so.2 #22 0x080492d9 in __register_frame_info () #23 0x40cc765f in __libc_start_main () from /lib/libc.so.6 Does that suggest anything? (or, perhaps I need to send the file I'm trying to open, along with that to the packager?) Thanks for your help! __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com
Re: Postscript PDF view print with CUPS - howto?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 24 January 2002 11:57 pm, tluxt wrote: --- Jens Benecke [EMAIL PROTECTED] wrote: On Wed, Jan 23, 2002 at 11:46:17PM -0800, tluxt wrote: I apt-get -s install ghostscript - apt-get says it's mentioned, but not available. OK. I would recommend gs-aladdin. It's more recent and contains more drivers, but it's in non-free. How easy would it be for me to find out on my own specifically what its 'non-freenes is? How would I find that out, if it's fairly easy to find out? If you just want to know if a specific package is free/non-free, apt-cache (again!) is your friend: apt-cache show gs-aladdin prints out a bunch of info, including (near the top): Section: non-free/text If you want the actual license, then yes, the /usr/share/doc/foo/ directory will always hold the text of the license. Perhaps this answers that question: Description: The Ghostscript Postscript interpreter This version is Aladdin copyright, not GNU copyleft, see /usr/share/doc/gs-aladdin/copyright. 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8UZr9EHLN/FXAbC0RAq7vAKDwlm8jL3mpC5Y7ha8C26anyxuenwCgyxTv GnSY/jJL0KRaL9cK3fX+nSM= =X6ZE -END PGP SIGNATURE-
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
Re: Postscript PDF view print with CUPS - howto?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [Man, you must like making me type :-)] On Thursday 24 January 2002 12:46 am, tluxt wrote: 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. Were you going to make a summary, and send it to the debian doc folks? That would be awfully nifty of you 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? This also answers Q3, but apt-cache search is your friend. For instance, if I was looking for a pdf viewer related to kde, I would try the following two commands: $ apt-cache search kde | grep -i pdf which returns nothing. Then, I would try $ apt-cache search pdf | grep -i kde which returns kghostview. To see what kghostview is, I would run $apt-cache show kghostview which gives a nice, consise description. Bingo, install it. I apt-get -s install ghostscript - apt-get says it's mentioned, but not available. OK. In this case, run: $ apt-cache search ghostscript This returns 51 hits. Too many. So, filter by: apt-cache search ghostscript | grep -i ghostscript This will remove any packages that just depend on ghostscript, or are otherwise related, but not core. This gets it down to 15, the very first one of which is gs, with a description of The Ghostscript Postscript interpreter 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? See above :) 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. :(. There were also some posts recently about people having problems with kghostview. I'm not having those problems, but YMMV. See if their fixes apply to you. Q2) What's the best tool for viewing printing PDF files using the KDE desktop? Kghostview. Kghostview can also view/print pdf files natively, as they are (basically) a subset/extention of ps. 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.) $ apt-cache search kde | more That lists 300 packages on my install, plenty to start just browsing. Q3) Why, when I installed kghostview, was the package NOT added to my KDE K/start menu of programs? - Wouldn't that be expected? On mine, it's listed under graphics as PS/PDF Viewer. Q4) Why, when I installed Xpdf, was that not added to the K menu? (Under perhaps a debian section)? Again, it's listed on mine under graphics - viewers - xpdf. 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? If the previously posted fixes don't work for you, yes. 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. Yes :-) Overwhelming much, in my experience... 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? This, I don't know. I can always print straight from kghostview :-P 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. Aha! That answers *my* first question! Thanks. - -- D.A.Bishop -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8UCNCEHLN/FXAbC0RAkcMAKCqo+a61oyWYz2Rn+/G940PJnaUBgCdEyum mf1JdJ/vidl9v3FZ1mOoHUA= =ZfL5 -END PGP SIGNATURE-