upgrated ubuntu 18.4 to 20.4 printer not working

Asked by Josef Kytka

 after upgrade to ubuntu 20.4 HP DeskJet 3630 All-in-One Printer series stopped printing displaying message "Device communication error"

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Josef Kytka
Solved:
Last query:
Last reply:
Revision history for this message
brian_p (claremont102) said :
#1

Please say whether the device is USB connected or not.

--
Brian.

Revision history for this message
Josef Kytka (kytka) said :
#2

YES, HP DeskJet 3630 is USB connected

Revision history for this message
brian_p (claremont102) said :
#3

Give what you get for

  systemctl list-units "ippusbxd*" | grep service

Revision history for this message
Josef Kytka (kytka) said :
#4

josef@josef-DX4860:~$ systemctl list-units "ippusbxd*" | grep service
  ippusbxd@002:005.service loaded active running Daemon to make IPP-over-USB printers available as network printers (002:005)
josef@josef-DX4860:~$

Revision history for this message
brian_p (claremont102) said :
#5

> ippusbxd@002:005.service loaded active running

Thanks.

Now execute the command

  driverless

The output is a URI. *Substitute* whatever you get in

  lpadmin -p 3630 -v "URI" -E -m everywhere

and test printing with

  lp -d 3630 /etc/nsswitch.conf

Can you print?

Revision history for this message
Josef Kytka (kytka) said :
#6

osef@josef-DX4860:~$ systemctl list-units "ippusbxd*" | grep service
  ippusbxd@002:005.service loaded active running Daemon to make IPP-over-USB printers available as network printers (002:005)
josef@josef-DX4860:~$ driverless
ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/
josef@josef-DX4860:~$ lpadmin -p 3630 -v "URI" -E -m everywhere
lpadmin: Bad printer URI "URI".
josef@josef-DX4860:~$ lp -d 3630 /etc/nsswitch.conf
lp: No such file or directory
josef@josef-DX4860:~$

Revision history for this message
brian_p (claremont102) said :
#7

It is not -v "URI" that you type. "URI" is

 "ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/"

Put this in place of "URI".

Revision history for this message
Josef Kytka (kytka) said :
#8

Thank you, All I send you up to now are copy from terminal, but I don't know how to put in place of URI ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/
in Terminal, I'm not Linux experienced

Revision history for this message
brian_p (claremont102) said :
#9

The command to use is

lpadmin -p 3630 -v "ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/" -E -m everywhere

Then test printing.

Revision history for this message
brian_p (claremont102) said :
#10

Josef, we have not made any progress here. I have given you the complete
command to use to set up printing but there isn't any response. I will cease
to monitor this thread in a few hours.

Revision history for this message
Josef Kytka (kytka) said :
#11

josef@josef-DX4860:~$ lpadmin -p 3630 -v
lpadmin: Expected device URI after "-v" option.
Usage: lpadmin [options] -d destination
        lpadmin [options] -p destination
        lpadmin [options] -p destination -c class
        lpadmin [options] -p destination -r class
        lpadmin [options] -x destination
Options:
-c class                Add the named destination to a class
-d destination          Set the named destination as the server default
-D description          Specify the textual description of the printer
-E                      Encrypt the connection to the server
-E                      Enable and accept jobs on the printer (after -p)
-h server[:port]        Connect to the named server and port
-i ppd-file             Specify a PPD file for the printer
-L location             Specify the textual location of the printer
-m model                Specify a standard model/PPD file for the printer
-m everywhere           Specify the printer is compatible with IPP
Everywhere
-o name-default=value   Specify the default value for the named option
-o Name=Value           Specify the default value for the named PPD option
-o cupsIPPSupplies=false
                         Disable supply level reporting via IPP
-o cupsSNMPSupplies=false
                         Disable supply level reporting via SNMP
-o job-k-limit=N        Specify the kilobyte limit for per-user quotas
-o job-page-limit=N     Specify the page limit for per-user quotas
-o job-quota-period=N   Specify the per-user quota period in seconds
-o printer-error-policy=name
                         Specify the printer error policy
-o printer-is-shared=true
                         Share the printer
-o printer-op-policy=name
                         Specify the printer operation policy
-p destination          Specify/add the named destination
-r class                Remove the named destination from a class
-R name-default         Remove the default value for the named option
-u allow:all            Allow all users to print
-u allow:list           Allow the list of users or groups (@name) to print
-u deny:list            Prevent the list of users or groups (@name) to print
-U username             Specify the username to use for authentication
-v device-uri           Specify the device URI for the printer
-x destination          Remove the named destination
josef@josef-DX4860:~$
"ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/" -E
bash:
ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/: No
such file or directory
josef@josef-DX4860:~$ -m everywhere

