Bug 74205

Summary: Printing certain documents causes printer to hang
Product: LibreOffice Reporter: leeksoup <leeksoup10>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: jmadero.dev, sophi
Priority: medium    
Version: 4.1.1.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: test case document that causes printer to hang

Description leeksoup 2014-01-30 02:30:25 UTC
Created attachment 93031 [details]
test case document that causes printer to hang

When printing some documents, my printer hangs.

This problem is with Writer and also Impress.

The printer may print a page or so (or not!) and then it says "Processing ..." and stays there sometimes for 20 minutes or longer. I have to power cycle it to reset as it does not respond to any cancel request.

However, if I print the same document to a PDF file, and then print the PDF from Adobe Reader, there is no problem.

This problem was not happening with old OpenOffice or previous 3.x version of LibreOffice.

To reproduce:
1. Open file (test file attached). The test file is a docx file from URL
http://www.bisd.net/cms/lib02/TX01001322/Centricity/Domain/250/2.3_Product_Rule,_Higher_Order_Derivs,_Accel.docx
but saving it as ODT doens't change the print problem.
2. Print

Workaround:
1. Print to file
2. Open file in Adobe Reader
3. Print

Other info:
The printer is a Dell 3100cn with a Linux PPD file for driver. Have had it for years and printed with no problem like this until recently. All other software prints to it fine.
Comment 1 leeksoup 2014-02-03 05:50:32 UTC
Still having this problem on latest LibreOffice 4.1.4.2.
I am using the generic Linux version, not the one from the Fedora repo.
Comment 2 sophie 2014-06-19 12:48:38 UTC
Hi, could you try again with a newer version like 4.2.4 and report if you still meet issue with your printer? thanks in advance - Sophie
Comment 3 leeksoup 2014-06-19 22:52:41 UTC
With the new version 4.2.4.2, still having the problem.

First page prints, then it hangs on the second. Still have to power cycle it. Cancel does not work. Still can print to file (PDF) and then print from PDF viewer just fine.
Comment 4 Joel Madero 2014-06-20 02:28:22 UTC
Printed fine with:

Ubuntu 14.04
Photosmart 1115
LibreOffice 4.2.5.2 release

@Leeksoup - are you willing to do some debug work with me by doing a bibisect? I can help you with it but the package is 12 gigs.

Also will you try with a fresh profile: https://wiki.documentfoundation.org/UserProfile
Comment 5 leeksoup 2014-06-24 03:24:42 UTC
Can try to help. Not sure what "bibisect" is??

I will try the fresh profile and report back.
Comment 6 Joel Madero 2014-06-24 03:29:09 UTC
@leeksoup - thanks for trying the fresh profile.

Bibisect helps determine what commit caused the regression. The download is quite large (12 gigs) but the actual bibisect process is relatively straight forward. 

https://wiki.documentfoundation.org/QA/HowToBibisect

But perhaps the fresh profile will help on its own :-D
Comment 7 leeksoup 2014-07-25 00:03:08 UTC
Sorry for the delay. Things got crazy here.

I tried the fresh profile and now printing appears to work. At least the test doc that always made my printer hang can now print ok. Thanks for the suggestion! What could be the difference?

Anyway, I guess you can close this. If I have future problem I will open a new one.
Thanks.
Comment 8 sophie 2014-07-25 05:34:50 UTC
Closing per last comment - Sophie