LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2017, 05:18 PM   #1
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Rep: Reputation: Disabled
Evince document viewer fills blank part of page with solid black ink when printing PDFs


I am using Linux Mint 17.3 Rosa Cinnamon.

I often have to print PDF documents, usually obtained from "screenshots" of web pages.

Usually they are not an exact number of pages. As an example, the last one I printed was about 1 and 1/5 pages long.

The pdf viewer in Linux Mint is Evince. But instead of leaving the blank 4/5ths part of the page white without any ink on it, instead it does the opposite, and prints it as solid black.

This uses up a huge amount of expensive ink. I would guess that the same amount of ink would print say 50 pages of normal text.

1) Is there any way to stop printing blank parts of the page in solid black ink?

2) Is there any other pdf viewer that does not do this when printing pdfs?

Thanks.
 
Old 02-13-2017, 05:54 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
What happens if you print to file first and print using lpr?
Code:
lpr file.pdf
FWIW, I use Okular and am not experiencing this issue.
 
Old 02-13-2017, 05:57 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Another thought - I frequently view .pdf files via my firefox browser. Maybe you could try viewing/printing from firefox.
 
Old 02-13-2017, 06:10 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Define screenshots? Are you using the print to file option in the print dialog box or actually taking screen shots via the print screen button or some other method? Do the PDFs when viewed in evince show the solid black parts?

Do the Some websites specifically have a print button which in most cases removes all the unnecessary stuff so it isn't printed.
 
Old 02-13-2017, 07:47 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
And have you tested with another document viewer (Okular, XPDF) to verify that this is an Evince problem or something larger?
 
Old 02-15-2017, 04:34 PM   #6
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
Frankbell - I have tried printing the pdf files with Okular and Xpdf, and they both shrink the file to one page, which makes it unreadable because the text becomes microscopically tiny. I cannot see any means of adjusting this. (And BTW, I would not recommend Xpdf).

MichaelK - they are copies of webpages - the full webpage, not just the visible part - obtained by using the Firefox add-ons Fireshot, Awesome-Screenshot-Plus, or Easy-Screenshot. Of which I use Fireshot the most.

Ferrari - I have no problems reading the pdfs on screen, this thread is about printing them. The pdf files are already pdf files.
 
Old 02-15-2017, 04:45 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
What happens if you print the web page(s) using the normal print dialog without using a plugin/add-on?

What happens if you use the print dialog to print to PDF first and then open/print in evince?
 
Old 02-15-2017, 06:26 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Ferrari - I have no problems reading the pdfs on screen, this thread is about printing them. The pdf files are already pdf files.
My point wasn't about viewing them, it was about printing the pdf files via firefox (which is capable of handling them directly).

Quote:
MichaelK - they are copies of webpages - the full webpage, not just the visible part - obtained by using the Firefox add-ons Fireshot, Awesome-Screenshot-Plus, or Easy-Screenshot. Of which I use Fireshot the most.
Try printing to file (saving as pdf) rather than using this add-on. Does that generate a usable pdf that can be printed successfully?
 
Old 02-16-2017, 02:43 PM   #9
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
MichaelK - the point is to print pdf files, not printing directly from webpages. I may have a pdf file from months ago that I want to print.

Ferrari - I am unable to print or view pdfs with Firefox, firefox only offers to view them in Evince.

Michaelk/Ferrari - Following your suggestion I have tried printing a webpage to file. I did not realise it would offer to print them to a pdf file. However I have been unable to find the resulting pdf file anywhere, despite searching through all of Home. So where might it be please?

Thanks.
 
Old 02-16-2017, 03:46 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
There should be window that asks for a file name and a save to folder. Go to the print dialog to find out the defaults assuming you did not change them.

I assume that the black parts are not present when viewing from evince. If you can create a PDF from the print dialog and it prints successfully from evince then it is probably the plugin/add-on.
 
Old 02-28-2017, 06:20 PM   #11
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
What happens if you print to file first and print using lpr?
It just shrinks the file to one page, which is useless as the print is then microscopically small and unreadable.

Quote:
Originally Posted by michaelk View Post
I assume that the black parts are not present when viewing from evince. If you can create a PDF from the print dialog and it prints successfully from evince then it is probably the plugin/add-on.
I have just tried michaelk's suggestion, I made a pdf copy of this page using the print dialogue and then viewed and printed it through Evince. It printed normally with the unused part of the page being left white rather than being printed as solid black.

But none of the file viewers, including Evince, display any black after the end of the file.

So I conclude that the problem is due to Evince - if no viewer shows any solid black after the end of the file, then it should not print any solid black.

Last edited by grumpyskeptic; 02-28-2017 at 06:37 PM.
 
Old 02-28-2017, 07:28 PM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Ferrari - I am unable to print or view pdfs with Firefox, firefox only offers to view them in Evince.
Well firefox has a built-in PDF viewer which I've used for years, so perhaps just not enabled in your configuration.

Edit > Preferences > Applications, search for pdf and check that the action is set to 'Preview in Firefox'

Quote:
So I conclude that the problem is due to Evince - if no viewer shows any solid black after the end of the file, then it should not print any solid black.
I'm not surprised by this, hence the suggestions to try other viewers to print from

Last edited by ferrari; 02-28-2017 at 09:14 PM.
 
1 members found this post helpful.
Old 03-04-2017, 05:02 PM   #13
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
I thought the problem might be due to having the wrong printer driver that was, I've just realised, for the HP Deskjet970c rather than for my HP Deskjet930c, but when I disabled this and used the other printer driver that is for the 930c, I still get the same problem.

Looking at a pdf file that has this problem with the Bless Hex Viewer, I see that about a tenth of the file towards the end is made up of this repetitive sequence:

00 50 01 40 05 00 14 00 50 01 40 05 00 14 00 50 01 40 05 ......

In addition the file is unusual in displaying in Evince as more than one page, other similar files get shrunk to one page when displayed by Evince.

Does anyone know what this repetitive hex sequence is supposed to mean in a pdf file?

Thanks.

Update: I've just tried printing this problem pdf with lpr in a terminal, and although it does not print any black it does print the second page in landscape rather than the portrait format of the first page.

Last edited by grumpyskeptic; 03-04-2017 at 05:10 PM.
 
Old 03-19-2017, 07:48 AM   #14
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 472

Original Poster
Rep: Reputation: Disabled
It is still doing it. I have two almost identical pdfs. The first one fits on one page and prints without any problem. The second one has a larger graphic in it which makes it slightly longer and Evince displays a thin sliver of a second page, but when printed the second page is 100% solid black ink.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
evince (document viewer) problem 1ac0 Slackware 4 04-20-2016 11:16 AM
[SOLVED] Evince Document Viewer - Error setting owner: Operation not permitted steve francis Linux - Software 2 06-19-2015 04:02 PM
[SOLVED] Evince document viewer vs. my Brother laser printer taylorkh Linux - Software 4 03-16-2011 11:35 AM
evince document viewer in opensuse sumeet inani Linux - Newbie 2 02-24-2009 10:31 PM
CUPS printing solid black page setx Fedora 0 07-28-2006 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration