LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-19-2016, 03:45 AM   #1
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Rep: Reputation: Disabled
printer HP 1020 problem


I am using LinuxMint 16 and my printer is HP LJ1020.Half-way through a print job, the printer stopped printer - and all attempts to get it to resume have been unsuccessful. Tried switching it on and off; tried disconnecting and reconnecting the USB. The standard response to all print commands is - Rendering complete. And later - "Held". That is far as it goes. Any ideas?
 
Old 01-19-2016, 05:31 AM   #2
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by Alok Rai View Post
...all print commands...
print commands for CUPS??

Have you looked at CUPS?
 
Old 01-19-2016, 06:24 AM   #3
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
Where would I look for CUPS, please? I have been using the printer - and was in the middle of a print job when it stopped responding - rather, as I said, I would see a message about "rendering" and then the printer queue would say that the print job was "held". Makes no sense to me!
 
Old 01-19-2016, 06:29 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,243

Rep: Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861
Quote:
Where would I look for CUPS, please?
type 'localhost:631' in your web browser, press enter. ( without the quotes ).
 
Old 01-19-2016, 07:50 AM   #5
huffdad
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware & LFS
Posts: 31

Rep: Reputation: 6
Quote:
Originally Posted by camorri View Post
localhost:631
I highly recommend making that a bookmark, especially if you use a browser that can sync or otherwise save info to "the cloud". It saves me several minutes of running a google search every time you need to mess with CUPS.
 
Old 01-19-2016, 08:13 AM   #6
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
once you get to the CUPS web page, click on the Printer tab, then click on the name of you printer. At the bottom of the page will be the job list, whether it's held or whatever. On the Maintenance drop-down you can cancel and resume jobs. Let us know what you find.
 
Old 01-19-2016, 08:28 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,382
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
How is the toner supply?

Does the printer have a display panel with a menu? If so, have you checked the built-in printer diagnostics?
 
Old 01-19-2016, 09:19 PM   #8
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
Toner supply is fine. I haven't found any built-in printer diagnostics.
Have had no luck with getting to CUPS: localhost:631 is swiftly rejected by my browser - Firefox.

I wonder what to do now?
 
Old 01-19-2016, 09:27 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,382
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Is CUPS running?

Code:
# ps -A | grep cups
 1569 ?        00:00:00 cupsd
 
Old 01-19-2016, 11:13 PM   #10
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi Alok Rai...

I'm wondering if this might be an issue with the printer itself. When you switched the printer on and off, what is the result of that? Do the indicator lights appear normal or is there one or more that's blinking or missing or a different color? By any chance, do you have another computer on hand (to test the printer with) to see if this issue can be duplicated?

Regards...
 
Old 01-20-2016, 06:37 AM   #11
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,675

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
Assuming you've got the document saved somewhere, have you tried re-booting your system? I'd reckon that any spool files are in the computer not the printer, maybe it's corrupt and needs to be flushed out. You only mention the printer being power cycled...

Starting from square one seems a good option.

Play Bonny!

 
Old 02-02-2016, 12:22 PM   #12
Alok Rai
Member
 
Registered: Aug 2015
Posts: 247

Original Poster
Rep: Reputation: Disabled
I posted a diagnostics printout a short while back - in the hope that someone else might be able to make more sense of it than I could!

Meanwhile, I followed another suggestion, and tried printing on the same printer from another computer - and was successful - normal printout. So, the problem is somewhere between the computer and the printer. Is there something I can run in Terminal which might give some diagnostic clues?
 
Old 02-02-2016, 01:07 PM   #13
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,243

Rep: Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861Reputation: 861
Quote:
Meanwhile, I followed another suggestion, and tried printing on the same printer from another computer - and was successful - normal printout.
It is not clear to me just what you did. Did you connect the printer to the other system? Did you move the cable?

If you did not, then you probably have something in the print queue that is corrupt.

You said you can not connect to cups; localhost:631. That need fixing. Is that still the case?

You can use any web browser on your system, not just Firefox.
 
Old 02-02-2016, 01:16 PM   #14
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
Alok Rai,

frankbell asked you if CUPS was running and then gave you the command to run to check the daemon is running. You have not answered this. check it and post back.

Are you behind a proxy? if so, you may have to add localhost:631 to the "No proxy for" list in your Firefox preferences for you to be able to navigate to the CUPS web interface.

In command line as root, post the results of:
Quote:
#lpstat -t | grep printername
if there are print jobs stuck, you can clear them all in queue by:

Quote:
#lprm -P printername -
 
Old 02-02-2016, 01:38 PM   #15
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Rep: Reputation: 52
I have the HP 1020 too and am constantly called into action in my house because it has frozen. I have tried everything over and used various types of Ubuntu, Debian and Slackware. My problem is that this printer is attached to a PC that I am constantly updating and changing. I am actually thinking of replacing it because of this - though I won't until the almost new toner cartridge I installed runs out (probably in 3 years )

The closest i have ever come to a solution is following the instructions below:

Quote:
UBUNTU NOTES
------------
Install build-essential, tix, foomatic-filters, groff, dc FIRST:
$ sudo apt-get install build-essential tix foomatic-filters groff dc

$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
$ sudo make uninstall
$ make
$ ./getweb 1020
OR other printer
$ sudo make install install-hotplug cups

For 7.10 and later users:
$ sudo system-config-printer

For 5.10/6.06/6.10/7.04 users:
$ sudo gnome-cups-manager
[configure ColorMode = Color if a color printer]
$ sudo make cups

Ubuntu has a bug in gnome-cups-manager with Color, so you must
restart cups. No other distro has this bug.

If that doesn't work, then fire up:
$ firefox http://localhost:631

And click on:
Printers -> Set Printer Options -> Color Mode -> Color
Then click on:
Set Printer Options

The above is taken from http://foo2zjs.rkkda.com/INSTALL
Give this a try and see where you are then.

Good luck.
 
  


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
[SOLVED] I need a driver for a HP Laserjet 1020 printer lawashington Linux - Hardware 5 09-07-2012 09:45 AM
Linux driver for a printer HP LJ 1020 (foo2zjs): problem during compilation (access). xcislav Linux - Hardware 1 04-10-2011 10:08 AM
HP 1020 usb printer keiffee30 Linux - Hardware 1 07-07-2007 09:19 PM
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 09:15 AM.

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