I broke it and can't get it working

Asked by Aaron Mehl on 2020-10-06

I have linux mint, I just bought an hp 2732 Deskjet. I googled and without reading the instructions downloaded the file on your site. Only once the installation script started did I see that the driver already came with Linux Mint. But I couldn't get the new hplp to install because of decencies that won't install.
I never checked if the printer worked with the old drivers and now I can't use the new hplip.
Is there a way to revert to the driver that came with Linux Mint?
or a way to fulfill the missing dependencies.
If needed I can send the terminal output.
Thanks,
Aaron

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
brian_p
Solved:
2020-10-08
Last query:
2020-10-08
Last reply:
2020-10-08

This question was reopened

brian_p (claremont102) said : #1

You do seem to have got yourself in a mess, Aaron. :)

Say what version of Mint you have and whether you are on USB
or not.

--
Brian.

Aaron Mehl (tatyman) said : #2

Linux Mint Ulyana 20.
I saw on synaptic that the old version of cups and the driver existed and I tried installing it there but didn't get things working.
I have an HP deskjet 2732, which is on my wireless network.
I have orded a usb cable for the printer just in case I need it.
Thanks,
Aaron

Sent from Mailspring (https://getmailspring.com/), the best free email app for work
On Oct 8 2020, at 9:55 am, brian_p <email address hidden> wrote:
> Your question #693322 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693322
>
> Status: Open => Needs information
> brian_p requested more information:
> You do seem to have got yourself in a mess, Aaron. :)
>
> Say what version of Mint you have and whether you are on USB
> or not.
>
> --
> Brian.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/693322
>
> You received this question notification because you asked the question.

brian_p (claremont102) said : #3

Being on wireless is good. Please give what you get for

  avahi-browse -rt _ipp._tcp
  avahi-browse -rt _uscan._tcp
  driverless

--
Brian.

Aaron Mehl (tatyman) said : #4

aron@aaron-NUC7PJYH:~$ avahi-browse -rt _ipp._tcp
+ eno1 IPv6 HP DeskJet 2700 series [2A0B73] Internet Printer local
+ eno1 IPv4 HP DeskJet 2700 series [2A0B73] Internet Printer local
= eno1 IPv6 HP DeskJet 2700 series [2A0B73] Internet Printer local
hostname = [HP842AFD2A0B73.local]
address = [192.168.1.78]
port = [631]
txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=7fc2e169-d32b-5fb5-d0a5-4444003173c3" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP842AFD2A0B73.local./#hId-pgAirPrint" "mac=84:2a:fd:2a:0b:73" "priority=20" "usb_MDL=DeskJet 2700 series" "usb_MFG=HP" "product=(HP DeskJet 2700 series)" "ty=HP DeskJet 2700 series" "mopria-certified=2.0" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
= eno1 IPv4 HP DeskJet 2700 series [2A0B73] Internet Printer local
hostname = [HP842AFD2A0B73.local]
address = [192.168.1.78]
port = [631]
txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=7fc2e169-d32b-5fb5-d0a5-4444003173c3" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP842AFD2A0B73.local./#hId-pgAirPrint" "mac=84:2a:fd:2a:0b:73" "priority=20" "usb_MDL=DeskJet 2700 series" "usb_MFG=HP" "product=(HP DeskJet 2700 series)" "ty=HP DeskJet 2700 series" "mopria-certified=2.0" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
aaron@aaron-NUC7PJYH:~$

----------------------------------------
avahi-browse -rt _uscan._tcp
+ eno1 IPv4 HP DeskJet 2700 series [2A0B73] _uscan._tcp local
+ eno1 IPv6 HP DeskJet 2700 series [2A0B73] _uscan._tcp local
= eno1 IPv4 HP DeskJet 2700 series [2A0B73] _uscan._tcp local
hostname = [HP842AFD2A0B73.local]
address = [192.168.1.78]
port = [8080]
txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=7fc2e169-d32b-5fb5-d0a5-4444003173c3" "note=" "adminurl=http://HP842AFD2A0B73.local." "ty=HP DeskJet 2700 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "mopria-certified-scan=1.2" "vers=2.63" "txtvers=1"]
= eno1 IPv6 HP DeskJet 2700 series [2A0B73] _uscan._tcp local
hostname = [HP842AFD2A0B73.local]
address = [192.168.1.78]
port = [8080]
txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=7fc2e169-d32b-5fb5-d0a5-4444003173c3" "note=" "adminurl=http://HP842AFD2A0B73.local." "ty=HP DeskJet 2700 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "mopria-certified-scan=1.2" "vers=2.63" "txtvers=1"]
aaron@aaron-NUC7PJYH:~$
--------------------
driverless
ipp://HP%20DeskJet%202700%20series%20%5B2A0B73%5D._ipp._tcp.local/

