View Issue Details

IDProjectCategoryView StatusLast Update
0005677ScribusPrintingpublic2007-12-30 01:40
Reportergpittman Assigned Toavox  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSFedora CoreOS Version6
Product Version1.3.4cvs 
Target Version1.3.5Fixed in Version1.3.5svn 
Summary0005677: Too many copies printed
DescriptionUsing FC6 with a HP Photosmart P1000 printer, I was attempting to print a single copy. FC6 requires using a print command: lp -dphoto; nothing else was added.
The first time, a single copy was printed. The second time, two copies. The third time and thereafter, 3 copies. Shutting down Scribus and starting up again began this progression all over.
Also opened up 1.3.3.x and this phenomenon did not happen.
Steps To ReproduceClick print icon.
Set requestor to print one copy.
Press RETURN.
TagsNo tags attached.
Patch

Relationships

has duplicate 0005989 closedjghali Printing several times to HP1200 PCL printer causes multiple copies of page to be printed 
has duplicate 0006149 closedjghali Too many copies printed 
has duplicate 0006250 closedjghali repeated printing produces multiple pages for each subsequent print run 
has duplicate 0006236 closedjghali Printing to a local printer always prints entire document twice 
related to 0006150 closedjghali switching color and gray mode in print dialog 

Activities

avox

2007-05-19 02:54

updater   ~0016223

Can this issue be confirmed by anyone?

Also it might help to write a script named "snoop":

____
#!/bin/sh
echo $@ > /tmp/MYFILENAME.txt
cat >> /tmp/MYFILENAME.txt
----

Then say

    chmod a+x snoop

in the terminal and specify "/path/to/snoop" instead of "lp" in the Scribus preferences.

print again and after each print command attach the file "/tmp/MYFILENAME.txt"
to this bug.

Tnx

2007-05-23 03:12

 

MYFILENAME.txt (29 bytes)   
/home/gregp/.scribus//tmp.ps
MYFILENAME.txt (29 bytes)   

gpittman

2007-05-23 03:18

developer   ~0016285

I've updated from CVS 20 May 2007, still getting same problem.
Followed Andreas' suggestion and uploaded the file MYFILENAME.txt

I also note that even though I print the first time in color, when the requester comes up again to print any time after the first, it indicates Print in Grayscale.

I also deleted the entire .scribus directory and that didn't help either -- same problem. As I check again, it may actually print 2 copies the second time, 3 the third, 4 the fourth... (I have a hard time keeping track).

avox

2007-05-24 23:07

updater   ~0016307

Ah, does not contain what I expected but hints at the cause of the problem.

Maybe the file ~/.scribus/tmp.ps is not deleted before each printjob?

avox

2007-05-24 23:39

updater   ~0016309

Ok, I added an explicit remove of the tmp file before the printkob is written.
According to Qt docs that should not be necessary, but who knows...

Can you test if this improves your situation? (the change should be in public cvs tomorrow morning)

avox

2007-05-26 00:39

updater   ~0016326

gpittman, can you retest with current cvs?

gpittman

2007-05-28 13:56

developer   ~0016337

Bad news.
Tried again with CVS from 27 May, still the same problem, only slightly different.

First print - one copy, in color
Second - two copies, in color
Third - 3 copies, in grayscale, even though requester said print in color if available.

gpittman

2007-05-28 17:55

developer   ~0016339

I've just tried this on another computer -- laptop on FC6 connected to a laser printer, 27 May 2007 CVS.

Same problem -- can't check about the switch to grayscale since this is not a color printer, but the number of copies = the number of times you have used Ctrl+P.

gpittman

2007-05-28 21:12

developer   ~0016341

Last edited: 2007-05-28 21:13

Perhaps here is something important:

I just now looked, having shut down Scribus, shut down then restarted my laptop, and this tmp.ps file is still in the .scribus directory.

Looking at this with kpdf, it is a four-page document, as you might expect four duplications of the single page I tried to print earlier -- I printed it four times and the last time got four copies. So apparently, each time I printed, it was appending to the tmp.ps file instead of replacing it. Is tmp.ps supposed to be deleted after it is printed?

avox

2007-05-28 22:30

updater   ~0016342

it's supposed to be deleted before each printjob.

what are your permissions on that file and it's parent diretory?

gpittman

2007-05-29 12:43

developer   ~0016346

These are custom-install setups, much the same on each computer, so I have the Scribus binary in /home/gregp/scribus134/bin/.
The .scribus directory (where the tmp.ps file is) is in my home directory and has permissions 775.

avox

2007-06-01 14:34

updater   ~0016388

I can reproduce this behaviour with printing to file on OSX.

Also it appears to alternate between color and grayscale :-/

avox

2007-06-01 20:18

updater   ~0016392

This was a Scribus internal problem, it didnt clear the list of pages to print after each print run.

Another minor issue was that the choice between Color/Grayscale always changed between subsequent openings of the print dialog

gpittman

2007-12-30 01:40

developer   ~0018439

Checked out today with Fedora 7, color printer -- no extra copies, no change in color vs b/w

Issue History

Date Modified Username Field Change
2007-05-14 12:51 gpittman New Issue
2007-05-19 02:54 avox Note Added: 0016223
2007-05-23 03:12 gpittman File Added: MYFILENAME.txt
2007-05-23 03:18 gpittman Note Added: 0016285
2007-05-24 23:07 avox Note Added: 0016307
2007-05-24 23:39 avox Note Added: 0016309
2007-05-26 00:39 avox Note Added: 0016326
2007-05-26 00:39 avox Status new => feedback
2007-05-28 13:56 gpittman Note Added: 0016337
2007-05-28 17:55 gpittman Note Added: 0016339
2007-05-28 21:12 gpittman Note Added: 0016341
2007-05-28 21:13 gpittman Note Edited: 0016341
2007-05-28 22:30 avox Note Added: 0016342
2007-05-29 12:43 gpittman Note Added: 0016346
2007-06-01 14:34 avox Note Added: 0016388
2007-06-01 14:34 avox Status feedback => confirmed
2007-06-01 17:10 avox Status confirmed => assigned
2007-06-01 17:10 avox Assigned To => avox
2007-06-01 20:18 avox Status assigned => resolved
2007-06-01 20:18 avox Fixed in Version => 1.3.4.1cvs
2007-06-01 20:18 avox Resolution open => fixed
2007-06-01 20:18 avox Note Added: 0016392
2007-06-01 21:42 avox Fixed in Version => 1.3.5cvs
2007-07-12 15:36 jghali Relationship added has duplicate 0005989
2007-08-25 20:41 jghali Relationship added has duplicate 0006149
2007-09-28 20:28 jghali Relationship added related to 0006150
2007-11-27 16:14 jghali Relationship added has duplicate 0006250
2007-11-27 16:15 jghali Relationship added has duplicate 0006236
2007-12-29 23:02 cbradney Target Version => 1.3.5
2007-12-30 01:40 gpittman Status resolved => closed
2007-12-30 01:40 gpittman Note Added: 0018439