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 - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-12-2019, 12:02 PM   #1
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Rep: Reputation: Disabled
USB printers don't print after upgrade


I have two USB printers connected to my desktop: one Brother HL-L2340 and one HP Officejet 6100. Both were working correctly under Linux Mint 17. I installed Linux Mint 18 KDE (last KDE) on my laptop. Connecting Brother HL-L2340 to the laptop, it works correctly (after installing Brother driver). Now I've installed Linux Mint 18 KDE on the desktop machine, too. I've kept the original /home directory which was on a separate partition. I've installed Brother driver. Now, neither printers work. Both lsusb and lpinfo -v report correct USB printer connection. When sending a printer job or "print test page", data shortly appears in the printer queue but quickly disappears. It seems, cups works correctly, sends data towards the printer but data never arrives to the printers. I have the impression the connection between cups and the USB interface is somehow broken. Restarting the machine or restarting cups does not help. Any idea?

Actually the only difference between the desktop and the laptop is, that the laptop did not contain an old (Mint 17) /home directory, Linux Mint 18 has been installed from scratch. But IMO this should not make any difference as the printer interface and its configuration files are stored in the system directories, rather than on the /home directory. Or am I mistaken?

Problem posted on Linux Mint Forum but got no answer.

Thanks,

John
 
Old 11-12-2019, 12:11 PM   #2
PECONET009
Member
 
Registered: Sep 2006
Location: Finland.
Distribution: kali linux.
Posts: 156

Rep: Reputation: 21
Have you got gutenprint installed on both your computers?

Have you got gutenprint installed on both your computers?

Gutenprint here:
https://tutorialforlinux.com/2017/03...-lts-32-64bit/


Quote:
Originally Posted by John_Brass View Post
I have two USB printers connected to my desktop: one Brother HL-L2340 and one HP Officejet 6100. Both were working correctly under Linux Mint 17. I installed Linux Mint 18 KDE (last KDE) on my laptop. Connecting Brother HL-L2340 to the laptop, it works correctly (after installing Brother driver). Now I've installed Linux Mint 18 KDE on the desktop machine, too. I've kept the original /home directory which was on a separate partition. I've installed Brother driver. Now, neither printers work. Both lsusb and lpinfo -v report correct USB printer connection. When sending a printer job or "print test page", data shortly appears in the printer queue but quickly disappears. It seems, cups works correctly, sends data towards the printer but data never arrives to the printers. I have the impression the connection between cups and the USB interface is somehow broken. Restarting the machine or restarting cups does not help. Any idea?

Actually the only difference between the desktop and the laptop is, that the laptop did not contain an old (Mint 17) /home directory, Linux Mint 18 has been installed from scratch. But IMO this should not make any difference as the printer interface and its configuration files are stored in the system directories, rather than on the /home directory. Or am I mistaken?

Problem posted on Linux Mint Forum but got no answer.

Thanks,

John
 
Old 11-12-2019, 01:28 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
It is likely to be a filter-related issue, and it could be that gutenprint is required as has already been suggested.

In general, to know more about why a print job is failing it is often helpful to put CUPS into debug mode first for more verbose logging. That can be done with

Code:
sudo cupsctl --debug-logging
Any stale/stuck printer jobs can be removed with
Code:
sudo cancel -a
Then send a print job, and examine /var/log/cups/error_log for errors, or filter-related output. It can be a lengthy file to examine with an editor or in a terminal, so use the time stamp information to see which section of output relates to a particular print job you might have sent. You could also filter the output for 'filter' and 'error' like this...

Code:
sudo cat /var/log/cups/error_log |egrep -iA4 "filter|error"
That can help with figuring out what is broken, missing etc. Even if you don't understand the output, post it here (enclosed within code tags) so that others who can help are able to review it.
 
Old 11-12-2019, 03:45 PM   #4
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by PECONET009 View Post
Have you got gutenprint installed on both your computers?

Gutenprint here:
https://tutorialforlinux.com/2017/03...-lts-32-64bit/
I think no. For the Brother I installed the Linux driver from Brother website. The HP printer was on the Mint printer installation List. I did the same for the laptop and the desktop.
 
