Printer not working SOLVED

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

Having looked at the posts for which I thank everyone. I tried to get the printer icon back by installing system-config-printer. That brought the printer icon back in the applications menu.
However it would not print documents. I noticed that print preview was not enabled and clicked on the square by the word preview in the list of commands used for printing documents. I then was able to print some text. So at this stage it seems to be working, though I am not sure why. Before it started to print I was getting messages saying that the printer was idle or that there were a number of items in the stream. I have had a number of messages saying the printer was not configured, before it started to work. I don't really feel the problem has been solved because I do not understand what was needed in the printer configuration. I've done something right but do not know quite what, so it could all go wrong again, I think.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Printer not working

Post by brian_p »

Stormdrainer wrote: Mon Feb 06, 2023 11:58 am
[...]

I don't really feel the problem has been solved because I do not understand what was needed in the printer configuration. I've done something right but do not know quite what, so it could all go wrong again, I think.
A solid solution can be offered after providing the outputs of

Code: Select all

lsusb -v | grep -A 3 bInterfaceClass.*7

Code: Select all

avahi-browse -rt _ipp._tcp

Code: Select all

avahi-browse -rt _uscan._tcp

Code: Select all

driverless
--
Brian.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

Thank you for your response. I cannot attach the screen shots as attachments in the normal way. How can I send them? Would you like me to email them or use another method via the forum? Thanks.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Printer not working

Post by brian_p »

Stormdrainer wrote: Tue Feb 07, 2023 9:17 am Thank you for your response. I cannot attach the screen shots as attachments in the normal way. How can I send them? Would you like me to email them or use another method via the forum? Thanks.
Copy an output and paste it into code tags (the </> icon)>.
--
Brian.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

I'm a beginner. Do you need the whole of the information on the terminal or just the last line. Are you asking for part of the output between (). Those are the only marks vaguely like the ones you used. Thanks again.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

I do not know what is going on. I saved screenshots of the terminal screens from each of the commands you gave me. I thought I would try to save then on to Libre Office Writer. When I looked for the screen shots where they were saved (Pictures) they were not there. When I tried to put the four commands into the terminal again none of them gave any output, unlike the first time. I am confused. Have you any idea what has happened and how I can generate the output needed? Thanks.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Printer not working

Post by brian_p »

Stormdrainer wrote: Tue Feb 07, 2023 12:47 pm I do not know what is going on. I saved screenshots of the terminal screens from each of the commands you gave me. I thought I would try to save then on to Libre Office Writer. When I looked for the screen shots where they were saved (Pictures) they were not there. When I tried to put the four commands into the terminal again none of them gave any output, unlike the first time. I am confused. Have you any idea what has happened and how I can generate the output needed? Thanks.
I really haven't any idea why the outputs should be empty. Check the output of lsusb for the printer entry and try again.
--
Brian.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

I made a really stupid mistake but have generated the answers again. The files are too big to attach. I was asked to post them between the <> icon. Could you please explain in more detail please. I am a beginner and do not understand what is wanted. The screenshots I have taken contain full pages of data and I need some way of posting them. Thanks.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Printer not working

Post by brian_p »

Stormdrainer wrote: Wed Feb 08, 2023 8:55 am I made a really stupid mistake but have generated the answers again. The files are too big to attach. I was asked to post them between the <> icon. Could you please explain in more detail please. I am a beginner and do not understand what is wanted. The screenshots I have taken contain full pages of data and I need some way of posting them. Thanks.
Execute the first command. Now read
viewtopic.php?t=249697

and

viewtopic.php?t=236994

Do the same for the other three commands in turn.
--
Brian.
mikeflan
Level 17
Level 17
Posts: 7089
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Printer not working

Post by mikeflan »

Here is another link that explains code tags. Highlight the text you want in code tags and do this:
viewtopic.php?f=42&t=364929
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

I've entered the 4 commands Brian suggested and have saved the outputs to a file. Is it possible to give some advice now regarding my printer issue? Thanks.

Code: Select all

stormdrainer@stormdrainer-Inspiron-5570:~$ lsusb -v | grep -A 3 bInterfaceClass.*7  The output isn shown below.  Thanks for all the help.

Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      4 
      iInterface              0 
