LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2021, 06:59 AM   #1
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Rep: Reputation: Disabled
HP-1020 Printer problem


This is not the first time my HP-1020 has given me this problem, alas. And so, I am a bit of a veteran newbie with this problem!

However, it happens with new flavours every time. I try and replicate the steps that have been suggested in previous posts, and the solutions that have worked in the past. And yet - ever newer problems keep cropping up.

So, I'm using LinuxMint 19.1 - XFCE variant. And the printer is able to print the "Test Page" alright. But is unable to print the ""Self Test Page". It shows the printer state as "Idle".

I have run the solution suggested by Mark911, and that has worked in the past - but not this time!

Help needed - and welcome!

Alok Rai
 
Old 02-17-2021, 07:22 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
How_To_Ask_a_Question

That's what we need to know. Exact Problem, program output, pause/resume behaviour, connection (usb or wifi) etc.
 
Old 02-17-2021, 07:40 AM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
@OP.
I guess this is the solution you alluded to.

It may even not be needed for LM 19.1 anymore: LM 19.x is based on Ubuntu 18.04 where I get
Code:
$ apt-cache search foo2zjs
printer-driver-foo2zjs - printer driver for ZjStream-based printers
printer-driver-foo2zjs-common - printer driver for ZjStream-based printers - common files
hannah-foo2zjs - Graphical firmware downloader for the foo2zjs package
$ apt-cache show printer-driver-foo2zjs|grep ^Version:
Version: 20170320dfsg0-4
The version in Ubuntu 18.04 definitely supports your printer.
 
Old 02-17-2021, 12:37 PM   #4
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
Sorry, my problem is so familiar to me that I resorted to shorthand in reporting it!

I had to reinstall LM 19.1 on my computer recently, and now my printer - HP Laserjet 1020, connected via usb - is acting up. It prints the test page all right, but it reports the printer state as "Idle" when I try to print the self test page.

And shruggy, you are quite right. I ran the commands you suggested, in Terminal, and got the exact same output.

So, I continue to be baffled!
 
Old 02-17-2021, 12:45 PM   #5
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
But have you installed the shown packages?
Code:
sudo apt install .-foo2zjs

Last edited by shruggy; 02-17-2021 at 12:48 PM.
 
Old 02-17-2021, 12:47 PM   #6
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
Ah, so how do I do that - i.e. install the packages?
 
Old 02-17-2021, 12:48 PM   #7
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
I amended my post above.
 
Old 02-17-2021, 12:52 PM   #8
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
Brilliant! That did it. Many, many thanks!

AR
 
Old 02-17-2021, 01:36 PM   #9
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Your printer requires its firmware to be loaded every time it is powered up. This is handled automatically by the driver, but the printer firmware file should be present on your system. See /usr/share/doc/printer-driver-foo2zjs/README.Debian.

The command to download the firmware for your printer is
Code:
sudo getweb 1020
Or use the graphical interface hannah-foo2zjs instead.

You may have to reconfigure the driver after that
Code:
sudo dpkg-reconfigure printer-driver-foo2zjs
 
Old 02-18-2021, 05:12 AM   #10
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
Thanks, shruggy. I did what you suggested, and then tried it out through a power-cycle of both the computer and the printer - and the config survived! The printer and the computer were still speaking to each other. Am deeply grateful.
 
  


Reply



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
printer HP 1020 problem Alok Rai Linux - Newbie 17 02-03-2016 05:55 AM
Linux driver for a printer HP LJ 1020 (foo2zjs): problem during compilation (access). xcislav Linux - Hardware 1 04-10-2011 10:08 AM
Driver for HP Laser 1020 USB printer in Linux mohit.chugh Linux - Software 1 11-22-2006 10:14 AM
hp 1020 printer problem mohit.chugh Linux - Software 1 11-22-2006 06:29 AM
Problems setting up HP 1020 laser printer $in Linux - Hardware 0 06-24-2006 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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