Re: del.psnup problem in a2ps 4.15

Reuben Thomas <[email protected]> Thu, 22 Jun 2023 21:41:11 +0100
Newsgroups gmane.comp.printing.a2ps.bugs
Message-ID <CAOnWdoh-CdKrNDYWfUSqVG5GdoAEx+kdYxxhKgFaWrPr13Mz0g@mail.gmail.com>
--0000000000006da74005febde852
Content-Type: text/plain; charset="UTF-8"

On Thu, 22 Jun 2023 at 14:51, Kurt Hornik <[email protected]> wrote:

> For me, changing
>
> Variable: del.psnup \
>    #?o!cat!psnup -#v #?V||-q| #?j|-d|| #?r||-c| -w#w -h#h!
>
> from 4.14 and before to
>
> Variable: del.psnup \
>    #?o!cat!psnup -#v #?V||-q| #?j|-d|| #?r||-c| -p#p!
>
> breaks n-up priting of pdf files, giving
>
> $ touch foo.pdf
> $ a2ps -2 foo.pdf
> psnup: paper size '2' not recognised
> [foo.pdf (pdf, delegated to pdf2ps): failed.  Ignored]
> [No output produced]
>

Thanks for reporting this bug. The change was bogus (I mistakenly thought
at the time that #p meant "page size" whereas of course it means "page
range"), 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 better, since I wrote psutils 2.x.

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

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

Indeed it does!

-- 
https://rrt.sc3d.org

--0000000000006da74005febde852
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:arial,helvetica,sans-serif;font-size:small">On Thu, 22 Jun 2023 at=
 14:51, Kurt Hornik &lt;<a href=3D"mailto:[email protected]">Kurt.Hornik=
@wu.ac.at</a>&gt; wrote:<br></div></div><div class=3D"gmail_quote"><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">For me, changing<br>
<br>
Variable: del.psnup \<br>
=C2=A0 =C2=A0#?o!cat!psnup -#v #?V||-q| #?j|-d|| #?r||-c| -w#w -h#h!<br>
<br>
from 4.14 and before to<br>
<br>
Variable: del.psnup \<br>
=C2=A0 =C2=A0#?o!cat!psnup -#v #?V||-q| #?j|-d|| #?r||-c| -p#p!<br>
<br>
breaks n-up priting of pdf files, giving<br>
<br>
$ touch foo.pdf<br>
$ a2ps -2 foo.pdf <br>
psnup: paper size &#39;2&#39; not recognised<br>
[foo.pdf (pdf, delegated to pdf2ps): failed.=C2=A0 Ignored]<br>
[No output produced]<br></blockquote><div><br></div><div><div style=3D"font=
-family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default"=
>Thanks for reporting this bug. The change was bogus (I mistakenly thought =
at the time that #p meant &quot;page size&quot; whereas of course it means =
&quot;page range&quot;), 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 sh=
ould have known better, since I wrote psutils 2.x.</div><div style=3D"font-=
family:arial,helvetica,sans-serif;font-size:small" class=3D"gmail_default">=
<br></div><div style=3D"font-family:arial,helvetica,sans-serif;font-size:sm=
all" class=3D"gmail_default">I shall make a new release of a2ps with this c=
hange undone forthwith.</div><br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex">
Afaict del.psselect already does the page range selection?<br></blockquote>=
<div><br></div><div style=3D"font-family:arial,helvetica,sans-serif;font-si=
ze:small" class=3D"gmail_default">Indeed it does!</div></div><br><span clas=
s=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_=
signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><a href=3D"https://rrt.sc=
3d.org" target=3D"_blank">https://rrt.sc3d.org</a></div></div></div></div><=
/div>

--0000000000006da74005febde852--