Old 11-12-2019, 03:59 PM   #5
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
It is likely to be a filter-related issue, and it could be that gutenprint is required as has already been suggested.
...
Code:
sudo cat /var/log/cups/error_log |egrep -iA4 "filter|error"
That can help with figuring out what is broken, missing etc. Even if you don't understand the output, post it here (enclosed within code tags) so that others who can help are able to review it.
Thanks. Here is the beginning of the output:

Code:
sudo cat /var/log/cups/error_log |egrep -iA4 "filter|error"
D [12/Nov/2019:22:47:16 +0100] PID 2971 (/usr/lib/cups/notifier/dbus) exited with no errors.
D [12/Nov/2019:22:47:16 +0100] PID 3251 (/usr/lib/cups/notifier/dbus) was terminated normally with signal 15.
D [12/Nov/2019:22:47:16 +0100] [Notifier] Connected to D-BUS
D [12/Nov/2019:22:47:16 +0100] [Notifier] ServerRestarted
D [12/Nov/2019:22:47:16 +0100] [Notifier] Connected to D-BUS
--
D [12/Nov/2019:22:47:16 +0100] [Client 25] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x557bcb5e3340(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/Nov/2019:22:47:16 +0100] [Client 25] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/Nov/2019:22:47:16 +0100] [Client 25] bytes=0, http_state=0, data_remaining=75                                                 
D [12/Nov/2019:22:47:16 +0100] [Client 25] Flushing write buffer.                                                                   
D [12/Nov/2019:22:47:16 +0100] [Client 25] New state is HTTP_STATE_WAITING                                                          
--                                                                                                                                  
D [12/Nov/2019:22:47:16 +0100] [Client 25] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)                                    
D [12/Nov/2019:22:47:16 +0100] [Client 25] Closing connection.                                                                      
D [12/Nov/2019:22:47:16 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"                                         
D [12/Nov/2019:22:47:16 +0100] [Client 26] Accepted from localhost (Domain)
D [12/Nov/2019:22:47:16 +0100] [Client 26] Waiting for request.
--
D [12/Nov/2019:22:47:16 +0100] [Client 26] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x557bcb5e3340(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/Nov/2019:22:47:16 +0100] [Client 26] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/Nov/2019:22:47:16 +0100] [Client 26] bytes=0, http_state=0, data_remaining=75
D [12/Nov/2019:22:47:16 +0100] [Client 26] Flushing write buffer.
D [12/Nov/2019:22:47:16 +0100] [Client 26] New state is HTTP_STATE_WAITING
--
.....
After this it repeats several times.

I guess the problem is the "HTTP_STATE_WAITING Closing for error 32 (Broken pipe)"

However, I have no idea how to fix it.

John
 
Old 11-12-2019, 05:35 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
No, unfortunately none of that snippet is relevant here. Remove the existing error_log with
Code:
sudo rm -f /var/log/cups/error_log
It will be recreated when CUPS is restarted and a print job started...

Restart CUPS with (assuming Linux Mint)
Code:
sudo systemctl restart cups
Send another print job, and see if something more definitive captured.


This command can be used to get the current filter configuration for all CUPS-configured printers (sometimes helpful to make sure configured as expected)....
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*
 
Old 11-12-2019, 05:40 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
BTW, you can check if the gutenprint package is installed with

Code:
sudo dpkg -s gutenprint
or
Code:
sudo apt list --installed | grep gutenprint
*Some print drivers have a dependency on gutenprint as part of the filter chain.

Last edited by ferrari; 11-12-2019 at 05:42 PM.
 
Old 11-13-2019, 12:37 AM   #8
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
I am a bit confused. The first command says:

Code:
sudo dpkg -s gutenprint
dpkg-query: package 'gutenprint' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
The second one:

Code:
sudo apt list --installed | grep gutenprint
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libgutenprint2/xenial,now 5.2.11-1 amd64 [installed]
printer-driver-gutenprint/xenial,now 5.2.11-1 amd64 [installed]
Now is it installed or not? Or only its libraries are installed? (the Mint-KDE printer installation listed many printers - but not the Brother HL-L2340) Or installed but not activated?

Thanks,

John

Quote:
Originally Posted by ferrari View Post
BTW, you can check if the gutenprint package is installed with

