After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 443859 - Evince doesn't print multiple copies of .ps postscript document
Evince doesn't print multiple copies of .ps postscript document
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: printing
2.24.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-04 09:54 UTC by Simone Tolotti
Modified: 2009-03-29 08:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
pic of evince printing dialog (36.71 KB, image/png)
2007-06-04 12:14 UTC, Simone Tolotti
Details

Description Simone Tolotti 2007-06-04 09:54:07 UTC
Please describe the problem:
Evince doesn't print multiple copies of a document.
I mean that if I want to print more than a copy af a page/document I can't do it. 

Steps to reproduce:
1. Open a pdf/ps document with Evince
2. Click on Print
3. Set copies value to 2
4. Click print


Actual results:
My printer prints only one copy of the pdf/ps.

Expected results:
My printer prints 2 copies of the pdf/ps

Does this happen every time?
Yes

Other information:
https://answers.launchpad.net/ubuntu/+source/evince/+question/2321
The printing dialog in Evince differs from other Gnome apps like Eog, for example it miss the Preview button.
Eog correctly prints multiple copies of an image.
Comment 1 Carlos Garcia Campos 2007-06-04 10:07:16 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 395573 ***
Comment 2 Simone Tolotti 2007-06-04 12:14:29 UTC
Created attachment 89327 [details]
pic of evince printing dialog

picture of what I mean 
copie is italian for COPIES
Comment 3 Simone Tolotti 2007-06-04 12:25:27 UTC
This is not a duplicate of 395573.
Peoples at 395573 are talking about printing multiple pages on 1 sheet.
Like dividing 1 sheet in 2 with landscape orientation.

WHAT I MEAN is that I can't print multiple copies of a document.
Previous attachment explains what I mean and where I had set multiple copies value.

The question is why does Evince have a different printing dialog than Eog or Gedit??? The one for Eog and Gedit works for me.
Is it possible to redirect Evince printing to eog-like printing-dialog?
Comment 4 Carlos Garcia Campos 2007-06-04 13:11:30 UTC
(In reply to comment #3)
> This is not a duplicate of 395573.
> Peoples at 395573 are talking about printing multiple pages on 1 sheet.
> Like dividing 1 sheet in 2 with landscape orientation.
>

oh!, sorry, you are right. 

> WHAT I MEAN is that I can't print multiple copies of a document.
> Previous attachment explains what I mean and where I had set multiple copies
> value.
>

this should work, does it happens with an specific pdf document? or with any pdf?

> The question is why does Evince have a different printing dialog than Eog or
> Gedit??? The one for Eog and Gedit works for me.

gedit hasn't been ported to the gtk+ printing system yet. The evince printing dialog is the official GNOME printing dialog since GNOME 2.18. If printing multiple copies of a document doesn't work for you it has nothing to do with the dialog, but with evince. 

> Is it possible to redirect Evince printing to eog-like printing-dialog?
> 

AFAIK eog uses the same gtk+ printing dialog than evince. 
Comment 5 Simone Tolotti 2007-06-04 14:19:07 UTC
I did some tests with different document types.
With .ps (postscript) files it doesn't work at all.

I discovered that the pdf doc I was trying to print is instead a .ps file. Sorry...
I've converted a .ps doc in PDF with Scribus, printing the PDF works in Evince. 

So I think it is problem only with postscript .ps files. 

Changed bug title in:
Evince doesn't print multiple copies of .ps postscript documents.
Comment 6 Carlos Garcia Campos 2007-06-04 16:41:15 UTC
Confirmed. 
Comment 7 Stephen Arnold 2007-12-18 02:50:29 UTC
Actually, I have exactly this problem with PDF documents and evince (evince and gnome are version 2.20.1 and gtk+ is version 2.12.1).  I wouldn't restrict this bug to just postscript files...

In this case, the dialog accepts multiple copies and collate, it just prints one copy, regardless of how many copies are selected.  And yes, it always worked correctly with the old print library.
Comment 8 Carlos Garcia Campos 2007-12-20 10:28:36 UTC
This should be fixed in svn trunk compiling with libspectre support. 

Thanks for reporting. 
Comment 9 Simone Tolotti 2008-10-21 07:05:57 UTC
I have to reopen this bug 'cause the problem has reappeared in Ubuntu Intrepid Gnome 2.24.0 Evince 2.24.0
Comment 10 Carlos Garcia Campos 2008-11-05 18:42:12 UTC
It works for me. Simone, is it reproducible for you with any ps document?
Comment 11 Simone Tolotti 2009-03-19 12:49:25 UTC
Hi, I'm testing Evince 2.26 and the bug seems fixed.
It happens to me with only a .ps file that reports 'Adobe Illustrator(R) 8.0' as creator and PS-Adobe-3.0 as format. 
I've processed this document with ps2ps (Ghostscript PostScript "distiller") and the resulting .ps gave me no issues printing in multiple copies.
I've also converted the .ps to .pdf with Scribus and obtained a .pdf that works well too.

I think that actually the bug is fixed except for some .PS (or .PDFs as Stephen reported) that are probably broken for some reason.

Thanks,
Simone
Comment 12 Carlos Garcia Campos 2009-03-19 19:38:50 UTC
(In reply to comment #11) 
> I think that actually the bug is fixed except for some .PS (or .PDFs as Stephen
> reported) that are probably broken for some reason.

could you attach here one of those .ps documents, please?


Comment 13 Simone Tolotti 2009-03-20 07:18:39 UTC
I prefer not to publish this file here, because it is a private document. Can I send it directly to you?
Comment 14 Carlos Garcia Campos 2009-03-20 07:54:35 UTC
yes, sure. Thanks!
Comment 15 Carlos Garcia Campos 2009-03-28 17:32:23 UTC
The problem is that we generate a .ps file with the pages duplicated that is sent to the printer. There are some documents like the one you sent to me and some eps files, that don't contain pages (the whole document is a page, so there aren't %%Page: comments). libspectre, the library used by evince to render ps files, cannot export such documents to a multipage ps file. I've just filed a bug in the freedesktop bugzilla:

https://bugs.freedesktop.org/show_bug.cgi?id=20924

Thank you very much for your help. 
Comment 16 Simone Tolotti 2009-03-29 08:49:28 UTC
Thank you for your work.