LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-17-2019, 02:27 PM   #1
jrayner
LQ Newbie
 
Registered: Nov 2019
Location: Columbus, OH USA
Distribution: Fedora 31
Posts: 6

Rep: Reputation: Disabled
Certain applications not printing to Epson WF-4740 with cups


Why do the following applications not print? Printer WF-47 clicks but no output. I have not tested other applications.
Comparison of output of two printers below. Unfortunately I cannot reproduce proper spacing of following table in my post.

Printing Issues from Fedora-31 using ethernet (static IP) and cups

Application=====================Epson===========Epson
============================WorkForce 840===WorkForce WF-4740
=============================================================

test page========================yes=============yes

emacs======color text=============yes=============yes

gedit======color text=============yes==============no
===========black+white text=======yes==============no

shotwell===color jpg===============yes==============no


GIMP=======color jpg===============yes==============no

okular=====color jpg (as above)=========yes==============yes
===========color text(as above)========yes==============yes
===========color pdf=================yes==============yes

Typical Error message:** (org.gnome.gedit:88188): WARNING **: 10:52:56.416: GDBus.Errorrg.freedesktop.Avahi.TimeoutError: Timeout reached

Last edited by jrayner; 11-18-2019 at 08:24 AM. Reason: spacing not correct
 
Old 11-18-2019, 12:37 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Interesting that the GTK apps seem to be affected. I assume these two printers are using different drivers, and perhaps the underlying CUPS workflow (ie filter chain) is the culprit here. Okular will be generating and sending a PDF file for printing. I'm not sure about Gimp and Shotwell though. You could examine the CUPS error_log (with CUPS in debug-logging mode) to see which filters are involved for a given print job as I've outlined in this post:

https://www.linuxquestions.org/quest...4/#post6056875

Don't be daunted by this process. It should help identify where the problem is occurring.

This command can be used to get the configured drivers for the respective printers:
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*
I assume that this will show each printer is using a different Epson filter.

Fedora printer troubleshooting guide:
https://fedoraproject.org/wiki/How_t...nting_problems

Last edited by ferrari; 11-18-2019 at 03:12 AM.
 
Old 11-18-2019, 08:48 AM   #3
jrayner
LQ Newbie
 
Registered: Nov 2019
Location: Columbus, OH USA
Distribution: Fedora 31
Posts: 6

Original Poster
Rep: Reputation: Disabled
ferrari suggestion

Thank you. Tried debugging
# cupsctl --debug-logging
--print attempt with gedit--
# cat /var/log/cups/error_log |egrep -iA4 "filter|error"
no output
 
Old 11-18-2019, 12:17 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
I don't know why you don't get any such output. You could try removing the existing error_log file and restart CUPS then attempt to print again.

Can you show us how your printers are configured please? See the command given last post.

