sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.86k stars 1.74k forks source link

Printing problem: White bands when using staples #1312

Open xysygy opened 4 years ago

xysygy commented 4 years ago

There is a problem printing with automatic stapling. If I select "Staple" in the Preferences dialog (2 staples, left), then I get white bands across the printout - i.e. unprinted bands. See attached image. First page is a doc printed without staples, second page is with staples.

sharpmfd@csiro.au_20191212_154100.pdf

GitHubRulesOK commented 4 years ago

@xysygy problems such as this are usually difficult to get consistent failure so am sort of pleased it is repeatable

When you print the same document(s) with and without staple option does it matter how many pages to get a constant fail Since there will be a bunch of code at start or end of print run to say staple 2 pages it is easier to trap and analyse a simple 2 page print to file.prn with and without any change other than the staple option checked/unchecked

If you can capture a good.prn and stapled.prn and prove via either LPT1 or \\printserver\printer

COPY /B C:\path\GOOD.PRN \\server\SharpMCxyz If that works always without problem then see if you repeatedly get the same bad result with COPY /B C:\path\STAPLED.PRN \\server\SharpMCxyz

If those good / bad files are small enough to zip and post here someone may be able to DIFF to see what might be causing an issue

Digital-Monk commented 4 years ago

Coming in from #1614... I did have "1 staple" enabled in my print properties as well. The interesting thing is that it still does this with a single page, even though no staples will be used. When I get back to the office, I'll try 3.2.0 with stapling disabled to see if that is the trigger.

vdheidenet commented 3 years ago

Hi,

I'm also able to reproduce this issue consequently. When one or more staples are used, there appear white bands throughout the entire document (see attachment). IMG_1092

Hopefully this issue can be resolved as I really like SumatraPDF to be my primary PDF-viewer/PDF-printer

Kind Regards, Marco van der Heide