Sent from Mailspring (https://getmailspring.com/), the best free email app for work
On Oct 8 2020, at 10:11 am, brian_p <email address hidden> wrote:
> Your question #693322 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693322
>
> Status: Open => Needs information
> brian_p requested more information:
> Being on wireless is good. Please give what you get for
>
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
> driverless
>
> --
> Brian.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/693322
>
> You received this question notification because you asked the question.

brian_p (claremont102) said : #5

We'll do printing in this post; scanning in the next.

The output of 'driverless' gives you a URI. *Substitute* the output in

  lpadmin -p 2732 -v URI -E -m everywhere

Test with

  lp -d 2732 /etc/nsswitch.conf

Aaron Mehl (tatyman) said : #6

lpadmin -p 2732 -v ipp://HP%20DeskJet%202700%20series%20%5B2A0B73%5D._ipp._tcp.local/ -E -m everywhere
lpadmin: Unable to connect to "HP842AFD2A0B73.local:631": Name or service not known

Sent from Mailspring (https://getmailspring.com/), the best free email app for work
On Oct 8 2020, at 10:30 am, brian_p <email address hidden> wrote:
> Your question #693322 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693322
>
> Status: Open => Answered
> brian_p proposed the following answer:
> We'll do printing in this post; scanning in the next.
>
> The output of 'driverless' gives you a URI. *Substitute* the output in
> lpadmin -p 2732 -v URI -E -m everywhere
> Test with
> lp -d 2732 /etc/nsswitch.conf
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/693322/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/693322
>
> You received this question notification because you asked the question.

brian_p (claremont102) said : #7

> lpadmin: Unable to connect to "HP842AFD2A0B73.local:631": Name or service not known

Try putting the URI in double quotes. "URI".

brian_p (claremont102) said : #8

Or use

  ipp://192.168.1.78/ipp/print

Aaron Mehl (tatyman) said : #9

AI guess I am not clear what is the URI is
is it lpadmin -p 2732 -v ipp://"HP%20DeskJet%202700%20series%20%5B2A0B73%5D._ipp._tcp.local/" -E -m everywhere
or is it
lpadmin -p 2732 -v "HP842AFD2A0B73.local:631" -E -m everywhere

and if it is the first one where to the quotes go?
Thanks,
Aaron

Sent from Mailspring (https://getmailspring.com/), the best free email app for work
On Oct 8 2020, at 11:01 am, brian_p <email address hidden> wrote:
> Your question #693322 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693322
>
> brian_p posted a new comment:
> > lpadmin: Unable to connect to "HP842AFD2A0B73.local:631": Name or
> service not known
>
> Try putting the URI in double quotes. "URI".
> --
> You received this question notification because you asked the question.
>

brian_p (claremont102) said : #10

Do not use the second one. This is the hostname of the printer. It corresponds
to the IP number 192.168.1.78. Use the first one or

 lpadmin -p 2732 -v "ipp://192.168.1.78/ipp/print" -E -m everywhere

if that does not work.

Aaron Mehl (tatyman) said : #11

Yeah, thanks
Now what about copying and scan?
Aaron

Sent from Mailspring (https://getmailspring.com/), the best free email app for work
On Oct 8 2020, at 1:01 pm, brian_p <email address hidden> wrote:
> Your question #693322 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693322
>
> brian_p posted a new comment:
> Do not use the second one. This is the hostname of the printer. It corresponds
> to the IP number 192.168.1.78. Use the first one or
>
> lpadmin -p 2732 -v "ipp://192.168.1.78/ipp/print" -E -m everywhere
> if that does not work.
> --
> You received this question notification because you asked the question.
>

Best brian_p (claremont102) said : #12

Copying is done from the device itself and doesn't need any interaction
with the computer..

For scanning, I strongly suggest downloading and installing sane-airscan from

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

Here is a direct link to the file you want

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

I would appreciate having the outputs of

  scanimage -L

and

  airscan-discover

and an indication that you can scan.

Cheers,

Brian.

Aaron Mehl (tatyman) said : #13

etting up sane-airscan (0.99.17+76.1) ...
Processing triggers for man-db (2.9.1-1) ...
N: Download is performed unsandboxed as root as file '/home/aaron/Downloads/sane-airscan_0.99.17+76.1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
aaron@aaron-NUC7PJYH:~/Downloads$ scanimage -L
device `escl:https://192.168.1.78:443' is a ESCL HP DeskJet 2700 series [2A0B73] SSL flatbed scanner
device `escl:http://192.168.1.78:8080' is a ESCL HP DeskJet 2700 series [2A0B73] flatbed scanner
device `airscan:e0:HP DeskJet 2700 series [2A0B73]' is a eSCL HP DeskJet 2700 series [2A0B73] eSCL network scanner
aaron@aaron-NUC7PJYH:~/Downloads$ airscan-discover
[devices]
HP DeskJet 2700 series [2A0B73] = http://192.168.1.78:8080/eSCL/, eSCL
HP DeskJet 2700 series [2A0B73] = https://192.168.1.78:443/eSCL/, eSCL
HP DeskJet 2700 series [2A0B73] = http://[2600:1700:8B84:B00:862A:FDFF:FE2A:B73]:53048, WSD
HP DeskJet 2700 series [2A0B73] = http://192.168.1.78:53048, WSD
aaron@aaron-NUC7PJYH:~/Downloads$

Sent from Mailspring (https://getmailspring.com/), the best free email app for work
On Oct 8 2020, at 2:55 pm, brian_p <email address hidden> wrote:
> Your question #693322 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693322
>
> Status: Open => Answered
> brian_p proposed the following answer:
> Copying is done from the device itself and doesn't need any interaction
> with the computer..
>
> For scanning, I strongly suggest downloading and installing sane-airscan
> from
>
> https://github.com/alexpevzner/sane-airscan
> Here is a direct link to the file you want
> https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/
> I would appreciate having the outputs of
> scanimage -L
> and
> airscan-discover
> and an indication that you can scan.
> Cheers,
> Brian.
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/693322/+confirm?answer_id=11
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/693322
>
> You received this question notification because you asked the question.

Aaron Mehl (tatyman) said : #14

Is there a scanning app?
Aaron

Sent from Mailspring (https://getmailspring.com/), the best free email app for work
On Oct 8 2020, at 3:02 pm, Aaron Mehl <email address hidden> wrote:
> etting up sane-airscan (0.99.17+76.1) ...
> Processing triggers for man-db (2.9.1-1) ...
> N: Download is performed unsandboxed as root as file '/home/aaron/Downloads/sane-airscan_0.99.17+76.1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
> aaron@aaron-NUC7PJYH:~/Downloads$ scanimage -L
> device `escl:https://192.168.1.78:443' is a ESCL HP DeskJet 2700 series [2A0B73] SSL flatbed scanner
> device `escl:http://192.168.1.78:8080' is a ESCL HP DeskJet 2700 series [2A0B73] flatbed scanner
> device `airscan:e0:HP DeskJet 2700 series [2A0B73]' is a eSCL HP DeskJet 2700 series [2A0B73] eSCL network scanner
> aaron@aaron-NUC7PJYH:~/Downloads$ airscan-discover
> [devices]
> HP DeskJet 2700 series [2A0B73] = http://192.168.1.78:8080/eSCL/, eSCL
> HP DeskJet 2700 series [2A0B73] = https://192.168.1.78:443/eSCL/, eSCL
> HP DeskJet 2700 series [2A0B73] = http://[2600:1700:8B84:B00:862A:FDFF:FE2A:B73]:53048, WSD
> HP DeskJet 2700 series [2A0B73] = http://192.168.1.78:53048, WSD
> aaron@aaron-NUC7PJYH:~/Downloads$
>
>
> Sent from Mailspring (https://getmailspring.com/), the best free email app for work
> On Oct 8 2020, at 2:55 pm, brian_p <email address hidden> wrote:
> > Your question #693322 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/693322
> >
> > Status: Open => Answered
> > brian_p proposed the following answer:
> > Copying is done from the device itself and doesn't need any interaction
> > with the computer..
> >
> > For scanning, I strongly suggest downloading and installing sane-airscan
> > from
> >
> > https://github.com/alexpevzner/sane-airscan
> > Here is a direct link to the file you want
> > https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/
> > I would appreciate having the outputs of
> > scanimage -L
> > and
> > airscan-discover
> > and an indication that you can scan.
> > Cheers,
> > Brian.
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/hplip/+question/693322/+confirm?answer_id=11
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/hplip/+question/693322
> >
> > You received this question notification because you asked the question.

Aaron Mehl (tatyman) said : #15

Thanks brian_p, that solved my question.

Aaron Mehl (tatyman) said : #16

Hi Brian,
I know that you resolved my printer problem, and thanks so much.
But I noticed that the print utility on Linux Mint doesn't let me print double sided or enlarge the document to fit the page or bigger.
I am guessing that this is because of the desktop I am using??
I think that Linux mints gui is based on Gnome? If so would installing KDE or something else give me more options. Or is this because of the printer driver for Linux?
Thanks,
Aaron

Sent from Mailspring (https://<email address hidden>/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=cXVlc3Rpb242OTMzMjJAYW5zd2Vycy5sYXVuY2hwYWQubmV0), the best free email app for work
On Oct 8 2020, at 11:01 am, brian_p <email address hidden> wrote:
> Your question #693322 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/693322
>
> brian_p posted a new comment:
> Or use
>
> ipp://192.168.1.78/ipp/print
> --
> You received this question notification because you asked the question.
>