LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-09-2023, 03:00 AM   #1
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Rep: Reputation: 0
I have a new printer - what should I tell my Linux O.S. ?


I have a new printer - what should I tell my Linux O.S. ?

I had an HP laser printer that my Ubuntu 20.x recognized.

When I trash my broken printer and hook up my new HP printer, what should I do to tell my Ubuntu Linux to recognize it, or will it be plug and play and just recognize it?

Addendum: The usb cord didn't come with my new HP laserjet printer & the old usb cord from the other printer doesn't seem to plug into it. It bosts it's wireless, but I know my old hp desktop isn't. what type of usb cord i need to plug into it?

the new printer is a black and white hp laserjet called model # : m209dwe

Last edited by helpneeded; 09-09-2023 at 03:29 AM.
 
Old 09-09-2023, 03:57 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
helpneeded,

Does the HP Laserjet M209dwe have a USB port?

The printer has USB 2.0, Wi-Fi, and Ethernet connectivity, and for mobile printing the M209dwe is compatible with HP Smart App, Apple AirPrint, and Mopria.


The usual procedure is to connect a printer cable, install hplip, then follow the “walkthrough” instructions.

Go here:
https://developers.hp.com/hp-linux-i.../install/index

Click on Download HPLIP>> and select your Linux flavour.

In Terminal select the location of the downloaded hplip-3.23.5.run file (in this case Desktop) and then run these commands (pressing Enter after each command):

Code:
cd Desktop

sh hplip-3.23.5.run
Then follow the interactive instructions.

Someone using Fedora had a problem with this machine:
https://answers.launchpad.net/hplip/+question/702667
 
Old 09-09-2023, 04:17 AM   #3
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
helpneeded,

Does the HP Laserjet M209dwe have a USB port?

The printer has USB 2.0, Wi-Fi, and Ethernet connectivity, and for mobile printing the M209dwe is compatible with HP Smart App, Apple AirPrint, and Mopria.


The usual procedure is to connect a printer cable, install hplip, then follow the “walkthrough” instructions.

Go here:
https://developers.hp.com/hp-linux-i.../install/index

Click on Download HPLIP>> and select your Linux flavour.

In Terminal select the location of the downloaded hplip-3.23.5.run file (in this case Desktop) and then run these commands (pressing Enter after each command):

Code:
cd Desktop

sh hplip-3.23.5.run
Then follow the interactive instructions.

Someone using Fedora had a problem with this machine:
https://answers.launchpad.net/hplip/+question/702667
Thanks for the information. I will follow it when I get a cable. Unfortunately, HP only included a power cable and not a usb cable for it. And the USB cable isn't the same as the old hp usb cable I have - they must have changed the type of usb cable that hooks up to their newer printers, eh? Is their a name for this new cable for me to find and purchase?
 
Old 09-09-2023, 04:57 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
helpneeded,

Printer cables are not usually supplied with printers.

Looks like a normal USB A to B printer cable which is readily available everywhere.


USB Cable For HP LaserJet M209DW, M209DWE Printer:

Available: In Stock
• Works with HP LaserJet M209DW, M209DWE Printer.
• Supports USB 2.0 data transfer rates up to 480 Mbps.
• USB A to B printer cable helps you maximize performance for your peripherals. For devices with an older USB version, this cable is backward compatible.
• Features foil & braid shielding, copper twisted-pair construction providing excellent performance.


https://technamart.co.uk/products/us...209dwe-printer

Last edited by beachboy2; 09-09-2023 at 04:58 AM.
 
Old 09-09-2023, 05:06 AM   #5
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
helpneeded,

Printer cables are not usually supplied with printers.

Looks like a normal USB A to B printer cable which is readily available everywhere.


USB Cable For HP LaserJet M209DW, M209DWE Printer:

Available: In Stock
• Works with HP LaserJet M209DW, M209DWE Printer.
• Supports USB 2.0 data transfer rates up to 480 Mbps.
• USB A to B printer cable helps you maximize performance for your peripherals. For devices with an older USB version, this cable is backward compatible.
• Features foil & braid shielding, copper twisted-pair construction providing excellent performance.


https://technamart.co.uk/products/us...209dwe-printer

Thanks. Just to make sure, my trashed HP LaserJet Pro MFP M127fn had a different cable connection for the USB, right? Or am I just not plugging it in right - ?
 
Old 09-09-2023, 06:39 AM   #6
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
helpneeded,

Almost all printer USB cables are universal. They usually have a USB Type-A connector on one end and a USB Type-B connector in another end. This is because most computers have a Type-A port and printers have a Type-B port.

