LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Printer issues - Samsung on Linux 18.04 (https://www.linuxquestions.org/questions/linux-newbie-8/printer-issues-samsung-on-linux-18-04-a-4175656560/)

njriebschlaeger 06-28-2019 04:45 PM

Printer issues - Samsung on Linux 18.04
 
I have uninstalled everything shut things off and back on and still have issued. Last time I tried to print the cups error log had - Backend returned status 113 (unknown)
I have probably spent 16 hours trying to get this to work. It did work fine until an automatic update of linux. Printer worked before automatic update linux-modules-4.15.0-52-generic:amd64 (4.15.0-52.56, automatic),

ferrari 06-28-2019 07:11 PM

Welcome to LinuxQuestions.org. CUPS printing issues can take a bit of debugging to nail down sometimes. Put CUPS into debug mode (for more verbose logging) with
Code:

sudo cupsctl --debug-logging
then try sending a print job. You could print a test page via the CUPS web interface (using your favourite browser) for example. To do that, navigate to

localhost:631/printers

select the printer > Maintenance > Print Test Page

Examine the CUPS error log (/var/log/cups/error_log) for errors. It's a lengthy file, so use the time stamps and/or job ID to observe/capture the most recent print job, and you're looking for backend or filter related errors. If necessary copy/paste output to https://pastebin.com/ and post the link that it generates here so that we can advise further.

Tip: If the file is too long, consider removing it before printing, so that the entire output concerns the most recent print job
Code:

sudo rm -f /var/log/cups/error_log

njriebschlaeger 06-28-2019 07:12 PM

I updated to cups-2.3rc1-source.tar.gz and it works!

ferrari 06-28-2019 07:13 PM

Also, may be tell us a bit about your current printer configuration eg
Code:

cat /etc/cups/printers.conf
Code:

egrep - i "name|model|filter" /etc/cups/ppd/*

ferrari 06-28-2019 07:14 PM

Quote:

I updated to cups-2.3rc1-source.tar.gz and it works!
Thanks for the update. Nice when it is simple! :)

njriebschlaeger 07-05-2019 05:16 PM

Still not working
 
The update to cups worked for one page. Since then no printing. I set cups back and now I get Unsupported format "application/postscrip when I try to print a test page.

ferrari 07-05-2019 08:10 PM

Please show the output of the requested information in post #4. If you're using a postscript driver then make sure that /usr/share/cups/mime/mime.convs is present (usually supplied as part of the cups package). It contains an entry
Code:

#
# PostScript filters
#

application/postscript          application/vnd.cups-postscript 66      pstops

AFAIU, check pstops (eg /usr/lib/cups/filter/pstops) is present on your system perhaps.


You should probably disclose the distro you're using (although from your mention of "18.04" I assume that you're using Ubuntu).

njriebschlaeger 07-06-2019 11:40 AM

response re Samsung on ubuntu
 
https://pastebin.com/jb5Fub6m
I checked mime.convs and pstops
and yes Ubuntu 18.04.2 LTS
cups 2.2.7

ferrari 07-06-2019 04:39 PM

We need to examine the filter chain as logged by CUPS in /var/log/cups/error_log when attempting to process a print job for a given printer. It's not clear to me why the postscript filter (application/postscript) would be involved in any way for your Samsung printer.

Check out and report back with output from
Code:

grep -iaA4 "filter" /var/log/cups/error

ferrari 07-06-2019 05:54 PM

Some general debugging info for CUPS...

CUPS can put into debugging mode with
Code:

sudo cupsctl --debug-logging
This results in more verbose logging output that can help with problems like this.

The error_log can be quite lengthy, containing history from previous print jobs. Sometimes it is useful to remove it prior to sending a new print job when trying to identify a particular issue. Then one knows that the log contains only information relating to the current print job. To remove it do

Code:

sudo rm -f /var/log/cups/error_log
Cancel any stale/stuck print jobs with
Code:

sudo cancel -a
and attempt to print again, then examine /var/log/cups/error_log for any errors.

njriebschlaeger 07-07-2019 10:32 AM

error_log
 
Did all of the above https://pastebin.com/iC8HZjDH
If I try to print a document it says cannot start printer please check your printer configuration

njriebschlaeger 07-07-2019 10:36 AM

better paste bin
 
error log after trying to print a document
https://pastebin.com/AP87NFh6

hazel 07-07-2019 12:46 PM

Do you have the cups-filters package installed? If not, install it. Actually, now that I come to think of it, this package should be reinstalled after a cups upgrade.

ferrari 07-07-2019 01:14 PM

As Hazel mentions it's clear from the filter errors reported in /var/log/cups/error_log that the 'cups-filters' package is not present. Install that package and report back.

hazel 07-08-2019 06:13 AM

Quote:

Originally Posted by ferrari (Post 6012856)
As Hazel mentions it's clear from the filter errors reported in /var/log/cups/error_log that the 'cups-filters' package is not present. Install that package and report back.

It must surely have been there before as this is apparently a new problem. My belief is that this is some kind of version mismatch. The filters are not being found.


All times are GMT -5. The time now is 07:39 PM.