Geek,  Linux

Tutorial: Installing HP LaserJet P1102 on Linux Ubuntu Zorin

This tutorial provides step-by-step instructions on how to install an HP LaserJet P1102 printer on Linux Ubuntu Zorin. The process involves disabling certain features, installing necessary packages, and configuring the printer for proper functionality.

Before proceeding with the installation, make sure you have the following:

  • An HP LaserJet P1102 printer
  • A computer running Linux Ubuntu Zorin
  • Internet access

Step 1: Disable the fake CD-ROM feature

  1. Connect the HP LaserJet P1102 printer to a Windows PC.
  2. Insert the original driver CD that came with the printer.
  3. On the CD, locate the “SIUtility.exe” or “SIUtility64.exe” file in the “UTIL” folder.
  4. Run the “SIUtility.exe” or “SIUtility64.exe” file to disable the “HP Smart Install” feature.
    This step is necessary to ensure proper functionality on a non-Windows PC.

Step 2: Install CUPS and Foomatic-Filters

  1. Open a terminal on your Linux Ubuntu Zorin system.
  2. Update your package repository by running the following command:
   sudo apt update
  1. Install the Common Unix Printing System (CUPS) by running the following command:
   sudo apt install cups
  1. During the installation, you will be prompted to enter your password. Provide the password and proceed with the installation.
  2. After the installation completes, add CUPS to the system startup by editing the “rc.conf” file:
   sudo nano /etc/rc.conf
  1. In the “rc.conf” file, add the following line:
   cupsd_enable="YES"

Save the file and exit the text editor.

  1. Start the CUPS service by running the following command:
   sudo systemctl start cups

CUPS is now installed and running on your system.

  1. Install Foomatic Filters by running the following command:
   sudo apt install foomatic-filters

Step 3: Install foo2zjs

  1. Download the foo2zjs driver package by running the following commands:
   cd ~
   wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz
  1. Extract the downloaded package by running the following command:
   tar -xvf foo2zjs.tar.gz
  1. Navigate to the extracted directory by running the following command:
   cd foo2zjs
  1. Compile and install the driver by running the following commands:
   make
   sudo make install
   sudo make install-hotplug
   sudo ./freebsd-install
  1. Restart the CUPS service for the changes to take effect:
   sudo systemctl restart cups

Step 4: Configure the printer

  1. Connect your HP LaserJet P1102 printer to your Linux Ubuntu Zorin system.
  2. Open a web browser and go to “http://localhost:631” to access the CUPS web interface.
  3. Click on the “Administration” tab, then click “Add Printer.”
  4. The printer should be automatically detected. Select it from the list.
  5. Choose “/dev/ulpt0” as the URI for the printer.
  6. Follow the on-screen instructions to complete the printer setup.
  7. Once the setup is complete, you should be able to print a test page to verify that the printer is working correctly.

Congratulations! You have successfully installed and configured the HP LaserJet P1102 printer on your Linux Ubuntu Zorin system. You can now start using the printer for all your printing needs.