| Piotr Sawuk 2005-06-03, 3:57 am |
| in linux I oftentimes print out pdf-files by letting Acrobat Reader 4.0
do the output into a file and formatting that into small books through
psutils. there I noticed a very strange behaviour when the output of
pstops is larger than the original papersize. for example recently I
downloaded a pdf-file and printed it into cath.ps in acroread. Then
I executed in the bash:
cat cath.ps |psselect 2- |pstops "3:0(-47mm,-25mm)+1($((120 - 47))mm,-25mm)+2($((240 - 47))mm,-25mm)" |psbook |pstops '2:0(0,0),1(0,1.6cm)' |psnup -2 -H23cm -W36cm -pa4 -m3.5mm |psselect -r -o |lpr
cat cath.ps |psselect 2- |pstops "3:0(-47mm,-25mm)+1($((120 - 47))mm,-25mm)+2($((240 - 47))mm,-25mm)" |psbook |pstops '2:0(0,0),1(0,1.6cm)' |psnup -2 -H23cm -W36cm -pa4 -m3.5mm |psselect -e |lpr
and the result wasn't as expected. however, putting ps2ps to the beginning
of this pipe, like in
ps2ps cath.ps - |psselect 2- |pstops "3:0(-47mm,-25mm)+1($((120 - 47))mm,-25mm)+2($((240 - 47))mm,-25mm)" |psbook |pstops '2:0(0,0),1(0,1.6cm)' |psnup -2 -H23cm -W36cm -pa4 -m3.5mm |psselect -r -o |lpr
ps2ps cath.ps - |psselect 2- |pstops "3:0(-47mm,-25mm)+1($((120 - 47))mm,-25mm)+2($((240 - 47))mm,-25mm)" |psbook |pstops '2:0(0,0),1(0,1.6cm)' |psnup -2 -H23cm -W36cm -pa4 -m3.5mm |psselect -e |lpr
did result in too many dots being left out, while with
ps2ps -r12000 cath.ps - |psselect 2- |pstops "3:0(-47mm,-25mm)+1($((120 - 47))mm,-25mm)+2($((240 - 47))mm,-25mm)" |psbook |pstops '2:0(0,0),1(0,1.6cm)' |psnup -2 -H23cm -W36cm -pa4 -m3.5mm |psselect -r -o |lpr
ps2ps -r12000 cath.ps - |psselect 2- |pstops "3:0(-47mm,-25mm)+1($((120 - 47))mm,-25mm)+2($((240 - 47))mm,-25mm)" |psbook |pstops '2:0(0,0),1(0,1.6cm)' |psnup -2 -H23cm -W36cm -pa4 -m3.5mm |psselect -e |lpr
the output was too blurred (my printer is set up to print
through gs -r600 ...) but at least somewhat readable, since
the size-reduction made by psnup was only sqrt2. does anyone
know of some better solution? I can't program ps, so any pointer
to some command which does increase papersize to infinity would
already be useful. as I said, without ps2ps the result does look
good unless pstops does shift any page out of some boundaries,
in which case I get aribatary resizing and re-scaling of measurments.
is this a known problem?
--
Better send the eMails to netscape.net, as to
evade useless burthening of my provider's /dev/null...
before complaining because of my rudeness, read
http://www.unet.univie.ac.at/~a9702...dl/liar-faq.txt
and killfile me...
P
|