Michael Loßin on Sun, 23 Jun 2002 15:50:43 +0200 (CEST)(envelope-from owner-apsfilter-help@apsfilter.org)


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

Re: psset filter screws my PS file


On 20-Jun-02 Michal Szymanski wrote:
> Hi,
> 
> After installing apsfilter (7.2.2) as the default printing engine I've
> noticed that text files, usually - for some historical reasons -
> preprocessed with a pretty-printing software (really old one, I swear,
> but produces good Postscript), get cropped when printed - the
> pretty-printed first line containing the date and the file name is not
> printed.
> 
> Trying to investigate this problem I ran "aps2file" on the file and, to
> my great surprise, I found that it is completely rewritten, with some
> strangely poor fonts, nonsense bounding box etc. Further analysis
> yielded that it is 'psset' filter which does this bad job. Any hints why
> it does so?

Normally, psset just adds the duplex stuff to the PostScript
data, but sometimes the input file does not follow the Adobe
conventions, so "fixps" is called to clean up the mess -- and
that means ghostscript is asked to rewrite the file with its
"pswrite" device. We switch off this behaviour by default,
but for _real_ bad PS fixps does it anyway... :-(

(Maybe it's time to revert to our much simpler manual
PostScript "enhancing" procedure.)

BTW, are you sure your application produces good PostScript
all the time? Otherwise "fixps" wouldn't be needed...

> The printcap entry:
> 
> lw:|PS;r=600x600;q=medium;c=full;p=a4;m=auto:\
    ^^
What's happening here? This should be "lw|PS;r=..." -- did
you add the colon? (Although it shouldn't be too harmful
in this case...)


HTH
Michael