The square-shaped Type-B end of the printer cable will only fit one way, probably on its side.

Note that one side of the Type-B end is domed.

I suspect that you are not plugging it in correctly.

Last edited by beachboy2; 09-09-2023 at 06:40 AM.
 
Old 09-09-2023, 07:43 AM   #7
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
helpneeded,

Almost all printer USB cables are universal. They usually have a USB Type-A connector on one end and a USB Type-B connector in another end. This is because most computers have a Type-A port and printers have a Type-B port.

The square-shaped Type-B end of the printer cable will only fit one way, probably on its side.

Note that one side of the Type-B end is domed.

I suspect that you are not plugging it in correctly.
I tried plugging it in every which way - but I'll try again now. It looks like the cable from the other printer but is being difficult. Let me try again.

I do not know, however, why HP wouldn't include a usb for the printer anyways - maybe they expect everyone to do it wireless since it's also a wireless printer - I don't think my Ubuntu 20.x can do wireless - I know my HP desktop is like 10 years old but still kicking. The computer is the HP EliteDesk G1 SFF - I've put a 1 terabyte SDD in it and 16 gigs of ram and it runs just as fast as a new Windows box.

Update: It had a little sticker on the back that had a wirless symbol and had USB with a slash through it. I took the sticker off and under the sticker was a perfect place for the usb cable. Now, I need to get it up and running.

Last edited by helpneeded; 09-09-2023 at 07:47 AM.
 
Old 09-09-2023, 08:47 AM   #8
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
helpneeded,

Does the HP Laserjet M209dwe have a USB port?

The printer has USB 2.0, Wi-Fi, and Ethernet connectivity, and for mobile printing the M209dwe is compatible with HP Smart App, Apple AirPrint, and Mopria.


The usual procedure is to connect a printer cable, install hplip, then follow the “walkthrough” instructions.

Go here:
https://developers.hp.com/hp-linux-i.../install/index

Click on Download HPLIP>> and select your Linux flavour.

In Terminal select the location of the downloaded hplip-3.23.5.run file (in this case Desktop) and then run these commands (pressing Enter after each command):

Code:
cd Desktop

sh hplip-3.23.5.run
Then follow the interactive instructions.

Someone using Fedora had a problem with this machine:
https://answers.launchpad.net/hplip/+question/702667
Ok, I did the above but printer won't print. When I attempt to print, it comes on for a few seconds then goes off but no printing.

Also, I got this error in terminal:
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2023-09-09 08-45-38.png
Views:	18
Size:	97.7 KB
ID:	41599  
 
Old 09-09-2023, 09:23 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
helpneeded,

See if dbus is active:

Code:
systemctl status dbus.service
If it is stopped:

Code:
sudo su

service dbus start
 
Old 09-09-2023, 10:52 AM   #10
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
helpneeded,

See if dbus is active:

Code:
systemctl status dbus.service
If it is stopped:

Code:
sudo su

service dbus start
It appears to be active:

Code:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
     Loaded: loaded (/lib/systemd/system/dbus.service; static)
     Active: active (running) since Sat 2023-09-09 10:45:54 EDT; 5min ago
TriggeredBy: ● dbus.socket
       Docs: man:dbus-daemon(1)
   Main PID: 1576 (dbus-daemon)
      Tasks: 1 (limit: 18980)
     Memory: 4.9M
        CPU: 858ms
     CGroup: /system.slice/dbus.service
             └─1576 @dbus-daemon --system --address=systemd: --nofork --nopidfi>

Sep 09 10:45:59 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:00 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:46:01 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:46:01 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:02 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:07 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:46:07 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:21 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Fai>
Sep 09 10:50:58 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:50:58 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
lines 1-22/22 (END)
Funny thing is when I tell it to print it fires up and acts like it's going to for like 5 seconds then just stops.

Last edited by helpneeded; 09-09-2023 at 10:54 AM.
 
Old 09-09-2023, 11:46 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,430

Rep: Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111
Quote:
Originally Posted by helpneeded View Post
It appears to be active:
Code:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
     Loaded: loaded (/lib/systemd/system/dbus.service; static)
     Active: active (running) since Sat 2023-09-09 10:45:54 EDT; 5min ago
TriggeredBy: ● dbus.socket
       Docs: man:dbus-daemon(1)
   Main PID: 1576 (dbus-daemon)
      Tasks: 1 (limit: 18980)
     Memory: 4.9M
        CPU: 858ms
     CGroup: /system.slice/dbus.service
             └─1576 @dbus-daemon --system --address=systemd: --nofork --nopidfi>

