Michal Szymanski on Thu, 20 Jun 2002 18:14:10 +0200 (CEST)(envelope-from owner-apsfilter-help@apsfilter.org)


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

psset filter screws my PS file


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?

I do not want to harass everybody with PS attachments. For those of you
who'd like to see what's happening, I put two files:

ftp://ftp.astrouw.edu.pl/pub/msz/orig.ps
ftp://ftp.astrouw.edu.pl/pub/msz/filtered.ps

The latter of the two was generated by:

   aps2file -P lw -o filtered.ps orig.ps

The printcap entry:

lw:|PS;r=600x600;q=medium;c=full;p=a4;m=auto:\
    :lp=/dev/lp0:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/lw:\
    :lf=/var/spool/lpd/lw/log:\
    :af=/var/spool/lpd/lw/acct:\
    :mx#0:\
    :tr=\004:\
    :sh:

/usr/local/etc/apsfilter/lw/apsfilterrc :
PRINTER='PS'
PAPERSIZE='a4'
METHOD='auto'
QUALITY='medium'
COLOR='full'
RESOLUTION='600x600'

any hints would be apreciated.

regards, Michal.

-- 
  Michal Szymanski (msz@astrouw.edu.pl)
  Warsaw University Observatory, Warszawa, POLAND