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-29-2020, 12:26 PM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Rep: Reputation: Disabled
Okular doesn't print. Firefox and LibreOffice can and do print.


This is on openSuse tumbleweed with a Brother HL-2040 and the Brother driver and wrapper-driver, problem as stated. Printed for years with no problems until last week. Where and how should I look to tackle this?
 
Old 02-29-2020, 12:50 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
The first question to ask is: What changed in the last week?
Have you reviewed the print settings in Okular? Compared them to the settings in Firefox and/or LibreOffice?
 
Old 03-01-2020, 11:30 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Well, this is tumbleweed, literally hundreds of system / program files change each week, so this is quite impossible for me to answer. All the more so as I don't print very often and the change responsible might be considerably older.

I checked the settings in okular and it can't do a print preview, the translated error message is something like "couldn't load the print-preview component". Any ideas what that "component" would be called in English?
 
Old 03-01-2020, 07:33 PM   #4
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,384
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Have you checked the log files in /var/log/cups, particularly the error.log files?

They might provide some hints.
 
Old 03-02-2020, 12:07 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it might also be the PDF you are trying to print

try a different PDF in Ockular and see if that prints
 
Old 03-03-2020, 12:17 PM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Have you checked the log files in /var/log/cups, particularly the error.log files?
That is a hard one. There are hundreds of lines with messages for just one print-job, some seemingly normal, some maybe relevant errors. I can't read this, for me it is a huge heap of gibberish. So I renamed error.log to get at least the newest messages -- and cups appended the new messages to the renamed file *scratch-head*.

Be that as it may. I'll attach the log below. Relevant for my last attempt at printing are the time-stamps of 03/Mar/2020:19:08:56 +0100 and later. <edit> had to clip the file to that span of time, too large </edit>. Hope you can read something out of that.

Thanks for your efforts.
Attached Files
File Type: txt error_log.txt (74.3 KB, 27 views)

Last edited by JZL240I-U; 03-03-2020 at 12:21 PM.
 
Old 03-03-2020, 12:24 PM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
it might also be the PDF you are trying to print

try a different PDF in Ockular and see if that prints
Bulls eye. It seems to be the file. Darn. Any suggestions for another program to print that file?
 
Old 03-03-2020, 12:32 PM   #8
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Chromium based browsers are good at opening pdf's, so if you have chromium or brave or vivaldi (etc) I'd try one of those.
 
Old 03-03-2020, 02:46 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
then use LibreOffice - Draw to open the PDF
and print from that
 
Old 03-04-2020, 12:07 PM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Original Poster
Rep: Reputation: Disabled
Both your suggestions worked (Chromium much faster ). Thank you.

I'll mark this thread as solved -- but I would still like to know WHY this file kills printing only in okular. So please any further visitor to this thread do have a look at that error log appended in post #6 and enlighten me -- much appreciated .
 
  


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
Okular bookmarks, annotations lost for renamed PDFs, etc. (Okular 0.16.2, KDE 4.10.2) Geremia Linux - Software 6 10-22-2019 05:27 AM
Unable to print from Okular to cups 2.0.2/cups-filters 1.0 on Slack-Current tux_dude Slackware 3 07-02-2015 12:08 PM
libreoffice and okular fail to print chiendarret Linux - Software 1 05-18-2012 06:35 PM
Firefox, Okular don't put print job on the print queue (silently) pwabrahams Linux - Software 1 02-18-2011 07:39 AM
Okular doesn't print PDF files? michalng Debian 2 02-21-2010 09:20 AM

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

All times are GMT -5. The time now is 03:32 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