Code:
sudo dpkg -s gutenprint
or
Code:
sudo apt list --installed | grep gutenprint
*Some print drivers have a dependency on gutenprint as part of the filter chain.
 
Old 11-13-2019, 12:54 AM   #9
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
No, unfortunately none of that snippet is relevant here. Remove the existing error_log with
Code:
sudo rm -f /var/log/cups/error_log
It will be recreated when CUPS is restarted and a print job started...

Restart CUPS with (assuming Linux Mint)
Code:
sudo systemctl restart cups
Send another print job, and see if something more definitive captured.


This command can be used to get the current filter configuration for all CUPS-configured printers (sometimes helpful to make sure configured as expected)....
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*

Now, I did it. The code is long, I can't post here all, LQ forum engine does not allow.

Code:
$ sudo cupsctl --debug-logging
$ sudo cancel -a
$ sudo cat /var/log/cups/error_log |egrep -iA4 "filter|error"
I [13/Nov/2019:07:38:52 +0100] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 49 types, 83 filters...
D [13/Nov/2019:07:38:52 +0100] Loading printer Brother_HL-L2340D_series...
D [13/Nov/2019:07:38:52 +0100] load_ppd: Loading /var/cache/cups/Brother_HL-L2340D_series.data...
D [13/Nov/2019:07:38:52 +0100] cupsdRegisterPrinter(p=0x560dd3b9f460(Brother_HL-L2340D_series))
D [13/Nov/2019:07:38:52 +0100] Loading printer HP_Officejet_6100...
--
D [13/Nov/2019:07:38:52 +0100] [Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=107, response=0x560dd3c10bc0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:38:52 +0100] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:38:52 +0100] [Client 1] bytes=0, http_state=0, data_remaining=107
D [13/Nov/2019:07:38:52 +0100] [Client 1] Flushing write buffer.
D [13/Nov/2019:07:38:52 +0100] [Client 1] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:38:52 +0100] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2260, response=0x560dd3c12840(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:38:52 +0100] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:38:52 +0100] [Client 2] bytes=0, http_state=0, data_remaining=2260
D [13/Nov/2019:07:38:52 +0100] [Client 2] Flushing write buffer.
D [13/Nov/2019:07:38:52 +0100] [Client 2] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:38:52 +0100] [Client 2] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:38:52 +0100] [Client 2] Closing connection.
D [13/Nov/2019:07:38:52 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:38:52 +0100] [Client 3] Accepted from localhost (Domain)
D [13/Nov/2019:07:38:52 +0100] [Client 3] Waiting for request.
--
D [13/Nov/2019:07:38:52 +0100] [Client 3] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=10077, response=0x560dd3c109a0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:38:52 +0100] [Client 3] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:38:52 +0100] [Client 3] bytes=0, http_state=0, data_remaining=10077
D [13/Nov/2019:07:38:52 +0100] [Client 3] Flushing write buffer.
D [13/Nov/2019:07:38:52 +0100] [Client 3] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:38:52 +0100] [Client 3] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:38:52 +0100] [Client 3] Closing connection.
D [13/Nov/2019:07:38:52 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:38:52 +0100] [Client 4] Accepted from localhost (Domain)
D [13/Nov/2019:07:38:52 +0100] [Client 4] Waiting for request.
--
D [13/Nov/2019:07:38:52 +0100] [Client 4] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=10077, response=0x560dd3c109e0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:38:52 +0100] [Client 4] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:38:52 +0100] [Client 4] bytes=0, http_state=0, data_remaining=10077
D [13/Nov/2019:07:38:52 +0100] [Client 4] Flushing write buffer.
D [13/Nov/2019:07:38:52 +0100] [Client 4] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:38:52 +0100] [Client 5] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x560dd3c16ca0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:38:52 +0100] [Client 5] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:38:52 +0100] [Client 5] bytes=0, http_state=0, data_remaining=75
D [13/Nov/2019:07:38:52 +0100] [Client 5] Flushing write buffer.
D [13/Nov/2019:07:38:52 +0100] [Client 5] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:38:52 +0100] [Client 5] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:38:52 +0100] [Client 5] Closing connection.
D [13/Nov/2019:07:38:52 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:38:52 +0100] [Client 6] Accepted from localhost (Domain)
D [13/Nov/2019:07:38:52 +0100] [Client 6] Waiting for request.
--
D [13/Nov/2019:07:38:52 +0100] [Client 6] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x560dd3c16ca0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:38:52 +0100] [Client 6] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:38:52 +0100] [Client 6] bytes=0, http_state=0, data_remaining=75
D [13/Nov/2019:07:38:52 +0100] [Client 6] Flushing write buffer.
D [13/Nov/2019:07:38:52 +0100] [Client 6] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:38:52 +0100] [Client 4] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:38:52 +0100] [Client 4] Closing connection.
D [13/Nov/2019:07:38:52 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:38:52 +0100] [Client 7] Accepted from localhost (Domain)
D [13/Nov/2019:07:38:52 +0100] [Client 7] Waiting for request.
--
D [13/Nov/2019:07:38:52 +0100] [Client 7] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=107, response=0x560dd3c169e0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:38:52 +0100] [Client 7] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:38:52 +0100] [Client 7] bytes=0, http_state=0, data_remaining=107
D [13/Nov/2019:07:38:52 +0100] [Client 7] Flushing write buffer.
D [13/Nov/2019:07:38:52 +0100] [Client 7] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:40:24 +0100] [Client 8] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 8] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [13/Nov/2019:07:40:24 +0100] [Client 9] Accepted from localhost (Domain)
D [13/Nov/2019:07:40:24 +0100] [Client 9] Waiting for request.
--
D [13/Nov/2019:07:40:24 +0100] [Client 9] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 9] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:40:24 +0100] [Client 11] Accepted from localhost (Domain)
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for request.
D [13/Nov/2019:07:40:24 +0100] [Client 10] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 10] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:40:24 +0100] [Client 11] POST / HTTP/1.1
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
--
D [13/Nov/2019:07:40:24 +0100] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [13/Nov/2019:07:40:24 +0100] [CGI] envp[10] = "SERVER_ADMIN=root@Bandi"
D [13/Nov/2019:07:40:24 +0100] [CGI] envp[11] = "SOFTWARE=CUPS/2.1.3"
D [13/Nov/2019:07:40:24 +0100] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [13/Nov/2019:07:40:24 +0100] [CGI] envp[13] = "USER=root"
--
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2147483647, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] Script header: Content-Type: application/ipp
D [13/Nov/2019:07:40:24 +0100] [Client 11] Script header: 
D [13/Nov/2019:07:40:24 +0100] [Client 11] Sending status 200 for CGI.
--
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3162 (ipps) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [Client 11] CGI data ready to be sent.
D [13/Nov/2019:07:40:24 +0100] [CGI] Flushed attributes...
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] Found device \"ipp14\"...
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] CGI data ready to be sent.
D [13/Nov/2019:07:40:24 +0100] [CGI] Flushed attributes...
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] Found device \"ipp\"...
--
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3169 (ipp) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3164 (ipp14) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3161 (serial) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [CGI] Multi-Call Dye-sublimation CUPS Backend version 0.63G
D [13/Nov/2019:07:40:24 +0100] [CGI] Copyright 2007-2015 Solomon Peachy
D [13/Nov/2019:07:40:24 +0100] [CGI] This free software comes with ABSOLUTELY NO WARRANTY! 
D [13/Nov/2019:07:40:24 +0100] [CGI] Licensed under the GNU GPL.  Run with \'-G\' for more details.
--
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3166 (mdns) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [CGI] Loaded 131 quirks.
D [13/Nov/2019:07:40:24 +0100] [CGI] list_devices
D [13/Nov/2019:07:40:24 +0100] [Client 11] CGI data ready to be sent.
D [13/Nov/2019:07:40:24 +0100] [CGI] Flushed attributes...
--
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3167 (hp) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3160 (implicitclass) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [CGI] Environment variables:
D [13/Nov/2019:07:40:24 +0100] [CGI] DYESUB_DEBUG EXTRA_PID EXTRA_VID EXTRA_TYPE BACKEND SERIAL
D [13/Nov/2019:07:40:24 +0100] [CGI] CUPS Usage:
D [13/Nov/2019:07:40:24 +0100] [CGI] DEVICE_URI=someuri gutenprint52+usb job user title num-copies options [ filename ]
--
D [13/Nov/2019:07:40:24 +0100] [ -e ]           # Query error log
D [13/Nov/2019:07:40:24 +0100] [ -f ]           # Use fast return mode
D [13/Nov/2019:07:40:24 +0100] [ -F ]           # Flash Printer LED
D [13/Nov/2019:07:40:24 +0100] [ -i ]           # Query printer info
D [13/Nov/2019:07:40:24 +0100] [ -l filename ]  # Get current tone curve
--
D [13/Nov/2019:07:40:24 +0100] [ -e ]           # Query error log
D [13/Nov/2019:07:40:24 +0100] [ -F ]           # Flash Printer LED
D [13/Nov/2019:07:40:24 +0100] [ -i ]           # Query printer info
D [13/Nov/2019:07:40:24 +0100] [ -k num ]       # Set sleep time (5-240 minutes)
D [13/Nov/2019:07:40:24 +0100] [ -l filename ]  # Get current tone curve
--
D [13/Nov/2019:07:40:24 +0100] [ -e ]           # Query error log
D [13/Nov/2019:07:40:24 +0100] [ -F ]           # Flash Printer LED
D [13/Nov/2019:07:40:24 +0100] [ -i ]           # Query printer info
D [13/Nov/2019:07:40:24 +0100] [ -k num ]       # Set sleep time (5-240 minutes)
D [13/Nov/2019:07:40:24 +0100] [ -l filename ]  # Get current tone curve
--
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
E [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3165 (gutenprint52+usb) stopped with status 1!
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3163 (usb) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [CGI] \033[31;01merror: Failed to create /var/spool/cups/tmp/.hplip\033[0m
D [13/Nov/2019:07:40:24 +0100] [Client 11] CGI data ready to be sent.
D [13/Nov/2019:07:40:24 +0100] [CGI] Flushed attributes...
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] Found device \"hpfax\"...
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3168 (hpfax) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [Client 11] CGI data ready to be sent.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] CGI data ready to be sent.
D [13/Nov/2019:07:40:24 +0100] PID 3159 (/usr/lib/cups/daemon/cups-deviced) exited with no errors.
D [13/Nov/2019:07:40:24 +0100] [Client 11] con->http=0x560dd3c22060
D [13/Nov/2019:07:40:24 +0100] [Client 11] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_CHUNKED, data_remaining=0, response=(nil)(), pipe_pid=3159, file=21
D [13/Nov/2019:07:40:24 +0100] [Client 11] Waiting for CGI data.
D [13/Nov/2019:07:40:24 +0100] [Client 11] Sending 0-length chunk.
D [13/Nov/2019:07:40:24 +0100] [Client 11] Flushing write buffer.
D [13/Nov/2019:07:40:24 +0100] [Client 11] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:40:24 +0100] [Client 11] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 11] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:40:24 +0100] [Client 12] Accepted from localhost (Domain)
D [13/Nov/2019:07:40:24 +0100] [Client 12] Waiting for request.
--
D [13/Nov/2019:07:40:24 +0100] [Client 12] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=491, response=0x560dd3c16bd0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:40:24 +0100] [Client 12] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:40:24 +0100] [Client 12] bytes=0, http_state=0, data_remaining=491
D [13/Nov/2019:07:40:24 +0100] [Client 12] Flushing write buffer.
D [13/Nov/2019:07:40:24 +0100] [Client 12] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:40:24 +0100] [Client 12] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 12] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:40:24 +0100] [Client 13] Accepted from localhost (Domain)
D [13/Nov/2019:07:40:24 +0100] [Client 13] Waiting for request.
--
D [13/Nov/2019:07:40:24 +0100] [Client 13] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 13] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [13/Nov/2019:07:40:24 +0100] [Client 14] Accepted from localhost (Domain)
D [13/Nov/2019:07:40:24 +0100] [Client 14] Waiting for request.
--
D [13/Nov/2019:07:40:24 +0100] [Client 14] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 14] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:40:24 +0100] [Client 16] Accepted from localhost (Domain)
D [13/Nov/2019:07:40:24 +0100] [Client 16] Waiting for request.
D [13/Nov/2019:07:40:24 +0100] [Client 15] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 15] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:40:24 +0100] [Client 16] POST /admin/ HTTP/1.1
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
--
D [13/Nov/2019:07:40:24 +0100] [Client 16] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x560dd3c16b20(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:40:24 +0100] [Client 16] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:40:24 +0100] [Client 16] bytes=0, http_state=0, data_remaining=75
D [13/Nov/2019:07:40:24 +0100] [Client 16] Flushing write buffer.
D [13/Nov/2019:07:40:24 +0100] [Client 16] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:40:24 +0100] [Client 16] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:40:24 +0100] [Client 16] Closing connection.
D [13/Nov/2019:07:40:24 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:40:24 +0100] [Notifier] state=3
D [13/Nov/2019:07:40:24 +0100] [Notifier] Connected to D-BUS
--
D [13/Nov/2019:07:41:47 +0100] [Client 18] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:41:47 +0100] [Client 18] Closing connection.
D [13/Nov/2019:07:41:47 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:41:47 +0100] [Client 20] Accepted from localhost (Domain)
D [13/Nov/2019:07:41:47 +0100] [Client 20] Waiting for request.
D [13/Nov/2019:07:41:47 +0100] [Client 19] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:41:47 +0100] [Client 19] Closing connection.
D [13/Nov/2019:07:41:47 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/Nov/2019:07:41:47 +0100] [Client 20] PUT /admin/conf/cupsd.conf HTTP/1.1
D [13/Nov/2019:07:41:47 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
--
D [13/Nov/2019:07:41:47 +0100] PID 3113 (/usr/lib/cups/notifier/dbus) exited with no errors.
D [13/Nov/2019:07:41:47 +0100] PID 3179 (/usr/lib/cups/notifier/dbus) was terminated normally with signal 15.
D [13/Nov/2019:07:41:47 +0100] [Notifier] Connected to D-BUS
D [13/Nov/2019:07:41:47 +0100] [Notifier] ServerRestarted
D [13/Nov/2019:07:41:47 +0100] [Notifier] Connected to D-BUS
--
D [13/Nov/2019:07:41:47 +0100] [Client 21] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x560dd3c2bad0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:41:47 +0100] [Client 21] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:41:47 +0100] [Client 21] bytes=0, http_state=0, data_remaining=75
D [13/Nov/2019:07:41:47 +0100] [Client 21] Flushing write buffer.
D [13/Nov/2019:07:41:47 +0100] [Client 21] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:41:47 +0100] [Client 21] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:41:47 +0100] [Client 21] Closing connection.
D [13/Nov/2019:07:41:47 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:41:47 +0100] [Client 22] Accepted from localhost (Domain)
D [13/Nov/2019:07:41:47 +0100] [Client 22] Waiting for request.
--
D [13/Nov/2019:07:41:47 +0100] [Client 22] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x560dd3c2bad0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:41:47 +0100] [Client 22] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:41:47 +0100] [Client 22] bytes=0, http_state=0, data_remaining=75
D [13/Nov/2019:07:41:47 +0100] [Client 22] Flushing write buffer.
D [13/Nov/2019:07:41:47 +0100] [Client 22] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:41:56 +0100] [Client 23] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:41:56 +0100] [Client 23] Closing connection.
D [13/Nov/2019:07:41:56 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/Nov/2019:07:41:56 +0100] [Client 24] Accepted from localhost (Domain)
D [13/Nov/2019:07:41:56 +0100] [Client 24] Waiting for request.
--
D [13/Nov/2019:07:41:56 +0100] [Client 24] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:41:56 +0100] [Client 24] Closing connection.
D [13/Nov/2019:07:41:56 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:41:56 +0100] [Client 26] Accepted from localhost (Domain)
D [13/Nov/2019:07:41:56 +0100] [Client 26] Waiting for request.
D [13/Nov/2019:07:41:56 +0100] [Client 25] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:41:56 +0100] [Client 25] Closing connection.
D [13/Nov/2019:07:41:56 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/Nov/2019:07:41:56 +0100] [Client 26] POST /admin/ HTTP/1.1
D [13/Nov/2019:07:41:56 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
--
D [13/Nov/2019:07:41:56 +0100] [Client 26] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x560dd3c2fbc0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:41:56 +0100] [Client 26] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/Nov/2019:07:41:56 +0100] [Client 26] bytes=0, http_state=0, data_remaining=75
D [13/Nov/2019:07:41:56 +0100] [Client 26] Flushing write buffer.
D [13/Nov/2019:07:41:56 +0100] [Client 26] New state is HTTP_STATE_WAITING
--
D [13/Nov/2019:07:41:56 +0100] [Client 26] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/Nov/2019:07:41:56 +0100] [Client 26] Closing connection.
D [13/Nov/2019:07:41:56 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
I [13/Nov/2019:07:41:57 +0100] Expiring subscriptions...
I [13/Nov/2019:07:42:18 +0100] Generating printcap /var/run/cups/printcap...
--
D [13/Nov/2019:07:42:20 +0100] [Client 27] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=801, response=0x560dd3c2fbf0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/Nov/2019:07:42:20 +0100] [Client 27] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
........
Thanks,