As an example, I get output like this (even without such a printer being present)...
Code:
D [19/Nov/2019:07:12:06 +1300] [Client 45] Server address is "/run/cups/cups.sock".
--
D [19/Nov/2019:07:12:06 +1300] [Job 41] 3 filters for job:
D [19/Nov/2019:07:12:06 +1300] [Job 41] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [19/Nov/2019:07:12:06 +1300] [Job 41] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [19/Nov/2019:07:12:06 +1300] [Job 41] /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper (application/vnd.cups-raster to printer/Epson, cost 0)
D [19/Nov/2019:07:12:06 +1300] [Job 41] job-sheets=none,none
D [19/Nov/2019:07:12:06 +1300] [Job 41] argv[0]="Epson"
D [19/Nov/2019:07:12:06 +1300] [Job 41] argv[1]="41"
D [19/Nov/2019:07:12:06 +1300] [Job 41] argv[2]="dean"
--
D [19/Nov/2019:07:12:06 +1300] [Job 41] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [19/Nov/2019:07:12:06 +1300] [Job 41] envp[10]="SERVER_ADMIN=root@linux-4k1z"
D [19/Nov/2019:07:12:06 +1300] [Job 41] envp[11]="SOFTWARE=CUPS/2.2.7"
D [19/Nov/2019:07:12:06 +1300] [Job 41] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [19/Nov/2019:07:12:06 +1300] [Job 41] envp[13]="USER=root"
--
I [19/Nov/2019:07:12:06 +1300] [Job 41] Started filter /usr/lib/cups/filter/pdftopdf (PID 4512)
I [19/Nov/2019:07:12:06 +1300] [Job 41] Started filter /usr/lib/cups/filter/gstoraster (PID 4513)
I [19/Nov/2019:07:12:06 +1300] [Job 41] Started filter /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper (PID 4514)
I [19/Nov/2019:07:12:06 +1300] [Job 41] Started backend /usr/lib/cups/backend/socket (PID 4515)
D [19/Nov/2019:07:12:06 +1300] Discarding unused job-state-changed event...
D [19/Nov/2019:07:12:06 +1300] [Client 45] Returning IPP successful-ok for Print-Job (ipp://localhost:631/printers/Epson) from localhost
D [19/Nov/2019:07:12:06 +1300] [Client 45] Content-Length: 192
 
Old 11-20-2019, 03:33 PM   #5
jrayner
LQ Newbie
 
Registered: Nov 2019
Location: Columbus, OH USA
Distribution: Fedora 31
Posts: 6

Original Poster
Rep: Reputation: Disabled
Your recommended steps.

Here is my setup:

/etc/cups/ppd/EP4740.ppd:*PCFileName: "drvless.ppd"
/etc/cups/ppd/EP4740.ppd:*ModelName: "EPSON WF-4740 Series"
/etc/cups/ppd/EP4740.ppd:*NickName: "EPSON WF-4740 Series, driverless, cups-filters 1.22.5"
/etc/cups/ppd/EP4740.ppd:*ShortNickName: "EPSON WF-4740 Series"
/etc/cups/ppd/EP4740.ppd:*cupsFilter2: "image/pwg-raster image/pwg-raster 0 -"
/etc/cups/ppd/EP4740.ppd:*cupsFilter2: "image/urf image/urf 100 -"
/etc/cups/ppd/EP4740.ppd:*cupsFilter2: "image/jpeg image/jpeg 0 -"
/etc/cups/ppd/EP4740.ppd:*OpenUI *ColorModel/Print Color Mode: PickOne
/etc/cups/ppd/EP4740.ppd:*OrderDependency: 10 AnySetup *ColorModel
/etc/cups/ppd/EP4740.ppd:*ColorModel RGB/Color: "<</cupsColorSpace 19/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
/etc/cups/ppd/EP4740.ppd:*ColorModel Gray/Monochrome: "<</cupsColorSpace 18/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
/etc/cups/ppd/EP4740.ppd:*DefaultColorModel: RGB
/etc/cups/ppd/EP4740.ppd:*CloseUI: *ColorModel

Removed all files under /var/log/cups. Ran gedit as before. Still no printed output from gedit or any error output.

(Are you in Auckland? Came here, USA, from U.Canterbury)
 
Old 11-21-2019, 02:14 AM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Ok, so you're using "driverless printing" as described here:
https://wiki.debian.org/CUPSIPPEverywhere
https://www.systutorials.com/docs/li.../1-driverless/

I have no experience with this (I don't own any IPP Everywhere-capable printer hardware), however I've seen a few reports such as this one where users have found that it doesn't work for one reason or another. The answer to why GTK apps are impacted may well lie with this comment from Till Kamppeter...
https://bugs.launchpad.net/ubuntu/+s...25/comments/20

Ultimately, you may also need to submit a bug report for this
https://fedoraproject.org/wiki/How_t...for_bug_report


Quote:
(Are you in Auckland? Came here, USA, from U.Canterbury)
Yes, Auckland-based.
 
Old 11-21-2019, 02:20 AM   #7
jrayner
LQ Newbie
 
Registered: Nov 2019
Location: Columbus, OH USA
Distribution: Fedora 31
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks

Thanks again. Will try your suggestions. <rayner.2@osu.edu>
 
Old 11-21-2019, 02:29 AM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
See if anything helpful offered in that bug report. I haven't had time to digest it completely. Let us know how you get on.

Alternatively you could consider configuring with an Epson CUPS driver...
https://download.ebz.epson.net/dsc/s...search/?OSC=LX
 
Old 11-21-2019, 11:50 AM   #9
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
Unfortunately I cannot reproduce proper spacing of following table in my post.
You need to use CODE blocks to preserve spaces. Switch to advanced mode and press the # icon. Put your text between the two delimiters.

For example with manpage ouput all of the spacing is preserved.


Code:
GAWK(1)                                                                           Utility Commands                                                                          GAWK(1)

NAME
       gawk - pattern scanning and processing language

SYNOPSIS
       gawk [ POSIX or GNU style options ] -f program-file [ -- ] file ...
       gawk [ POSIX or GNU style options ] [ -- ] program-text file ...

DESCRIPTION
       Gawk is the GNU Project's implementation of the AWK programming language.  It conforms to the definition of the language in the POSIX 1003.1 standard.  This version in turn
       is based on the description in The AWK Programming Language, by Aho, Kernighan, and Weinberger.  Gawk provides the additional features found in the current version of Brian
       Kernighan's awk and numerous GNU-specific extensions.

       The  command  line consists of options to gawk itself, the AWK program text (if not supplied via the -f or -i options), and values to be made available in the ARGC and ARGV
       pre-defined AWK variables.

       When gawk is invoked with the --profile option, it starts gathering profiling statistics from the execution of the program.  Gawk runs more slowly in this mode,  and  auto‐
       matically produces an execution profile in the file awkprof.out when done.  See the --profile option, below.
 
  


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
[SOLVED] Epson L120 Doesn't Print with Error: "/opt/epson-inkjet-printer-201310w/cups/lib/filt malekmustaq Linux - Newbie 3 09-08-2014 02:43 PM
Installation of Redhat Linux Enterprise 5 on Acer TravelMate 4740 notebook dashoralpa Linux - Newbie 1 04-16-2012 05:07 AM
[SOLVED] printing problems cups okular printing jobs debian squeeze epson stylus sx 410 Foxbat1155 Linux - Newbie 4 02-22-2012 02:49 PM
Cups stopped printing with Epson D68 moo-cow Linux - Hardware 1 05-08-2006 08:04 AM
Epson C64 Printing in RHat 9 - CUPS javadudd Linux - Newbie 7 04-09-2004 10:41 AM

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

All times are GMT -5. The time now is 01:27 AM.

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