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

Re: web page -> ps problems



On Wed, Dec 24, 2003 at 01:05:46AM +1100, Drew Parsons wrote:
> I've had the problem with gv not being able to read Xprint's postscript
> output (i.e. when printing to file from mozilla).  I've filed a bug against
> the gv package, but the maintainer (nor the Xprint author) could not reproduce
> the problem.  Help is welcome! And needed! Debian bug #167330
> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=167330) 

This is very odd, since several people with other distros also report
no problem with the bug Drew filed at xprt-xprintorg
(http://xprint.mozdev.org/bugs/show_bug.cgi?id=2417).  Unfortunately,
I have no problem reproducing it, even with the 0.0.9beta version.

The bug does not seem specific to gv.  ImageMagick's display program
will show the file (unlike gv), but it shows only the enlarged upper
left hand corner.  When hylafax faxes the ps file, it too sends only
the enlarged upper left corner (I think ps2fax is the program/script
it uses, but I'm not sure).

Conceivably, xprt is producing legal but obscure postscript, and the
various interpreters are having problems with it.

Perhaps the output is legal, but the resolution is really off.  This
might account for the observed behavior.  gs parses it as legal ps,
but when gv tries to render it, it runs into dimension problems.

> 
> Since gs can render the postscript, I like to believe the bug is in gv, not
> Xprint.  But gv is supposed to be little more than a wrapper for gs, so it's
> all a bit of a mystery.
> 
> It doesn't help with the gv problem, but I've just uploaded a new version of
> the Xprint packages (v0.0.9 beta). It may help with other issues.
> 
> The only suggestion I can make is to use another of v0.0.9's new features:
> printing to a PDF file, rather than postscript. You want to print to
> "printer", selecting the pdf_spool "printer". You'll find the pdf output
> in /tmp/Xprintjobs.  I don't know the best way to go from there to hylafax,
> but conversion to PS via pdf2ps works under gv.

I don't see that one; perhaps I need to restart mozilla?

> 
> Drew
> 



Reply to: