Re: del.psnup problem in a2ps 4.15

Kurt Hornik <[email protected]> Fri, 23 Jun 2023 17:02:15 +0200
Newsgroups gmane.comp.printing.a2ps.bugs
Message-ID <[email protected]>
>>>>> Reuben Thomas writes:

> On Thu, 22 Jun 2023 at 14:51, Kurt Hornik <[email protected]> wrot=
e:
>     For me, changing
  =20
>     Variable: del.psnup \
>     =C2=A0 =C2=A0#?o!cat!psnup -#v #?V||-q| #?j|-d|| #?r||-c| -w#w -h=
#h!
  =20
>     from 4.14 and before to
  =20
>     Variable: del.psnup \
>     =C2=A0 =C2=A0#?o!cat!psnup -#v #?V||-q| #?j|-d|| #?r||-c| -p#p!
  =20
>     breaks n-up priting of pdf files, giving
  =20
>     $ touch foo.pdf
>     $ a2ps -2 foo.pdf
>     psnup: paper size '2' not recognised
>     [foo.pdf (pdf, delegated to pdf2ps): failed.=C2=A0 Ignored]
>     [No output produced]

> Thanks for reporting this bug. The change was bogus (I mistakenly tho=
ught at
> the time that #p meant "page size" whereas of course it means "page r=
ange"),
> and also unneeded (contra to my commit message at the time, psutils 2=
.x (and
> now 3.x) supports the -w and -h arguments). I should have known bette=
r, since
> I wrote psutils 2.x.

> I shall make a new release of a2ps with this change undone forthwith.=


Great, thanks!

Best
-k

>     Afaict del.psselect already does the page range selection?

> Indeed it does!

> --
> https://rrt.sc3d.org