[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922409: cups-filters: Printing a test page prints 3 pages on duplex printer



Package: cups-filters
Version: 1.21.6-3
Severity: normal

Dear Debian folks,


Printing a CUPS test page for the duplex printer Canon iR-ADV C2225
PCL, three pages on two sheets are printed. The template/content of
all three pages looks the same.

Talking to the CUPS developer, in the past only two pages were
supposed to be printed, but I was referred to the cups-filters
package. [1]

Looking at `filter/bannertopdf.c`, the number of copies is doubled,
but I guess it should be one in the first place, so also here, only
two pages should be printed.

```
    copies = get_int_option("number-up", noptions, options, 1);
    if (duplex_marked(ppd, noptions, options))
        copies *= 2;

    if (copies > 1)
        pdf_duplicate_page(doc, 1, copies);

    pdf_write(doc, stdout);
```

Can that PDF file be written to disk and looked at, so that it
does need to be actually printed?

This is also reproducible on Ubuntu 18.10. Ubuntu uses a PDF
template(?) instead of an SVG one, so it’s unrelated to that.


Kind regards,

Paul


[1]: https://github.com/apple/cups/issues/5518

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: