[SOLVED] non-communication between computer running Linuxmint 17.3 and printer HP-1020
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wasn't sure that the HP1020 LaserJet 1020 was supported by the foo2zjs driver, but it is listed as supported as shown here. So, it's probably worth a shot.
Here's an Ubuntu guide, which offers clear instructions with installing the foo2zjs driver precisely for this model.
A Mint guide using essentially the same commands. (Make sure to load the firmware for you model though.)
Once the driver is installed, you can configure using system-config-printer, or a browser (CUPS web interface).
I've already provided the link to the foo2zj driver. (Refer first URL of post #31).
Follow the instructions in the Ubuntu guide and you won't go wrong. CentOS is another Linux distro (and based on the source code of Red Hat Enterprise Linux).
I was about to sent a euphoric message - the routine in the Ubuntu guide went perfectly smoothly, all the way down to the last message testing the installation - this was the output -
All of which looked fine, and even managed to print a test page successfully. After that, I power-cycled the PC and the printer, but when I tried printing again, it was back to the old "Processing" - the printer that didn't go beyond processing.
All of which looked fine, and even managed to print a test page successfully. After that, I power-cycled the PC and the printer, but when I tried printing again, it was back to the old "Processing" - the printer that didn't go beyond processing.
Am feeling quite disheartened now. Any ideas?
And thank you all for being so patient.
You managed to print a test page successfully, so that's good. Now, we need to know where the processing fails, and that can be complicated. This DebuggingPrintingProblems guide is your friend here. Learning and patience is required to locate the cause of the problem.
But first, what kind of file were you trying to print? Application? That may be impacting here.
Meanwhile, I power-cycled some more, and switched the USB slot, and the lsusb managed to detect a printer, and I managed to print a test successfully. So, I'm delighted - but still confused! And afraid that the printer might decide to go whimsical on me again.
However, what could be the significance of that last line?
Also, if I wanted to run CUPS page_log and error_log - what would the command in Terminal look like?
I printed just a few letters - ;lihf;asd - that sort of thing - from LibreOffice Writer.
Truth to tell, I am also rather enjoying having shed the passivity of the Windows world, and actually becoming involved in what the computer is doing - takes me back to the earlier DOS, pre-Windows days when I got my first PC - which probably tells you that I am rather more ancient than the usual Linux user. Certainly, the few people I can call on for advice here are a little surprised that someone like me should be trying to get the hang of this kind of thing! (Pls forgive the autobiographical aside, but I thought you might be interested to know a little more about this chap who is seeking your help so persistently!)
I will certainly give the DebuggingPrintingProblems guide a shot. Thanks.
I printed just a few letters - ;lihf;asd - that sort of thing - from LibreOffice Writer.
Okay, so to cancel all pending/failed jobs do
Code:
cancel -a
then print a PDF with the lpr command using something like
Code:
lpr -P <name_of_printer> /path/to/foo.pdf
eg I might do this to print a file /home/dean/example.pdf
Code:
lpr -P Brother_DCP-7055 /home/dean/example.pdf
Quote:
Truth to tell, I am also rather enjoying having shed the passivity of the Windows world, and actually becoming involved in what the computer is doing - takes me back to the earlier DOS, pre-Windows days when I got my first PC - which probably tells you that I am rather more ancient than the usual Linux user. Certainly, the few people I can call on for advice here are a little surprised that someone like me should be trying to get the hang of this kind of thing! (Pls forgive the autobiographical aside, but I thought you might be interested to know a little more about this chap who is seeking your help so persistently!)
You'd be surprised about the age range of members here. (I'm a moderator at openSUSE forums, and there are a number of senior members there who are retired users, some with work histories using computers since mainframe days!)
Quote:
I will certainly give the DebuggingPrintingProblems guide a shot. Thanks.
Yes, it's worth the investment. Essentially looking under the hood...like taking an engine apart. If you get stuck, I'll do my best to help.
I'm glad that you managed to print a PDF successfully, but don't be too quick to say its solved. CUPS uses (and now expects) the incoming file to be in PDF format as part of the workflow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.