YEEEAAAAHHHHHHHHH
Norbert Preining (preining@logic.at)
Sun, 11 Apr 1999 13:24:50 +0200
--5/uDoXvLw7AC5HRs
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
On Sat, 10 Apr 1999, Gert D=F6ring wrote:
> Is the last one a "without" or a "with"? With "with", it doesn't make
> sense...
I sent a two-page-fax with the following adaption to faxspool:
--- faxspool.orig Sun Apr 11 13:18:40 1999
+++ faxspool Sun Apr 11 13:17:49 1999
@@ -846,6 +846,11 @@
=20
hdrfont=3D$PBMFONT_HEADER_F
test -z "$normal_res" || hdrfont=3D$PBMFONT_HEADER_N
+ if [ -z "$normal_res" ] ; then
+ linescut=3D2000
+ else
+ linescut=3D1000
+ fi
=20
finalpg=3D""
for f in $pages
@@ -859,7 +864,7 @@
-e "s;@ID@;$FAX_STATION_ID;g" \
-e "s;@DATE@;`date`;g" \
| pbmtext -font $hdrfont | pbm2g3 \
- | g3cat - $f > f$nr.g3 \
+ | g3cat -i - $f | g32pbm | pnmcut 0 0 1728 $linescut | pbm2g3 > f$n=
r.g3=20
\
&& rm $f
finalpg=3D"$finalpg f$nr.g3"
done
where g3cat is adapted according to a patch from ...?, which inserts
the first g3-file into the next one.
I'm not sure wether the linescut=3D1000/2000 is correct, because you
wrote about g3cat -l 2200 ....
>=20
> > Is it possible to put the page-length-adjustment into faxspool?
>=20
> I'll hack an option into g3cat to do this, and then you can just modify
> faxspool to call "g3cat -l 2200 <normal args>" or so.
See above what I did, any commetns?
> This will be the second step. I need the "g3 parser and sanitizer" anywa=
y=20
> (for class 1), but this is more complicated.
Would be great too, maybe you want to have a look at efax, which does this,
or you scratch up ;-)
Best wishes
Norbert
--=20
ciao
norb
+-------------------------------------------------------------------+
| Norbert Preining http://www.logic.at/people/preining |
| University of Technology Vienna, Austria preining@logic.at |
| PGP fingerprint: BE 15 9D B2 99 05 03 06 D3 A1 56 CC 20 F1 4C 19 |
| PGP public key: email me with Subject `get PGP-key' or keyservers |
+-------------------------------------------------------------------+
--5/uDoXvLw7AC5HRs
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
iQCVAwUBNxCGgrzcw0LPH6FlAQEXtgQAm08nUwzb4ZStkL6BCcxQp+xkT0Twzg68
eqo8BaN3OMC75zcYE4kmtVHG4kvkUjB9LKNj63RXc/U4O3EZzt3ZF5mrh5Zv5wCP
ZRmbcOgjoI++cYe+TpAuYZ2I+zkLS1J3N6jJ0FGa5ncvT22xCLt4E5s0kc+Xgrit
RCefV4n6Qqg=
=BlVz
-----END PGP SIGNATURE-----
--5/uDoXvLw7AC5HRs--