Wilbert Berendsen on Sat, 28 Apr 2001 12:53:48 +0200 (CEST)


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

apsfilter 6.1.1: convert to ps2: problem + work-around



Hi all,

I switched from CUPS to LPRng + apsfilter + Alladin GhostScript 6.50 +
Imagemagick (newest version).

I had a little problem printing GIF's and Jpegs. Jpeg caused gs errors,
GIF printed blank page.

I found that do_convert called ImageMagick's `convert' with the ps2:
backend, the resulting postscript files where not appreciated by gs.

I changed line 262/3 of bin/apsfilter from:

    eval convert -rotate '"-90>"' -page "$PAPERSIZE" \
        ${MONO:+-colorspace GRAY} ${1:+${1}:}- ps2:- | print_ps

to:

    eval convert -rotate '"-90>"' -page "$PAPERSIZE" \
        ${MONO:+-colorspace GRAY} ${1:+${1}:}- ps:- | print_ps

which solved the problem.


Just to let you know. btw Apsfilter is great!

Wilbert


-- 
 /"\  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  /"\
 \ /   ASCII Ribbon Campaign       Wilbert Berendsen             \ /
  X   - NO HTML/RTF in e-mail      http://www.xs4all.nl/~wbsoft   X
 / \  - NO MSWord docs in e-mail   http://linuxathome.nl         / \