On 2020-10-09 3:35 a.m., brian_p wrote:
> Your question #693347 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693347
>
> Status: Needs information => Answered
>
> brian_p proposed the following answer:
> The command to use is
>
> lpadmin -p 3630 -v
> "ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/" -E
> -m everywhere
>
> Then test printing.
>

Revision history for this message
brian_p (claremont102) said :
#12

> lpadmin: Expected device URI after "-v" option.

> lpadmin -p 3630 -v

If this is what you typed or copied, it will not work. It is only part of the command.

There is a device URI after "-v" option in the command I gave. The command
is all on one line. This forum beaks it.

Revision history for this message
Josef Kytka (kytka) said :
#13

josef@josef-DX4860:~$ lpadmin: Expected device URI after "-v" option

Command 'lpadmin:' not found, did you mean:

   command 'lpadmin' from deb cups-client (2.3.1-9ubuntu1.1)

Try: sudo apt install <deb name>

josef@josef-DX4860:~$ lpadmin -p 3630 -v
lpadmin: Expected device URI after "-v" option.
Usage: lpadmin [options] -d destination
        lpadmin [options] -p destination
        lpadmin [options] -p destination -c class
        lpadmin [options] -p destination -r class
        lpadmin [options] -x destination
Options:
-c class                Add the named destination to a class
-d destination          Set the named destination as the server default
-D description          Specify the textual description of the printer
-E                      Encrypt the connection to the server
-E                      Enable and accept jobs on the printer (after -p)
-h server[:port]        Connect to the named server and port
-i ppd-file             Specify a PPD file for the printer
-L location             Specify the textual location of the printer
-m model                Specify a standard model/PPD file for the printer
-m everywhere           Specify the printer is compatible with IPP
Everywhere
-o name-default=value   Specify the default value for the named option
-o Name=Value           Specify the default value for the named PPD option
-o cupsIPPSupplies=false
                         Disable supply level reporting via IPP
-o cupsSNMPSupplies=false
                         Disable supply level reporting via SNMP
-o job-k-limit=N        Specify the kilobyte limit for per-user quotas
-o job-page-limit=N     Specify the page limit for per-user quotas
-o job-quota-period=N   Specify the per-user quota period in seconds
-o printer-error-policy=name
                         Specify the printer error policy
-o printer-is-shared=true
                         Share the printer
-o printer-op-policy=name
                         Specify the printer operation policy
-p destination          Specify/add the named destination
-r class                Remove the named destination from a class
-R name-default         Remove the default value for the named option
-u allow:all            Allow all users to print
-u allow:list           Allow the list of users or groups (@name) to print
-u deny:list            Prevent the list of users or groups (@name) to print
-U username             Specify the username to use for authentication
-v device-uri           Specify the device URI for the printer
-x destination          Remove the named destination
josef@josef-DX4860:~$

Thank you, I hope I'm doing it right way, what you asked me to do?

On 2020-10-09 1:15 p.m., brian_p wrote:
> lpadmin -p 3630 -v

Revision history for this message
brian_p (claremont102) said :
#14

Josef, I cannot help any further with this issue. You are not copying
the command I gave correctly.

Revision history for this message
Josef Kytka (kytka) said :
#15

josef@josef-DX4860:~$ lpadmin -p 3630 -v
lpadmin: Expected device URI after "-v" option.
Usage: lpadmin [options] -d destination
        lpadmin [options] -p destination
        lpadmin [options] -p destination -c class
        lpadmin [options] -p destination -r class
        lpadmin [options] -x destination
Options:
-c class                Add the named destination to a class
-d destination          Set the named destination as the server default
-D description          Specify the textual description of the printer
-E                      Encrypt the connection to the server
-E                      Enable and accept jobs on the printer (after -p)
-h server[:port]        Connect to the named server and port
-i ppd-file             Specify a PPD file for the printer
-L location             Specify the textual location of the printer
-m model                Specify a standard model/PPD file for the printer
-m everywhere           Specify the printer is compatible with IPP
Everywhere
-o name-default=value   Specify the default value for the named option
-o Name=Value           Specify the default value for the named PPD option
-o cupsIPPSupplies=false
                         Disable supply level reporting via IPP
-o cupsSNMPSupplies=false
                         Disable supply level reporting via SNMP
-o job-k-limit=N        Specify the kilobyte limit for per-user quotas
-o job-page-limit=N     Specify the page limit for per-user quotas
-o job-quota-period=N   Specify the per-user quota period in seconds
-o printer-error-policy=name
                         Specify the printer error policy
-o printer-is-shared=true
                         Share the printer
-o printer-op-policy=name
                         Specify the printer operation policy
-p destination          Specify/add the named destination
-r class                Remove the named destination from a class
-R name-default         Remove the default value for the named option
-u allow:all            Allow all users to print
-u allow:list           Allow the list of users or groups (@name) to print
-u deny:list            Prevent the list of users or groups (@name) to print
-U username             Specify the username to use for authentication
-v device-uri           Specify the device URI for the printer
-x destination          Remove the named destination
josef@josef-DX4860:~$
"ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/" -E
bash:
ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/: No
such file or directory
josef@josef-DX4860:~$ -m everywhere
-m: command not found
josef@josef-DX4860:~$ lpadmin -p 3630 -v
lpadmin: Expected device URI after "-v" option.
Usage: lpadmin [options] -d destination
        lpadmin [options] -p destination
        lpadmin [options] -p destination -c class
        lpadmin [options] -p destination -r class
        lpadmin [options] -x destination
Options:
-c class                Add the named destination to a class
-d destination          Set the named destination as the server default
-D description          Specify the textual description of the printer
-E                      Encrypt the connection to the server
-E                      Enable and accept jobs on the printer (after -p)
-h server[:port]        Connect to the named server and port
-i ppd-file             Specify a PPD file for the printer
-L location             Specify the textual location of the printer
-m model                Specify a standard model/PPD file for the printer
-m everywhere           Specify the printer is compatible with IPP
Everywhere
-o name-default=value   Specify the default value for the named option
-o Name=Value           Specify the default value for the named PPD option
-o cupsIPPSupplies=false
                         Disable supply level reporting via IPP
-o cupsSNMPSupplies=false
                         Disable supply level reporting via SNMP
-o job-k-limit=N        Specify the kilobyte limit for per-user quotas
-o job-page-limit=N     Specify the page limit for per-user quotas
-o job-quota-period=N   Specify the per-user quota period in seconds
-o printer-error-policy=name
                         Specify the printer error policy
-o printer-is-shared=true
                         Share the printer
-o printer-op-policy=name
                         Specify the printer operation policy
-p destination          Specify/add the named destination
-r class                Remove the named destination from a class
-R name-default         Remove the default value for the named option
-u allow:all            Allow all users to print
-u allow:list           Allow the list of users or groups (@name) to print
-u deny:list            Prevent the list of users or groups (@name) to print
-U username             Specify the username to use for authentication
-v device-uri           Specify the device URI for the printer
-x destination          Remove the named destination
josef@josef-DX4860:~$
"ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/" -E
bash:
ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/: No
such file or directory
josef@josef-DX4860:~$ -m everywhere

On 2020-10-09 1:15 p.m., brian_p wrote:
> Your question #693347 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693347
>
> brian_p posted a new comment:
>> lpadmin: Expected device URI after "-v" option.
>> lpadmin -p 3630 -v
> If this is what you typed or copied, it will not work. It is only part
> of the command.
>
> There is a device URI after "-v" option in the command I gave. The command
> is all on one line. This forum beaks it.
>

Revision history for this message
Josef Kytka (kytka) said :
#16

Sorry, Like to ask you, do you think reinstalling Ubuntu 20.04 and
installing Ubuntu 18.04 will help?

On 2020-10-09 1:50 p.m., brian_p wrote:
> Your question #693347 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693347
>
> brian_p posted a new comment:
> Josef, I cannot help any further with this issue. You are not copying
> the command I gave correctly.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

Please visit the web page https://answers.launchpad.net/hplip/+question/693347

On that web page copy the following lines at once:

lpadmin -p 3630 -v "ipp://HP%20DeskJet%203630%20series%20%5BB297A1%5D._ipp._tcp.local/" -E -m everywhere

Then open a terminal window and paste the contents just copied.

Revision history for this message
Josef Kytka (kytka) said :
#18

Since I copy and pasted command in terminal : Printer is WORKING !! You made my day! :-)) Thank you very much for your help, :-)

Revision history for this message
Josef Kytka (kytka) said :
#19

Printer is WORKING !! You made my day! :-)) Thank you very much,

