[Pkg-cups-devel] Bug#531409: Bug#531409: cups-pdf: no longer deduces filename for output file from PS title

Martin-Éric Racine q-funk at iki.fi
Mon Jun 1 10:39:20 UTC 2009


On Mon, Jun 1, 2009 at 1:23 PM, martin f krafft <madduck at debian.org> wrote:
> Package: cups-pdf
> Version: 2.5.0-2
> Severity: normal
>
> Not too long ago (~4-5 months), cups-pdf would use the postscript
> title for the output filename. Now it just uses the same name as
> passed on the command line, or _stdin_.pdf.
>
>  piper:~|master|% echo test | a2ps --title='my test' -2qo- | grep '^%%Title'
>  %%Title: my test
>  piper:~|master|% echo test | a2ps --title='my test' -2qo- | lp -d pdf
>  request id is pdf-1158 (1 file(s))
>  piper:~|master|% ls -l ~/PDF/*.pdf
>  -rw------- 1 madduck madduck 5494 2009-06-01 12:14 /home/madduck/PDF/_stdin_.pdf
>
> I am pretty sure this worked with 2.4.8, so I assume it's
> a regression in 2.5.0, possibly related to Ubuntu#237224, though
> I did not verify that.

Thanks for reporting this.

I would be more inclined to think that it's a regression in CUPS
itself starting with 1.3.10, since CUPS-PDF 2.5.0 works fine using
CUPS 1.3.9 (at least on Ubuntu).  I just did a quick test, printing
this message from the BTS via Gmail on Firefox and I correctly got the
long HTML document title as the filename found in ~/PDF.

Martin-Éric





More information about the Pkg-cups-devel mailing list