Bug#886892: evince: Prints n^2 copies if multiple copies selected

2018-02-19 Thread Peter.Chubb
> "Jason" == Jason Crain  writes:

Jason> On Sun, Feb 18, 2018 at 10:10:01PM +,
Jason> peter.ch...@data61.csiro.au wrote:
>> It happens with the two printers I can test it with: a Kyocera MFP,
>> and a Konica bizhub C451.  The latter is interesting: if I try to
>> print two copies of a multi-page document and select saddle stitch
>> as the finishing option, I get two booklets, each with two copies
>> of the document.

Jason> I don't have a finishing or saddle stitch option for my printer
Jason> which may be part of why I can't reproduce it.


Looks like this is a cups bug.  I'll reassign it.

The data sent to cups from evince appears to be correct.  But
cupsfilter duplicates the PDF pages, AND tells the printer to make n
copies.

Peter C
--
Dr Peter Chubb Tel: +61 2 9490 5852  http://ts.data61.csiro.au/
Trustworthy Systems Group   Data61 (formerly NICTA)


Bug#886892: evince: Prints n^2 copies if multiple copies selected

2018-02-18 Thread Jason Crain
On Sun, Feb 18, 2018 at 10:10:01PM +, peter.ch...@data61.csiro.au wrote:
> It happens with the two printers I can test it with: a Kyocera MFP,
> and a Konica bizhub C451.  The latter is interesting: if I try to print two
> copies of a multi-page document and select saddle stitch as the
> finishing option, I get two booklets, each with two copies of the
> document.

I don't have a finishing or saddle stitch option for my printer which
may be part of why I can't reproduce it.

> Is there any way to capture what is sent to CUPS?

There's information here explaining how to debug CUPS:
https://wiki.debian.org/DissectingandDebuggingtheCUPSPrintingSystem

The file sent to CUPS should appear under /var/spool/cups.



Bug#886892: evince: Prints n^2 copies if multiple copies selected

2018-02-18 Thread Peter.Chubb
> "Jason" == Jason Crain  writes:

Jason> Control: tags -1 + moreinfo On Thu, Jan 11, 2018 at 11:56:06AM
Jason> +1100, Peter Chubb wrote:
>> On some PDF or PS documents, attempting to print more than 10
>> copies results in n*n copies being printed instead.  The printer is
>> a Kyocera network-connected printer; cups says it's driverless.
>> 
>> I suspect that Evince is rewriting the printable file to say print
>> n times, and also asking CUPS to print n times.

Jason> I'm not able to reproduce this.  Is this only a problem with
Jason> specific documents?  Or certain printer options?


It happens with the two printers I can test it with: a Kyocera MFP,
and a Konica bizhub C451.  The latter is interesting: if I try to print two
copies of a multi-page document and select saddle stitch as the
finishing option, I get two booklets, each with two copies of the
document.

Is there any way to capture what is sent to CUPS?
Peter C

-- 
Dr Peter Chubb Tel: +61 2 9490 5852  http://ts.data61.csiro.au/
Trustworthy Systems Group   Data61 (formerly NICTA)


Bug#886892: evince: Prints n^2 copies if multiple copies selected

2018-02-18 Thread Jason Crain
Control: tags -1 + moreinfo

On Thu, Jan 11, 2018 at 11:56:06AM +1100, Peter Chubb wrote:
> On some PDF or PS documents, attempting to print more than 10 copies
> results in n*n copies being printed instead.  The printer is a Kyocera
> network-connected printer; cups says it's driverless.
> 
> I suspect that Evince is rewriting the printable file to say print n
> times, and also asking CUPS to print n times.

I'm not able to reproduce this.  Is this only a problem with specific
documents?  Or certain printer options?



Bug#886892: evince: Prints n^2 copies if multiple copies selected

2018-01-10 Thread Peter Chubb
Package: evince
Version: 3.26.0-2
Severity: normal

Dear Maintainer,

On some PDF or PS documents, attempting to print more than 10 copies
results in n*n copies being printed instead.  The printer is a Kyocera
network-connected printer; cups says it's driverless.

I suspect that Evince is rewriting the printable file to say print n
times, and also asking CUPS to print n times.

Peter C

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64

Kernel: Linux 4.15.0-rc7+ (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages evince depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.1-2
ii  evince-common3.26.0-2
ii  gsettings-desktop-schemas3.24.1-2
ii  libatk1.0-0  2.26.1-2
ii  libc62.26-1
ii  libcairo-gobject21.15.8-3
ii  libcairo21.15.8-3
ii  libevdocument3-4 3.26.0-2
ii  libevview3-3 3.26.0-2
ii  libgdk-pixbuf2.0-0   2.36.11-1
ii  libglib2.0-0 2.54.2-5
ii  libgnome-desktop-3-123.26.2-4
ii  libgtk-3-0   3.22.26-2
ii  libnautilus-extension1a  3.26.2-1
ii  libpango-1.0-0   1.40.14-1
ii  libpangocairo-1.0-0  1.40.14-1
ii  libsecret-1-00.18.5-5
ii  shared-mime-info 1.9-2

Versions of packages evince recommends:
ii  dbus-user-session [default-dbus-session-bus]  1.12.2-1
ii  dbus-x11 [dbus-session-bus]   1.12.2-1

Versions of packages evince suggests:
ii  gvfs 1.34.1-2
pn  nautilus-sendto  
ii  poppler-data 0.4.8-2
ii  unrar1:5.5.8-1

-- no debconf information