Sep 09 10:45:59 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:00 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:46:01 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:46:01 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:02 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:07 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:46:07 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
Sep 09 10:46:21 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Fai>
Sep 09 10:50:58 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Act>
Sep 09 10:50:58 michael-HP-EliteDesk-800-G1-SFF dbus-daemon[1576]: [system] Suc>
lines 1-22/22 (END)
Funny thing is when I tell it to print it fires up and acts like it's going to for like 5 seconds then just stops.
A few things:
  • The printer is wifi capable, and from your previous (numerous) posts, your system is wifi. Since plugging in the USB cable gave you trouble, it may be better to set it up as a network printer.
  • The screenshot said that the HP Systray wasn't running; did you set it to auto-start at login, and did you log out/back in/reboot after doing so??
  • Have you checked to see if CUPS is installed/running? It should be from where you had your other printer set up and installed previously.
  • Have you checked to see if the queue is set up by running "lpstat -a" from a terminal??
Might want to check any of your other printer-related threads that go back years, and try the advice given there, since this is the same system and you're still working with HPLIP:
https://www.linuxquestions.org/quest...er-4175572109/
https://www.linuxquestions.org/quest...it-4175625762/
https://www.linuxquestions.org/quest...879/page2.html
https://www.linuxquestions.org/quest...or-4175723600/

May also want to follow up in your other thread that was marked SOLVED with the solution:
https://www.linuxquestions.org/quest...up-4175728597/
 
Old 09-09-2023, 11:57 AM   #12
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,275
Blog Entries: 48

Rep: Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580Reputation: 1580
helpneeded,

Maybe there is a solution but there are several unflattering comments on this HP M209dwe printer here:

https://h30434.www3.hp.com/t5/Printe...e/td-p/8290105
 
Old 09-09-2023, 12:05 PM   #13
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
A few things:
  • The printer is wifi capable, and from your previous (numerous) posts, your system is wifi. Since plugging in the USB cable gave you trouble, it may be better to set it up as a network printer.
  • The screenshot said that the HP Systray wasn't running; did you set it to auto-start at login, and did you log out/back in/reboot after doing so??
  • Have you checked to see if CUPS is installed/running? It should be from where you had your other printer set up and installed previously.
  • Have you checked to see if the queue is set up by running "lpstat -a" from a terminal??
Might want to check any of your other printer-related threads that go back years, and try the advice given there, since this is the same system and you're still working with HPLIP:
https://www.linuxquestions.org/quest...er-4175572109/
https://www.linuxquestions.org/quest...it-4175625762/
https://www.linuxquestions.org/quest...879/page2.html
https://www.linuxquestions.org/quest...or-4175723600/

May also want to follow up in your other thread that was marked SOLVED with the solution:
https://www.linuxquestions.org/quest...up-4175728597/
Quote:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ lpstat -a
HP_LaserJet_M207-M212 accepting requests since Sat 09 Sep 2023 10:53:30 AM EDT
When I very first tried to use it, it did print once for me, now it's like refusing to.

How do I check CUPS
 
Old 09-09-2023, 12:22 PM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,430

Rep: Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111
Quote:
Originally Posted by helpneeded View Post
When I very first tried to use it, it did print once for me, now it's like refusing to. How do I check CUPS
It's mentioned in one of your several other printing-related threads, quoted in my reply. You were also given a command to run to check your print queues; did you run it??
 
Old 09-09-2023, 12:53 PM   #15
helpneeded
Member
 
Registered: Sep 2023
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
It's mentioned in one of your several other printing-related threads, quoted in my reply. You were also given a command to run to check your print queues; did you run it??
I reviewed the posts and don't see it, can someone give me the command again please.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using Logrotate, want to make new zip copy of log file for 14 days. New file should have new active logs. hammad9199 Linux - Server 7 09-23-2020 08:36 AM
[SOLVED] Eeeek! My kubuntu thinks I have an AMD-64 - How do I tell it I have Intel Core i-5? nerodog Linux - Newbie 4 03-25-2015 05:26 PM
somebody can tell me why . tell me how i can slove this problem xiongzhongkai Linux - Newbie 4 08-26-2008 02:51 AM
LXer: A Microsoft Slur in the OOXML Saga -- Did I Tell You or Did I Tell You? - Updat LXer Syndicated Linux News 0 03-20-2008 02:10 PM
can you tell me what operting system the best for what i tell you here ? thanks SlackwareMan Linux - General 5 07-27-2004 03:24 PM

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

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