Chromebook xfce printer adventure
From my previous post you already know that I use a chromebook running xfce, and considering its been a while since i truly used Linux as my personal machine, lets just say I am having a bit of what i would call 'long term memory loss'.
I am trying to identify all the things I need a windows machine for and trying to find alternatives to do the same on my xfce and printing / scanning is one of those big things.
I basically own an old HP 3050A deskjet printer which I bought in 2011 during the thanksgiving sale and it is still chugging along for me. It basically prints, scans and has WiFi which is probably all that I need. I have thought about replacing this for a while, but I haven't been able to make up my mind on what I need to get - so for now, I am stuck with it.
If you do not want to read my attempts, then go directly to the end to see the exact steps :)
- Download the HP drivers from the developers portal (https://developers.hp.com/hp-linux-imaging-and-printing)
- Tried to run it - kept failing saying that the package installer is already running in the background.
- I selected the option to ignore and it failed saying cups was not installed.
- I then ran the apt-get and installed cups
- tried to run the hp setup again, but again I was stuck with the same error.
- gave up... hated xfce and cursed myself...
Gave a break for a few days to get my head clear and started again.
- As cups was already installed, I went ahead and installed the system-config-printer-gnome
- Now I saw a new option in the menu 'Printers'... alas I am making progress.
- When I opened it, got an error that the service was not running. As soon as I saw that I realized how dumb I had been and started the cups service by calling 'sudo /etc/init.d/cups restart' and the cups was up.
- Closed the printer tab and re-opened it and I saw that it was allowing me to setup the printer.
- I now tried to run the installation of the HP printer files by executing the .run file and I selected all the default configs and after a long time it was done.
- I was then able to set up my HP printer via WiFi and was able to print my first page and scan a 3 page document.
Final Steps / commands
- open terminal and run the below commands.
- sudo apt-get install cups
- sudo apt-get install cups-bsd
- sudo apt-get install system-config-printer-gnome
- sudo adduser <user_name> lpadmin
- sudo /etc/init.d/cups restart
- Go to HP developer portal and download the Ubuntu file. https://developers.hp.com/hp-linux-imaging-and-printing
- The .run file will get downloaded into the 'Downloads' folder
- Create a new folder called hplib and move the run file into it. (very important)
- Go to the folder and run the below command
- sh <file_name>.run
- use defaults for all the options it provides.
- If you get a warning that the package manager is running, select to ignore it. It should work fine
- Should take a while, but will get installed.
- Once installation is complete, you will get a message to restart is printer was connected.. blah blah etc... Select ignore.
- You will get an option to setup your printer - Select GUI (default)
- You should see a 'HP Device Manager' tab open.
- Select Network/Ethernet/Wireless
- Select advanced and select the 'manual discovery' checkbox
- Enter the printer IP and click next
- You should see your printer in the next screen
- Complete the rest of the steps
- You are all set to use your WiFi printer to scan & print.
Now I am thinking what else did I need a windows machine for....