Revision history for this message
brian_p (claremont102) said :
#20

@Manfred Hamp Thank you for your intervention.

@Josef Kytka Do you want to set up scanning?

Cheers,

Brian.

Revision history for this message
brian_p (claremont102) said :
#21

Apologies:

@Manfred Hamp should have been Manfred Hampl.

A copy and paste mistake :).

Cheers,

Brian.

Revision history for this message
Josef Kytka (kytka) said :
#22

That would make me very happy, :-)

On 2020-10-09 3:50 p.m., brian_p wrote:
> Your question #693347 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693347
>
> brian_p posted a new comment:
> @Manfred Hamp Thank you for your intervention.
>
> @Josef Kytka Do you want to set up scanning?
>
> Cheers,
>
> Brian.
>

Revision history for this message
brian_p (claremont102) said :
#23

Download and install sane-airscan from

  https://github.com/alexpevzner/sane-airscan

A direct link to the file you need is

  https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/

I would appreciate seeing the outputs of

  scanimage -L

and

  airscan-discover

Revision history for this message
Josef Kytka (kytka) said :
#24

Your question #693347 on HPLIP changed:

Hi, copy fom terminal

josef@josef-DX4860:~$  scanimage -L
Chedevice `hpaio:/usb/DeskJet_3630_series?serial=CN7BT5H325067P' is a
Hewlett-Packard DeskJet_3630_series all-in-one
device `airscan:e1:DeskJet 3630 series [CN7BT5H325067P]' is a eSCL
DeskJet 3630 series [CN7BT5H325067P] eSCL network scanner
device `airscan:e0:HP DeskJet 3630 series [B297A1]' is a eSCL HP DeskJet
3630 series [B297A1] eSCL network scanner
josef@josef-DX4860:~$  airscan-discover
[devices]
   DeskJet 3630 series [CN7BT5H325067P] = http://127.0.0.1:60000/eSCL/, eSCL
   HP DeskJet 3630 series [B297A1] = http://192.168.0.235:8080/eSCL/, eSCL
   HP DeskJet 3630 series [B297A1] = https://192.168.0.235:443/eSCL/, eSCL
   HP DeskJet 3630 series [B297A1] = http://192.168.0.235:53048, WSD
   HP DeskJet 3630 series [B297A1] =
http://[FE80::AEE2:D3FF:FEB2:97A1%252]:53048, WSD
josef@josef-DX4860:~$

> https://answers.launchpad.net/hplip/+question/693347
>
> brian_p posted a new comment:
> Download and install sane-airscan from
>
> https://github.com/alexpevzner/sane-airscan
>
> A direct link to the file you need is
>
> https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/
>
> I would appreciate seeing the outputs of
>
>
>
> and
>
> airscan-discover
>

Revision history for this message
brian_p (claremont102) said :
#25

Thank you, Josef. Are you able to scan with

simple-scan "airscan:e0:HP DeskJet 3630 series [B297A1]"

and

simple-scan "airscan:e1:DeskJet 3630 series [CN7BT5H325067P]"

Revision history for this message
Josef Kytka (kytka) said :
#26

DeskJet 3630 series [B297A1] Failed to scan

DeskJet 3630 series [CN7BT5H325067P]" not there

On 2020-10-10 10:10 a.m., brian_p wrote:
> Your question #693347 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693347
>
> brian_p posted a new comment:
> Thank you, Josef. Are you able to scan with
>
> simple-scan "airscan:e0:HP DeskJet 3630 series [B297A1]"
>
> and
>
> simple-scan "airscan:e1:DeskJet 3630 series [CN7BT5H325067P]"
>

Revision history for this message
Josef Kytka (kytka) said :
#27

I will try it later again, my PC WIFI connection is lately very poor, (wired connection is perfect).

Revision history for this message
Josef Kytka (kytka) said :
#28

josef@josef-DX4860:~$ simple-scan "airscan:e0:HP DeskJet 3630 series [B297A1]"
Gtk-Message: 21:52:33.746: Failed to load module "appmenu-gtk-module"
josef@josef-DX4860:~$ simple-scan "airscan:e1:DeskJet 3630 series [CN7BT5H325067P]"
Gtk-Message: 21:53:10.605: Failed to load module "appmenu-gtk-module"
josef@josef-DX4860:~$

Lost wi/fi connection all day. Using wired connection, only. Using scan button on printer - scanner is working. Tried print from Libre Office writerPrinter is printing .
Thank you for your help,