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

2002-01-25 Thread Donald R. Spoon
David Bishop <[EMAIL PROTECTED]> 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.

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" .  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-



KDE-Debian HowTo for KDE2 & Debian3=Woody X86. Ver 0.1

2002-01-25 Thread tluxt
KDE-Debian HowTo for KDE2 & Debian3=Woody X86.  Ver 0.1

===
I debated with myself about whether to put this on the list.
On one hand, it is a _very_ early/partial version.
On the other hand, it has enough info to be of use to someone.
The other hand won.

I currently do not have enough time to answer questions about
KDE or Debian, or even various ways to accomplish the tasks described
here.

I do welcome info about this document.  If you have any corrections,
or suggestions about it, please send them to me - these I will make
time to answer, if necessary.

This document is in a very early version, and there will be addditions
and changes.

I have done (most) of the actions described here,
so you have that assurance that (most of) these procedures have worked for
someone.  Many descriptions here are likely from other people (thanks to
them!).  I may have misinterpreted those descriptions, so that's a
possible source of error.

Part of this is created from my not immediately recent
memory, so there might be something incorrect there.  I will attempt
to update this document as I personally redo installs, etc, if I notice
anything that could be improved.

The title of this document includes "X86".  That is because I have done
these procedures on that processor.  In general, I suspect these
procedures will usually apply for other processors.
===

CONTENTS:

1) Quick summary of install instructions
2) Finding KDE SW
3) Installing KDE
 Install Debian
 Install X
 Install KDE
 Some things to set up in KDE
4) Printing & PDF/Postscript
5) CD Writing
6) Sound - drivers, kernel compiling, mp3
7) Video - MPEG & AVI & Quicktime

===


1) Quick summary of install instructions


For those who don't want to RTFM, here's a quick overview:

* Installing KDE:
Install Debian  ;http://www.debian.org/releases/testing/i386/install
tasksel install X   ;use simple config - monitor #"
apt-get update  ;Update the list of available packages
apt-get upgrade ;Upgrade all packages to the latest available
script  ;Optional: Record a text file of what happens
apt-get -s install kdebase  ;Optional: Simulate the install
apt-get install kdebase ;This is the real deal.
exit;Only if did 'script'.  Saves file 'typescript'
mv typescript typescript.000.txt;Optional: Rename avoids overwrite

* Printing & PDF/Postscript
apt-get install cupsys  ;CUPS= Common Linux Printing System.  Server.
apt-get install cupsys-client   ;Client
apt-get install kdelibs3-cups   ;KDE 2.2.2+ Control center printer config
;and enables printing from KDE aps

Optional:
apt-get install cupsys-driver-gimpprint ;Optional: more printer drivers
apt-get install cupsomatic-ppd  ;Optional: more printer drivers?
apt-get install cupsys-bsd  ;Optional: fakes the usual comands to use
;the cups printer system.  With it you can say "lpr -Pprinter
;printer_fiel.ps" and everything works. You also get lpq and lprm.
apt-get install cupsys-pstoraster   ;?
apt-get install gs-aladdin  ;? Non-free. More recent than gs
;and contains more drivers
http://mumford1.dyndns.org/~bs7452/linuxhelp/cups.html  ;Other CUPS info

apt-get install aee ;Optional: Easy/simple editor for text mode display
edit /etc/groups;At end of the lpdamin line add the names of all
;users you want to be able to modify printer configs
/etc/init.d/cupsys restart  ;Restart the printer server
http://localhost:631;Log in as a user you added above
  select admin, add printer, name location, etc ;Printer setup
printer brand, driver (try simplest in the list) color/bwb dpi
  select test page print;Verify printer works
Konq - print a page ;Try printing from a program
kprinter  docname.pdf   ;Used to print a page.

* kghostview
apt-get install kghostview  ;GUI interface Postscript/PDF view/print
apt-get install gs  ;Optional: Ghostscript

===
cd writer

sound - alsa? opensound?
(have to get & compile kernel?)

mpg player
noatun?
other kde media player?
avi player?

===

===
2) Finding KDE Software
===

Ways (other than asking someone, like in the debian-kde list) to find,
on one's own, the appropriate sw to use under the KDE system:

apps.kde.com
freshmeat.net
KDE.com
tucows.com has linux sw
kde.org
http://packages.debian.org

apt-cache search kde | less
apt-cache search pdf | 

Re: Whats wrong with ssl?

2002-01-25 Thread John Gay
On Tuesday 22 January 2002 00:44, John Gay wrote:
> I used to use konq to check my credit card balance. During the libpng
> fiasco, I didn't worry too much about it. I've now updated me system to the
> post-libpng version and was trying to access my account again, but when I
> try to access the log-in site I get a
>
> 500 internal server error, but Netscape can access it just fine? The site
> is:
>
> http://www.mbnanetaccess.co.uk
>
> and click on the 'log into net access' button. That is when I get the
> error. The relevant files, that I know of are:
>
Just to update,

I got a mail from one person who can access the page I can not, so obviously 
I'm missing something, but I CAN access Bank of Ireland's 365online site fine 
with konq? Yes, this uses ssl as well, so I'm not sure what the difference is.

I've also seen a few references to similar problems experienced by others 
using konq from the ILUG list, so I"m not the only one getting this '500 
internal server error'.

could someone please lists what other packages this might depend on so I can 
check the versions on my system?

Cheers,

John Gay




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

2002-01-25 Thread David Bishop
-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.


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-




Re: KDE Is Eating My CPU

2002-01-25 Thread yugami

- Original Message -
From: "Robert Tilley" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 23, 2002 9:43 PM
Subject: KDE Is Eating My CPU


> When other people responded to my posting concerning system usage, I knew
it
> was a possible issue.  Specifically, it is the fact that gkrellm shows an
> average of 50% CPU usage when KDE is running, and about 3% when Blackbox
is
> running which seems to indicate that something about XFree86 is sucking up
> system resources.

somethings definitly odd, i'm running a dual 466 but the only thing thats
sucking up resources is top and I'm running kde
outside of top I have less than 2% CPU usage at any point (0.7 on a couple
sporadically)




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

2002-01-25 Thread tluxt
--- 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