Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using a Slackware64 multilib.
Cups 1.53.4 in 64.
I have an Epson WF-3540 and do not use the wifi.
I can print from an Ubuntu.
I cannot print from my Slackware, neither via USB nor wired Network.
I can ping the printer.
I used the same ppd file than for the ubuntu to install the printer.
Here's what I get in the error_log of cups (which I set to debug2! meaning, many GB of logs)
Code:
# lpstat -h localhost -r
scheduler is running
# grep -i '^[ie]' error_log
I [07/Oct/2014:12:06:58 -0700] [Job 20] Adding start banner page "none".
I [07/Oct/2014:12:06:58 -0700] [Job 20] Queued on "WF-3540-Series-3" by "mrbark".
I [07/Oct/2014:12:06:58 -0700] [Job 20] File of type application/pdf queued by "mrbark".
I [07/Oct/2014:12:06:58 -0700] [Job 20] Adding end banner page "none".
I [07/Oct/2014:12:06:58 -0700] [Job 20] Started filter /usr/lib64/cups/filter/pstotiff (PID 2548)
I [07/Oct/2014:12:06:58 -0700] [Job 20] Started filter /usr/lib64/cups/filter/imagetoraster (PID 2549)
I [07/Oct/2014:12:06:58 -0700] [Job 20] Started filter /opt/epson-inkjet-printer-201212w/cups/lib/filter/epson_inkjet_printer_filter (PID 2550)
I [07/Oct/2014:12:06:58 -0700] [Job 20] Started backend /usr/lib64/cups/backend/socket (PID 2551)
I [07/Oct/2014:12:06:59 -0700] [Job 20] Loading print file.
I [07/Oct/2014:12:06:59 -0700] [Job 20] Formatting page 1.
I [07/Oct/2014:12:06:59 -0700] [Job 20] Formatting page 2.
I [07/Oct/2014:12:06:59 -0700] [Job 20] Formatting page 3.
I [07/Oct/2014:12:06:59 -0700] [Job 20] Formatting page 4.
E [07/Oct/2014:12:06:59 -0700] [Job 20] Job stopped due to filter errors; please consult the error_log file for details.
What I was printing was simply a test page from system-config-printer. I have no idea what these "4 pages" are... There should be just one page.
It does the same if I just try to print a "hello" from LibreOffice or any text editor.
I don't have anything in other logs such as messages / syslog, etc.
Filters are all in 755.
Thank you for the reply.
That does not change anything. I don't think that could be a matter of queue.
This system is a fresh install.
Good to know, otherwise you leave us to guess these things.
I don't own this printer, but installed the appropriate driver package for my system, and after configuring, sent a print job to my 'non-existent' network printer. I don't get any errors reported as such, but I'm wondering if you have a bad setting specified in your .ppd perhaps. For example, what default paper size is set for the printer? ('*DefaultPageSize:' entry in .ppd file)
You can check/adjust settings via the CUPS web interface (as an alternative to system-config-printer) http://localhost:631/printers
Click on the relevant printer and adjust via 'Administration' option. Follow the prompts given.
You also mentioned that you used the same .ppd in your Slackware install as in your Ubuntu install. You didn't just copy it did you? Some of the configured settings may be unique to a particular environment eg the '*cupsFilter' entry which points to the exact location of the epson filter. I'm not a Slackware user, but I know that installing printer drivers is a little more convoluted than with DEB/RPM-based systems. You might want to share the steps you used to install the driver files. Maybe something was missed.
Thank you again, I did not know a ppd file was text and not a sort of binary...
When I said "I used the same ppd file", I meant "among the things I tried".
In fact the ppd file in use is the one with the correct paths (I checked them all)
Code:
*DefaultPageSize: A4
So here's the log in debug2 just before the error occurs: (the total is 8000 lines for these few seconds... so that's just the end)
Code:
...
d [10/Oct/2014:01:39:02 -0700] process_children()
d [10/Oct/2014:01:39:02 -0700] process_children()
d [10/Oct/2014:01:39:02 -0700] process_children()
d [10/Oct/2014:01:39:02 -0700] cupsdAcceptClient(lis=0x7f0c1f5da9e0(8)) Clients=6
D [10/Oct/2014:01:39:02 -0700] cupsdAcceptClient: 18 from localhost (Domain)
d [10/Oct/2014:01:39:02 -0700] cupsdAddSelect(fd=18, read_cb=0x7f0c1f38af1d, write_cb=(nil), data=0x7f0c1f67e910)
d [10/Oct/2014:01:39:02 -0700] process_children()
d [10/Oct/2014:01:39:02 -0700] cupsdReadClient(con=0x7f0c1f67e910(18)) con->http.error=0 con->http.used=0, con->http.state=0 con->data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=0, con->file=-1
D [10/Oct/2014:01:39:02 -0700] cupsdReadClient: 18 POST / HTTP/1.1
D [10/Oct/2014:01:39:02 -0700] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
d [10/Oct/2014:01:39:02 -0700] cupsdFindBest: uri = "/"...
d [10/Oct/2014:01:39:02 -0700] cupsdFindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0
d [10/Oct/2014:01:39:02 -0700] cupsdFindBest: Location /admin/conf Limit 7f
d [10/Oct/2014:01:39:02 -0700] cupsdFindBest: Location /admin Limit 7f
d [10/Oct/2014:01:39:02 -0700] cupsdFindBest: Location / Limit 7f
d [10/Oct/2014:01:39:02 -0700] cupsdFindBest: best = /
d [10/Oct/2014:01:39:02 -0700] cupsdAuthorize: con->uri="/", con->best=0x7f0c1f5db230(/)
d [10/Oct/2014:01:39:02 -0700] cupsdAuthorize: Authorization="Basic cm9vdDprZXlib2FyZA=="
d [10/Oct/2014:01:39:02 -0700] cupsdAuthorize: pw_passwd="x", crypt="(null)"
d [10/Oct/2014:01:39:02 -0700] cupsdAuthorize: sp_pwdp="$5$JnE6MxT5g3/H$jYZoIrYW2Am9M87ZEQ6qPLu0c.XW48fnIF5KNc5vdrA", crypt="$5$JnE6MxT5g3/H$jYZoIrYW2Am9M87ZEQ6qPLu0c.XW48fnIF5KNc5vdrA"
D [10/Oct/2014:01:39:02 -0700] cupsdAuthorize: Authorized as root using Basic
d [10/Oct/2014:01:39:02 -0700] cupsdIsAuthorized: con->uri="/", con->best=0x7f0c1f5db230(/)
d [10/Oct/2014:01:39:02 -0700] cupsdIsAuthorized: level=CUPSD_AUTH_ANON, type=None, satisfy=CUPSD_AUTH_SATISFY_ALL, num_names=0
d [10/Oct/2014:01:39:02 -0700] cupsdIsAuthorized: auth=CUPSD_AUTH_ALLOW...
d [10/Oct/2014:01:39:02 -0700] cupsdReadClient(con=0x7f0c1f67e910(18)) con->http.error=0 con->http.used=319, con->http.state=6 con->data_encoding=HTTP_ENCODE_LENGTH, con->data_remaining=319, con->file=-1
d [10/Oct/2014:01:39:02 -0700] process_children()
d [10/Oct/2014:01:39:02 -0700] cupsdFinishProcess(pid=1865, name=0x7fff5998f928, namelen=1024, job_id=0x7fff5998f924(30)) = "/usr/lib64/cups/filter/imagetoraster"
D [10/Oct/2014:01:39:02 -0700] PID 1865 (/usr/lib64/cups/filter/imagetoraster) exited with no errors.
d [10/Oct/2014:01:39:02 -0700] finalize_job(job=0x7f0c1f5f2080(30))
d [10/Oct/2014:01:39:02 -0700] cupsdSetPrinterReasons(p=0x7f0c1f5fc5c0(Epson_WF-3540_192.168.10.17),s="-connecting-to-device,cups-remote-pending,cups-remote-pending-held,cups-remote-processing,cups-remote-stopped,cups-remote-canceled,cups-remote-aborted,cups-remote-completed"
d [10/Oct/2014:01:39:02 -0700] cupsdSetPrinterReasons(p=0x7f0c1f5fc5c0(Epson_WF-3540_192.168.10.17),s="-offline-report"
d [10/Oct/2014:01:39:02 -0700] cupsdDeleteProfile(profile="(null)")
d [10/Oct/2014:01:39:02 -0700] cupsdRemoveSelect(fd=13)
d [10/Oct/2014:01:39:02 -0700] cupsdSetJobState(job=0x7f0c1f5f2080(30), state=5, newstate=6, action=0, message="%s")
d [10/Oct/2014:01:39:02 -0700] stop_job(job=0x7f0c1f5f2080(30), action=0)
d [10/Oct/2014:01:39:02 -0700] cupsdAddEvent(event=job-state-changed, dest=0x7f0c1f5fc5c0(Epson_WF-3540_192.168.10.17), job=0x7f0c1f5f2080(30), text="%s", ...)
d [10/Oct/2014:01:39:02 -0700] cupsd_send_notification(sub=0x7f0c1f5ebac0(251), event=0x7f0c1f68a7d0(job-state-changed))
d [10/Oct/2014:01:39:02 -0700] cupsd_send_notification(sub=0x7f0c1f5f1db0(252), event=0x7f0c1f68acb0(job-state-changed))
d [10/Oct/2014:01:39:02 -0700] cupsd_send_notification(sub=0x7f0c1f682c90(253), event=0x7f0c1f6600b0(job-state-changed))
D [10/Oct/2014:01:39:02 -0700] cupsdMarkDirty(-----S)
D [10/Oct/2014:01:39:02 -0700] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients and dirty files"
E [10/Oct/2014:01:39:02 -0700] [Job 30] Job stopped due to filter errors; please consult the error_log file for details.
D [10/Oct/2014:01:39:02 -0700] cupsdMarkDirty(----J-)
...
Unfortunately, the error reported doesn't really tell me what is wrong. It would be useful if you'd explain how you obtained and installed the drivers in the first place (as I requested in my last post). Perhaps that's where things went wrong. You might want to consider posting about your problem in the Slackware forum to attract the attention of other Slackware users.
Ah! very good, thank you.
I did the trick of the link from /lib64 because just like in his case, the file did not exist.
So now it prints but there are 2 problems:
1- This is always Black & White (my options are correct)
2- Everything is about twice too large, so a test page takes 4 pages (divided into 4 quarters)
I tried to change the printer options to:
- Reduce/Enlarge: "On - By Output Paper Size" and have "Letter 8 1/2 x 11 in" as Paper Size. That does not change anything.
- Reduce/Enlarge: "On - By Percentage" and put "By Percentage" to "50%". In this case, it might be the correct size, but the same thing is simply printed smaller, so it still prints 4 pages having the quarter of the document (on a smaller surface of the paper)
So it seems that the document itself, when converted, is divided into multiple page because considered huge... ?
I tried to print a document from LibreOffice, same problem
PS: hmmm I start to wonder if that's a problem with 64/32 bit, since I made my slackware multilib. It would make sense with the double size and color problem no?
Last edited by MisterBark; 10-10-2014 at 01:50 PM.
cat /etc/cups/ppd/epson.ppd |egrep '*DefaultColor:|*DefaultPage'
*DefaultPageSize: A4
*DefaultPageRegion: A4
*DefaultColor: Color
Might also be worth reporting
Code:
lpoptions -l
I'm not sure why the letter size printing is failing, but I wonder if the behaviour would be different if you selected A4 just for testing? It's worth a try.
# cat /etc/cups/ppd/Epson_WF-3540_192.168.10.17.ppd | egrep '*DefaultColor:|*DefaultPage'
*DefaultPageSize: Letter
*DefaultPageRegion: Letter
*DefaultColor: Color
I tried with A4 instead of Letter and it's the same.
Check also for the existence of /etc/cups/lpoptions and ~/.cups/lpoptions, and remove if present.
Check '*DefaultColorSpace' entry in the PPD for
Code:
*DefaultColorSpace: RGB
I'm out of ideas for the scaling issue.
I'm going to refer you to this CUPS debugging wiki for capturing print data https://wiki.ubuntu.com/DebuggingPri...print_job_data
Capturing data that goes to the printer may also be useful in determining any options that are getting sent with the print job that may causing the issues you're describing. This could be useful for any bug report that may need to be submitted.
Alternatively, you might try using the ESC/P-R Driver (generic driver): epson-inkjet-printer-escpr-1.4.3-1lsb3.2 from
Once the driver package is installed, configure a new queue (via the CUPS web interface) and select the new driver (Epson WF-3540 Series - epson-inkjet-printer-escpr). Maybe that will perform adequately.
Dear Fellux,
I think we may reach the end
I don't understand, you either, and I don't think we're idiots...
No lpoptions at the wrong place, DefaultColorSpace is RGB, and I just tried the escpr version, same thing!
In the end, although this is totally absurd, I think I will use wine or VirtualBox (I installed both) to print from another system like a stupid Ubuntu...
Thank you again for the efforts, I truly appreciate!
I don't know why it should make a difference, but it was suggested to configure the ppd and queue manually using the 'lpadmin' command. So, in your case, something like
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.