LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   printer HP 1020 problem (https://www.linuxquestions.org/questions/linux-newbie-8/printer-hp-1020-problem-4175564339/)

Alok Rai 01-19-2016 03:45 AM

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?

erik2282 01-19-2016 05:31 AM

Quote:

Originally Posted by Alok Rai (Post 5480750)
...all print commands...

print commands for CUPS??

Have you looked at CUPS?

Alok Rai 01-19-2016 06:24 AM

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!

camorri 01-19-2016 06:29 AM

Quote:

Where would I look for CUPS, please?
type 'localhost:631' in your web browser, press enter. ( without the quotes ).

huffdad 01-19-2016 07:50 AM

Quote:

Originally Posted by camorri (Post 5480806)
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.

erik2282 01-19-2016 08:13 AM

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.

frankbell 01-19-2016 08:28 PM

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?

Alok Rai 01-19-2016 09:19 PM

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?

frankbell 01-19-2016 09:27 PM

Is CUPS running?

Code:

# ps -A | grep cups
 1569 ?        00:00:00 cupsd


ardvark71 01-19-2016 11:13 PM

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...

Soadyheid 01-20-2016 06:37 AM

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!

:hattip:

Alok Rai 02-02-2016 12:22 PM

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?

camorri 02-02-2016 01:07 PM

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.

erik2282 02-02-2016 01:16 PM

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 -

esteeven 02-02-2016 01:38 PM

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.


All times are GMT -5. The time now is 11:45 PM.