>>>>> "Richard" == Richard Freeman <[EMAIL PROTECTED]> writes:

  > For quite a while I've been frustrated with what I assume is some
  > kind of kioslaves problem.  Print-preview does not work - I just
  > get a ghostscript output window and a few lines of what seems like
  > meaningless detail:

  > %%BoundingBox: 35 31 576 767 
  > %%HiResBoundingBox: 35.549999 31.550554 575.027982 766.079977

This is not meaningless, but it seems that your previewer calls gs
with wrong arguments.

Try:

        gs -q -sDEVICE=bbox -dBATCH -dNOPAUSE somefile.ps

The bbox device calculates the bounding box of the content of the
page and for some reason nobody knows sends it output to STDERR.
It is supposed to be used by programs which convert ps to eps. 

Previewers should use -sDEVICE=x11 or -sDEVICE=x11alpha instead.
The latter performs antialiasing.

To find out how your previewer calls ghostscript you can try this:

   * temporarily replace /usr/bin/gs by a little shell script:
   _________________
   #!/bin/sh
   echo $0 "$@"
   _________________

   * start the previewer in an xterm so that the output of the script
     will appear in the terminal. 

You'll hopefully see with which arguments gs is called by the
previewer. I don't have KDE installed but the script works with gv.

BTW, gv allows you to configure this in the resources, see
/usr/share/X11/app-defaults/ .  I suppose that the KDE previewer works
similar as gv, so gv's texinfo manual provides some information about
the arguments.  Try:

       info gv

On the other hand, if they want to port KDE to Windows, I suppose that
they don't put their config files into X11 directories but I'm sure
you know that much better than me.

  > Printing itself works fine.

Yes, the printing system is a different thing and has it's own config
files.   

  > Likewise, I cannot view ps/pdf files in knoqueror, but pdf files
  > work just fine with kpdf (same sorts of pop-up messages).
  > kghostview doesn't work (generates messages like the above).
  > Re-emerging kghostview doesn't seem to help.

kpdf is derived from xpdf and doesn't use ghostscript.  Newer versions
might be based on poppler, but this doesn't matter in this context.

It seems that kghostview and konqueror share some code and/or probably
config files.  This makes a lot of sense.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover                              mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


-- 
[email protected] mailing list

Reply via email to