--
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              0 
--
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      4 
      iInterface              0 
Couldn't open device, some information will be missing
--
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      4 
      iInterface              0 
stormdrainer@stormdrainer-Inspiron-5570:~$ avahi-browse -rt _ipp._tcp
+ wlp2s0 IPv6 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
+ wlp2s0 IPv6 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv6 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             Internet Printer     local
+ wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             Internet Printer     local
+ wlp2s0 IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
+     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       Internet Printer     local
+     lo IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
+     lo IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
+     lo IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
=     lo IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS300,FN3" "TLS=1.2" "UUID=e6edd18a-f9b2-3d3d-4520-1538d983ba03" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Fax4)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_fax" "ty=HP Fax4 hpcups" "rp=printers/OfficeJet_5200_fax" "qtotal=1" "txtvers=1"]
=     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["air=none" "mopria-certified=1.3" "rp=ipp/print" "priority=50" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,FN3,IS1,V1.4" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "Color=T" "Duplex=T" "note=" "qtotal=1" "usb_MDL=OfficeJet 5200 series" "usb_MFG=HP" "usb_CMD=PCL3GUI,PCL3,PJL,Automatic,JPEG,PCLM,AppleRaster,PWGRaster,DW-PCL,802.11,DESKJET,DYN" "ty=HP OfficeJet 5200 series" "product=(HP OfficeJet 5200 series)" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster,application/octet-stream" "txtvers=1" "adminurl=http://localhost:60000/#hId-pgAirPrint" "Fax=T" "rfo=ipp/faxout" "Scan=T"]
=     lo IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=4b3a1216-c727-33d0-47f9-69685f7de0c7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200" "qtotal=1" "txtvers=1"]
=     lo IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=89be5e61-2430-3c57-6084-187312fae23a" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_2" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200_2" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [fe80::f6d9:dc22:93a4:5c7d]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=89be5e61-2430-3c57-6084-187312fae23a" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_2" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200_2" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [fe80::f6d9:dc22:93a4:5c7d]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=4b3a1216-c727-33d0-47f9-69685f7de0c7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [fe80::f6d9:dc22:93a4:5c7d]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS300,FN3" "TLS=1.2" "UUID=e6edd18a-f9b2-3d3d-4520-1538d983ba03" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Fax4)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_fax" "ty=HP Fax4 hpcups" "rp=printers/OfficeJet_5200_fax" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [192.168.1.16]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS300,FN3" "TLS=1.2" "UUID=e6edd18a-f9b2-3d3d-4520-1538d983ba03" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Fax4)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_fax" "ty=HP Fax4 hpcups" "rp=printers/OfficeJet_5200_fax" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [192.168.1.16]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=4b3a1216-c727-33d0-47f9-69685f7de0c7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [192.168.1.16]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=89be5e61-2430-3c57-6084-187312fae23a" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_2" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200_2" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             Internet Printer     local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [631]
   txt = ["Fax=T" "rfo=ipp/faxout" "Scan=T" "kind=document,envelope,photo,postcard" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,FN3,IS1,V1.4" "PaperMax=legal-A4" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "Duplex=T" "Color=T" "ty=HP OfficeJet 5200 series" "product=(HP OfficeJet 5200 series)" "mopria-certified=1.3" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "rp=ipp/print" "TLS=1.2" "qtotal=1" "priority=20" "note=" "adminurl=http://HP0068EB738E74.local./#hId-pgAirPrint" "txtvers=1"]
= wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             Internet Printer     local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [631]
   txt = ["Fax=T" "rfo=ipp/faxout" "Scan=T" "kind=document,envelope,photo,postcard" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,FN3,IS1,V1.4" "PaperMax=legal-A4" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "Duplex=T" "Color=T" "ty=HP OfficeJet 5200 series" "product=(HP OfficeJet 5200 series)" "mopria-certified=1.3" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "rp=ipp/print" "TLS=1.2" "qtotal=1" "priority=20" "note=" "adminurl=http://HP0068EB738E74.local./#hId-pgAirPrint" "txtvers=1"]
stormdrainer@stormdrainer-Inspiron-5570:~$ avahi-browse -rt _uscan._tcp
+ wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
+ wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
+     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       _uscan._tcp          local
=     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       _uscan._tcp          local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "adminurl=http://localhost:60000" "representation=images/printer.png" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=OfficeJet 5200 series" "rs=eSCL" "vers=2.63" "txtvers=1"]
= wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [8080]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=HP OfficeJet 5200 series" "rs=eSCL" "representation=images/printer.png" "vers=2.63" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "note=" "adminurl=http://HP0068EB738E74.local." "txtvers=1"]
= wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [8080]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=HP OfficeJet 5200 series" "rs=eSCL" "representation=images/printer.png" "vers=2.63" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "note=" "adminurl=http://HP0068EB738E74.local." "txtvers=1"]
stormdrainer@stormdrainer-Inspiron-5570:~$ driverless
ipp://HP%20OfficeJet%205200%20series%20%5B738E74%5D%20(USB)._ipp._tcp.local/
ipps://HP%20OfficeJet%205200%20series%20%5B738E74%5D._ipps._tcp.local/
stormdrainer@stormdrainer-Inspiron-5570:~$ 
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

About a week ago Brian-p asked me to enter 4 commands and post the results. It took me a while to do this as I'm a beginner. Here are the commands asked for.
These are shown below and they are followed by the outputs they produced. I'd be really grateful if someone could advise me on what I need to do next to sort out my printer's performance. Thank you.

Code: Select all

Code: Select all

lsusb -v | grep -A 3 bInterfaceClass.*7

Code: Select all

avahi-browse -rt _ipp._tcp

Code: Select all

avahi-browse -rt _uscan._tcp

Code: Select all

I have entered the commands and the output is shown below.  No one has answered the thread since about a week ago.  I'm posting it all in one place in case that makes it easier for everyone.  I'd be really grateful if someone would advise me on what to do next.  

Here's the output I got from the commands Brian_p asked for.

[code]stormdrainer@stormdrainer-Inspiron-5570:~$ lsusb -v | grep -A 3 bInterfaceClass.*7  The output isn shown below.  Thanks for all the help.

Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      4 
      iInterface              0 
--
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              0 
--
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      4 
      iInterface              0 
Couldn't open device, some information will be missing
--
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      4 
      iInterface              0 
stormdrainer@stormdrainer-Inspiron-5570:~$ avahi-browse -rt _ipp._tcp
+ wlp2s0 IPv6 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
+ wlp2s0 IPv6 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv6 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             Internet Printer     local
+ wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             Internet Printer     local
+ wlp2s0 IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
+ wlp2s0 IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
+     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       Internet Printer     local
+     lo IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
+     lo IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
+     lo IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
=     lo IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS300,FN3" "TLS=1.2" "UUID=e6edd18a-f9b2-3d3d-4520-1538d983ba03" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Fax4)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_fax" "ty=HP Fax4 hpcups" "rp=printers/OfficeJet_5200_fax" "qtotal=1" "txtvers=1"]
=     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["air=none" "mopria-certified=1.3" "rp=ipp/print" "priority=50" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,FN3,IS1,V1.4" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "Color=T" "Duplex=T" "note=" "qtotal=1" "usb_MDL=OfficeJet 5200 series" "usb_MFG=HP" "usb_CMD=PCL3GUI,PCL3,PJL,Automatic,JPEG,PCLM,AppleRaster,PWGRaster,DW-PCL,802.11,DESKJET,DYN" "ty=HP OfficeJet 5200 series" "product=(HP OfficeJet 5200 series)" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster,application/octet-stream" "txtvers=1" "adminurl=http://localhost:60000/#hId-pgAirPrint" "Fax=T" "rfo=ipp/faxout" "Scan=T"]
=     lo IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=4b3a1216-c727-33d0-47f9-69685f7de0c7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200" "qtotal=1" "txtvers=1"]
=     lo IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=89be5e61-2430-3c57-6084-187312fae23a" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_2" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200_2" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [fe80::f6d9:dc22:93a4:5c7d]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=89be5e61-2430-3c57-6084-187312fae23a" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_2" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200_2" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [fe80::f6d9:dc22:93a4:5c7d]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=4b3a1216-c727-33d0-47f9-69685f7de0c7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [fe80::f6d9:dc22:93a4:5c7d]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS300,FN3" "TLS=1.2" "UUID=e6edd18a-f9b2-3d3d-4520-1538d983ba03" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Fax4)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_fax" "ty=HP Fax4 hpcups" "rp=printers/OfficeJet_5200_fax" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv4 OfficeJet_5200_fax @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [192.168.1.16]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4,SRGB24,RS300,FN3" "TLS=1.2" "UUID=e6edd18a-f9b2-3d3d-4520-1538d983ba03" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Fax4)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_fax" "ty=HP Fax4 hpcups" "rp=printers/OfficeJet_5200_fax" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv4 OfficeJet_5200 @ stormdrainer-Inspiron-5570   Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [192.168.1.16]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=4b3a1216-c727-33d0-47f9-69685f7de0c7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv4 OfficeJet_5200_2 @ stormdrainer-Inspiron-5570 Internet Printer     local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [192.168.1.16]
   port = [631]
   txt = ["printer-type=0x101E" "Duplex=T" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,DM1,FN3" "TLS=1.2" "UUID=89be5e61-2430-3c57-6084-187312fae23a" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Officejet 5232 All-in-one)" "priority=0" "note=" "adminurl=https://stormdrainer-Inspiron-5570.local.:631/printers/OfficeJet_5200_2" "ty=HP Officejet 5200 Series, hpcups 3.21.12" "rp=printers/OfficeJet_5200_2" "qtotal=1" "txtvers=1"]
= wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             Internet Printer     local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [631]
   txt = ["Fax=T" "rfo=ipp/faxout" "Scan=T" "kind=document,envelope,photo,postcard" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,FN3,IS1,V1.4" "PaperMax=legal-A4" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "Duplex=T" "Color=T" "ty=HP OfficeJet 5200 series" "product=(HP OfficeJet 5200 series)" "mopria-certified=1.3" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "rp=ipp/print" "TLS=1.2" "qtotal=1" "priority=20" "note=" "adminurl=http://HP0068EB738E74.local./#hId-pgAirPrint" "txtvers=1"]
= wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             Internet Printer     local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [631]
   txt = ["Fax=T" "rfo=ipp/faxout" "Scan=T" "kind=document,envelope,photo,postcard" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,FN3,IS1,V1.4" "PaperMax=legal-A4" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "Duplex=T" "Color=T" "ty=HP OfficeJet 5200 series" "product=(HP OfficeJet 5200 series)" "mopria-certified=1.3" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "rp=ipp/print" "TLS=1.2" "qtotal=1" "priority=20" "note=" "adminurl=http://HP0068EB738E74.local./#hId-pgAirPrint" "txtvers=1"]
stormdrainer@stormdrainer-Inspiron-5570:~$ avahi-browse -rt _uscan._tcp
+ wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
+ wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
+     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       _uscan._tcp          local
=     lo IPv4 HP OfficeJet 5200 series [738E74] (USB)       _uscan._tcp          local
   hostname = [stormdrainer-Inspiron-5570.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "adminurl=http://localhost:60000" "representation=images/printer.png" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=OfficeJet 5200 series" "rs=eSCL" "vers=2.63" "txtvers=1"]
= wlp2s0 IPv6 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [8080]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=HP OfficeJet 5200 series" "rs=eSCL" "representation=images/printer.png" "vers=2.63" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "note=" "adminurl=http://HP0068EB738E74.local." "txtvers=1"]
= wlp2s0 IPv4 HP OfficeJet 5200 series [738E74]             _uscan._tcp          local
   hostname = [HP0068EB738E74.local]
   address = [192.168.1.18]
   port = [8080]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=HP OfficeJet 5200 series" "rs=eSCL" "representation=images/printer.png" "vers=2.63" "UUID=1d941a59-4dfa-544b-856a-1fe50a0ebfcb" "note=" "adminurl=http://HP0068EB738E74.local." "txtvers=1"]
stormdrainer@stormdrainer-Inspiron-5570:~$ driverless
ipp://HP%20OfficeJet%205200%20series%20%5B738E74%5D%20(USB)._ipp._tcp.local/
ipps://HP%20OfficeJet%205200%20series%20%5B738E74%5D._ipps._tcp.local/
stormdrainer@stormdrainer-Inspiron-5570:~$ 

Top







driverless[/code]
User avatar
kato181
Level 9
Level 9
Posts: 2577
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: Printer not working

Post by kato181 »

Just a few questions I'd like to ask you..
1. How old is the printer?
2. Is it a inkjet printer?
I'm asking those questions because I think that the nozzles might have dried up blocking them, have you done a clean on the printer? I think you can do it via the printer itself, though I'm not sure. That is a one failure on inkjet printers, if you don't use them for a period of time the ink dries on the nozzle to a point where it hardens, making printing impossible. This could be a reason what maybe happening with you.
See if you can do a test print via the printer itself.
For memory if you are setting that printer up as wifi network printer, I think you still have to have it connected via usb until the setup is finished, I remember having to do it that for a mate on his windows machine, usb cable connected then install the software and select wifi setup. Talk about backwards.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

Thank you for your post. The printer is an inkjet printer. I have managed to print the odd page recently, but it repeatedly fails which is the problem I have at the moment. I think though that the occasional successes show that the ink jets are okay.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Printer not working

Post by brian_p »

Stormdrainer wrote: Wed Feb 15, 2023 9:52 am About a week ago Brian-p asked me to enter 4 commands and post the results. It took me a while to do this as I'm a beginner. Here are the commands asked for.
These are shown below and they are followed by the outputs they produced. I'd be really grateful if someone could advise me on what I need to do next to sort out my printer's performance. Thank you.
Stormdrainer, my friend, you have done well. We now have something to work with. This is the crucial bit:
ipp://HP%20OfficeJet%205200%20series%20%5B738E74%5D%20(USB)._ipp._tcp.local/
Here is a command:

Code: Select all

lpadmin -p  OfficeJet5200 -v "ipp://HP%20OfficeJet%205200%20series%20%5B738E74%5D%20(USB)._ipp._tcp.local/" -E -m everywhere
You have to copy and execute it. It will give you printer called OfficeJet5200.

Try

Code: Select all

lp -d OfficeJet5200 /etc/nsswitch.conf
Does that print?
--
Brian.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

I've don e what you said and the printer produced a page of data. However when I tried to print something else, it did not work. I tried several times to print a page. Sometimes it stuck on the preview but sometimes it went on to the print page, but it did not print. I looked at the printer icon, and when I pressed the button I got the printers installed display which showed 5 printers, one with a yellow triangle with an ! in it. Some of the printers, on the printers installed page, have the correct labeling for my printer. Something is still causing a problem still. Thanks for your help.
Dullard du Jour
Level 5
Level 5
Posts: 518
Joined: Fri Dec 23, 2022 10:43 am

Re: Printer not working

Post by Dullard du Jour »

Just curious, and likely not an issue but are you using a firewall such as UFW or, on a router or KVM?
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

I'm using Linux mint 21 basically straight out of the box. I think Ubuntu used UFW you in a firewall and mint is based on Ubuntu.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Printer not working

Post by brian_p »

Stormdrainer wrote: Wed Feb 22, 2023 6:47 am I've don e what you said and the printer produced a page of data.
That's good enough for me. The lpad command is as fundamental as it gets.
However when I tried to print something else, it did not work. I tried several times to print a page. Sometimes it stuck on the preview but sometimes it went on to the print page, but it did not print.
Which application were you using?

I looked at the printer icon, and when I pressed the button I got the printers installed display which showed 5 printers, one with a yellow triangle with an ! in it. Some of the printers, on the printers installed page, have the correct labeling for my printer. Something is still causing a problem still. Thanks for your help.
I am only interested in the OfficeJet5200 printer. It works to print nsswitch.conf. It should print everything else too.
--
Brian.
Stormdrainer
Level 2
Level 2
Posts: 82
Joined: Sun Jul 05, 2020 8:14 am

Re: Printer not working

Post by Stormdrainer »

Thanks for your reply. I've taken a screeshot of the printers.. Should I delete some of these? I do not want to get rid of what I need. It has been working generally. Thanks for the help. Much appreciated.
Attachments
Screenshot from 2023-02-28 11-38-05.png
Locked

Return to “Beginner Questions”