HP Printer install

How do you install an HP Color Laser Jet CM1312nfi MFP for printing and scanning functions? Thanks.

Make sure the HPLIP driver is installed. It can be installed via the software store.

To setup the printer with your OS, click :zorin: icon, click settings. Scroll till you see Printers, click on that.

This is where you add & setup your printer.


2 Likes

Thanks. I don't see hplp in the sofware store.

Can you please launch a terminal and run:

sudo apt install hplip

and relay the result?

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
hplip is already the newest version (3.21.12+dfsg0-1).
hplip set to manually installed.
The following package was automatically installed and is no longer required:
lp-solve
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.

Ok, now in your terminal window, run

hp-setup

You should have a window popup with prompts to follow.

hp-setup query output below:

HP Linux Imaging and Printing System (ver. 3.21.12)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

You can try as it offered... Or you can install the modules with

sudo apt update && sudo apt install python3-pyqt5

Then running

hp-setup

again.
If you opt to not install them, try

hp-setup --qt3

2 Likes

I didn't know the OP had missing libraries, this could explain the difficulty. I just assumed the HPLIP driver was not installed. Hopefully, after the OP installs the missing libraries, they will be able to setup their printer.


Thanks. We're making progress here...

For auto discovery, make sure printer is on, and physically connected. (USB is best here)

When I set my printer up, I had to do a manual setup, because I have my printer connected to an ethernet switch, using an ethernet cable, & the switch connects to the router. I manually entered the printers IP address.

I got the IP address from my router's connections page.


Don't see a USB outlet on this printer model.

Would a VPN connection cause a problem?

If all network activity is routed through an VPN, it indeed can cause issues. You would need to allow your printers IP, to pass through the VPN, or it will get blocked, similar to an actual firewall.


The PC can see the printer. But the printer test page always pauses and does not print.

Power cycle the printer, Pull the plug, wait a couple minutes, then plug it back in. Also cancel the print job before you do that. Then restart your computer as well. Now try to make the test print again. If you have the correct driver installed, thats all I can think of for now.


Most printers that I have used have a USB type 'B' connection. It looks different and has a rather square appearance. I see from HP specifications that this printer does have a USB plug.

1 Like

See what you mean. Would have to get an adaptor for the connection.

Printer Cable


Also make sure the options that can work are made:

Brave A.I. states (Zorin 17 is based on ubuntu 22.04, hence the reference):

Install HP CM1312NFI on Ubuntu 22.04

To install the HP Color LaserJet CM1312nfi MFP on Ubuntu 22.04 with a VPN, you can follow these steps. First, ensure that your VPN settings allow local network sharing, as some users have reported issues where the VPN blocks traffic to the printer.

Once this is configured, you can proceed with the installation.

Install the HPLIP (HP Linux Imaging and Printing) software, which is essential for supporting HP printers on Ubuntu. You can install it using the following commands:

sudo apt update
sudo apt install hplip 

After installing HPLIP, you can use the hp-setup tool to add your printer. Run the following command in the terminal:

hp-setup 

During the setup process, make sure to select the correct printer model and follow the on-screen instructions. If the printer is not detected automatically, you may need to enter its IP address manually. This can be done by accessing your router's admin interface, usually at 192.168.1.1, where the printer should be listed.

If you encounter issues with the scanner functionality, ensure that the necessary drivers are installed. The HPLIP software should handle this, but you may need to download additional plugins if prompted. If you face any errors during the setup, check the log files generated by hp-setup for more details.

By following these steps, you should be able to successfully install and use your HP Color LaserJet CM1312nfi MFP on Ubuntu 22.04 even when connected to a VPN.

AI-generated answer. Please verify critical facts.

[
🌐
reddit.com

r/Ubuntu on Reddit: Tell me about your awesome printer
](https://www.reddit.com/r/Ubuntu/comments/1blzly/tell_me_about_your_awesome_printer/)[
🌐
askubuntu.com

networking - Ubuntu 22.04 does not detect my network printer - Ask Ubuntu
](https://askubuntu.com/questions/1498957/ubuntu-22-04-does-not-detect-my-network-printer)[
🌐
askubuntu.com

printing - HP Laserjet 500 MFP on Ubuntu 20.04 - Ask Ubuntu
](https://askubuntu.com/questions/1286975/hp-laserjet-500-mfp-on-ubuntu-20-04)[
🌐
ubuntuforums.org

[SOLVED] HP LaserJet Pro CM1415fnw
](Ubuntu Forums)[
🌐
askubuntu.com

printing - HP Color LaserJet Pro MFP M182nw on Ubuntu 20.04.3 LTS - Ask Ubuntu
](https://askubuntu.com/questions/1499130/hp-color-laserjet-pro-mfp-m182nw-on-ubuntu-20-04-3-lts)[
🌐
askubuntu.com

printing - How to get the scanner working on HP CM1312 MFP and Ubuntu 13.10 - Ask Ubuntu
](https://askubuntu.com/questions/370410/how-to-get-the-scanner-working-on-hp-cm1312-mfp-and-ubuntu-13-10)[
🌐
wiki.ubuntu.com

HardwareSupportComponentsPrintersHp - Ubuntu Wiki
](https://wiki.ubuntu.com/HardwareSupportComponentsPrintersHp)[
🌐
forums.linuxmint.com

HP printer no longer recognized on network SOLVED} - Linux Mint Forums
[
🌐
cyberciti.biz

How to install networked HP printer and scanner on Ubuntu Linux - nixCraft
](https://www.cyberciti.biz/faq/how-to-install-networked-hp-printer-and-scanner-on-ubuntu-linux/)[
🌐
discourse.ubuntu.com

Ubuntu 25.04 and HP LaserJet Pro MFP M428fdw printer - Support and Help - Ubuntu Community Hub
](Ubuntu 25.04 and HP LaserJet Pro MFP M428fdw printer - Support and Help - Ubuntu Community Hub)