John
 
Old 11-13-2019, 02:59 AM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Ok, I note the following was logged...
Code:
E [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3165 (gutenprint52+usb) stopped with status 1!
Is your system fully updated?
 
Old 11-13-2019, 03:17 AM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
I've seen a couple of threads where users experiencing the same error found that removing 'printer-driver-gutenprint' did the trick. Worth a shot and easy enough to reinstall it if necessary. (Likely not needed with your printer driver anyway.)
Code:
sudo apt clean
sudo apt remove --purge printer-driver-gutenprint
sudo apt autoremove --purge
Try that, and report back.


https://forums.linuxmint.com/viewtopic.php?t=301771
https://bbs.archlinux.org/viewtopic.php?id=208475
 
Old 11-13-2019, 07:08 AM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
make sure the user is in the "lp" and/or "lpadmin" groups. And be sure to reconfigure the printer with cups.

localhost:631

Some software / printers need special things. Like pnm2ppa or cups-bsd for older lp/lpr tools.

$ sudo apt-get install printer-driver-pnm2ppa cups-bsd

The pnm2ppa is a dependency for some hp inkjets like my 722C. Without it, it pretends to print, but doesn't print. With everything software wise saying success with no errors. The cups admin page shows pnm2ppa for that printer, otherwise package management for hplip does not grab it as a dependency. I also need to manually grab the .ppd for that printer. Which in my case is located at:

https://www.openprinting.org/printer/HP/HP-DeskJet_722C

For networked printers, cups uses email to manage jobs. So cupsd, cups-browsed, and exim4 need to be running. On my debian installs anyway.
 
Old 11-13-2019, 03:26 PM   #13
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
[QUOTE=ferrari;6057105]I've seen a couple of threads where users experiencing the same error found that removing 'printer-driver-gutenprint' did the trick. Worth a shot and easy enough to reinstall it if necessary. (Likely not needed with your printer driver anyway.)
Code:
sudo apt clean
sudo apt remove --purge printer-driver-gutenprint
sudo apt autoremove --purge
Try that, and report back.

I did this, nothing changes. Job in the printer queue for a short time, no printing. After reboot the same.

Thanks,

John
 
Old 11-13-2019, 03:30 PM   #14
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Ok, I note the following was logged...
Code:
E [13/Nov/2019:07:40:24 +0100] [cups-deviced] PID 3165 (gutenprint52+usb) stopped with status 1!
Is your system fully updated?
The system itself, yes. As I mentioned, when upgrading to Mint 18.3 I kept the /home directory, with all its content, the hidden files, too. Thus actually the old private config files might control the replaced programs.
 
Old 11-13-2019, 03:43 PM   #15
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
make sure the user is in the "lp" and/or "lpadmin" groups. And be sure to reconfigure the printer with cups.
The "sudo cat /etc/group" shows that I am in the lpadmin group.
 
  


Reply

Tags
cups, mint, printer, upgrade



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
instant print from pop3 mail server ie emulate ipad print to hp printers PDock Linux - Software 2 12-08-2010 03:45 PM
[SOLVED] Cups and Samba to print one print job to 2 printers - tutorial added bourne Linux - General 7 09-18-2009 10:10 AM
Printers don't work after CUPSYS upgrade davcefai Debian 6 08-22-2006 01:31 PM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
recommendation on photo printers and general purpose printers raminolta Linux - Hardware 3 01-21-2004 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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