sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

printing error

Open joshua1000 opened this issue 10 years ago • 26 comments

Printing PDF file from Sumatra 32 or 64bit is erratic. Please see http://ge.tt/9E9DO4W2?c for the original and scan of printed file. Printing worked fine with Sumatra v3.0, errors appeard only after updating to v3.11.

joshua1000 avatar Jan 20 '16 13:01 joshua1000

I can confirm the issue. It appears as horizontal white lines in the printed document. Had to rollback to version 3.0 for the printing to work again.

dragosdobrota avatar Jan 25 '16 10:01 dragosdobrota

I have the exact same issue with Sumatra 3.1.1 x64 running on windows 7 enterprise x64.

vdemonchy avatar Feb 22 '16 12:02 vdemonchy

I've tested with versions 3.1.1 & 3.1 in both 32 & 64bit, they all contain the print bug described here (white stripes). It doesn't happen with every document though, so there must be some common properties in the impacted PDFs. Downgrading to 3.0 fixes the issue, so the bug has definitely been introduced in the 3.1 version.

vdemonchy avatar Feb 22 '16 12:02 vdemonchy

Ok, I think I've found the origin of the bug : since 3.1, the printing always happens as an image and the advanced option to disable that has been removed (it's in the 3.1 changelog).

In the 3.0 version, the option is present but it is disabled by default ( PrintAsImage = false ). Changing that option to true definitely triggers the white stripes bug, so I think there must be something wrong with the way some PDFs are converted to images before being sent to the printer.

A temporary workaround would be to re-introduce the PrintAsImage option, I've tried to put it in the config file on the latest version but I guess it's not interpreted anymore, so it doesn't change anything.

vdemonchy avatar Feb 22 '16 13:02 vdemonchy

A quick search indicates that commit 71e41092ed0c8b10335725cf7e958571857d2bde from 02/02/2015 is responsible for the disappearing option. It should be reverted IMHO, with the PrintAsImage option changed to true by default if you want to keep the current behavior of the 3.1.1 version.

vdemonchy avatar Feb 22 '16 13:02 vdemonchy

I'm seeing the same bug, but only on a particular printer (HP Color Laserjet 5500 Pcl6). Other printers, also HP (4100 PCL and 4550 PS) don't show the problem. I can verify it is in 3.1, 3.1.1, and the latest pre-release portable version as of 28 March 2016. Other than that, I see a very long time to spool some documents, and if "print as image" is always enabled that could explain it (no such issue in 3.0).

glszakacs avatar Mar 28 '16 15:03 glszakacs

We have the same problem here with a Xerox printer...

ct-graz avatar May 02 '16 06:05 ct-graz

With Xerox, try to disable "Print optimization" under Printing Preferences -> Advanced tab -> Driver. Fixed the problem for me.

madsl avatar Jul 04 '16 20:07 madsl

Same problem on a Xerox (WorkCentre 7835) with Sumatra 3.1.1. Thanks to @vdemonchy for the investigation. The suggestion from @madsl did not work for me. My workaround instead is to use Adobe reader for printing. :expressionless: I roughly compared the processing time it takes the printer to start printing:

  • Adobe reader: 5 s
  • Sumatra: 14 s (with printing errors)

bensoibj avatar Jul 07 '16 16:07 bensoibj

I disabled "Print optimization" and the issue persists.

joshua1000 avatar Jul 11 '16 07:07 joshua1000

I'm one more person this affects. I print from a Brother printer at home with no problems on 3.0 or 3.1.1. At work (also with a Xerox), my printouts on 3.1.1 have horizontal white lines even with printasimage set to true. There is no problem on 3.0 at work. I don't see a "print optimization" setting.

By the way, thank you for sumatra. I've been using it for years.

justbur avatar Jul 21 '16 19:07 justbur

Same issue here on xerox printers at university and Sumatra 3.1.2. I have white lines evenly spaced throughout the entire document.

mortenfyhn avatar Aug 26 '16 09:08 mortenfyhn

Another sighting like @justbur . Prints good with Brother. Gets white stripes using Xerox. Downgrade to 3.0 solved the problem.

tungwaiyip avatar Dec 14 '16 20:12 tungwaiyip

Same problem here. I switched back to Acrobat as most printouts were broken and at the office that stuff must just work.

ghost avatar Mar 21 '17 08:03 ghost

Using Sumatra 3.1.2 Windows 32-bit with HP Color LaserJet CP2025dn UPD PCL 6 driver, all on Windows 10. Same problem observed with horizontal lines on printouts.

What does not fix the problem:

  • Print-> Preferences -> Advanced -> "Print Optimizations: Disabled"

What does fix the problem: (either one)

  • Print-> Preferences -> Color tab -> check Grayscale to true
  • Settings -> Advanced Options... -> change "PrintAsImage = true"

patrickmdnet avatar Mar 30 '17 22:03 patrickmdnet

I got the same issue and found no working workaround for my Xerox printer.

kuon avatar Jul 17 '17 14:07 kuon

Similarly getting very odd print behaviour from Sumatra 3.1.2 on XP with Samsung ML4500. FIles come out shifted diagonally or completely mirrored. Prints fine from Adobe Reader.

royshearer avatar Sep 07 '17 15:09 royshearer

Please backport the option "PrintAsImage = false" from version 3.0.

I love Sumatra 3.1.2 for its general perforamce, usability and pdfTeX-support, but it sucks for printing. With 3.1, the rendered spoolfiles are huge (e.g. 100 MB spoolfile for 1 MB PDF), almost unprintable over mobile network, and sometimes even break the Windows printer driver (HP LJ Enterprise M604 PCL @ 1200 DPI), so that I need to restart the spooler.

johannesfranken avatar Sep 16 '17 10:09 johannesfranken

Ricoh network printer here. V3.1.2 64 bit. Same issue, white bands, PrintAsImage setting makes no difference.

kuro68k avatar Oct 08 '17 18:10 kuro68k

Same issue still present. Is this being looked at all?

Sumatra 3.1.2 Windows 10 1607 Enterprise

PrintTest.pdf

PrintOutput.pdf

horusofoz avatar Oct 10 '18 04:10 horusofoz