HP F340 failure to print but "job completed" in CUPS
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
This likely signifies an incorrect driver in use. You're using a Live CD, so no opportunity to install a driver. With a full install it would be possible to install HPLIP and gain the required support for this model
Even with the PPD driver, you said that it's of no use with a live CD. That seems like a bad design. That would mean that I have to find a distro with that PPD already in the live CD, information which might be hard to find.
Does anyone know how to add a driver to CUPS in a live CD environment?
Google 'HPLIP' and you'll find the page you need. (I have no idea why you couldn't navigate to it.) I do know that the F340 model is listed as follows...
Quote:
HP DeskJet f340 All-in-one Printer 0.9.9 No Partial Color Yes No USB
A PPD file is not a driver, it's just a postscript printer description file (that describes the required filtering processes and capabilities of a printer). You need to install the HPLIP package (which includes HP printer/scanner drivers (filters), PPDs, and support libraries).
Working with a live CD you are at the mercy of the people who made the CD. If a driver isn't there and they made no provisions to merge the read only file system on the CD and a read-write fs you are out of luck. It is not bad design, simply the choice of the designers. You have a couple of choices it seems to me. You can install the CD system to your hard drive or you can build your own live cd with the drivers you need. In the first case, if it is actually an OS you can have a multi-boot setup which is probably not what you want. In the second case it will take some work and some learning, but it is certainly possible. You could base yours on theirs but have the added drivers you want. Is it worth the effort? Only you can answer that question.
I'm sure there are tutorials online - I haven't looked. A few years ago I had a book "Live Linux CDs" by Christopher Negus (Prentice Hall). It may be available by now online for free, I don't know. It may also be out of date, but something like that is a place to start.
Last edited by agillator; 11-23-2017 at 07:19 PM.
Reason: Added info on live cds
Can you not use a live USB instead? Make an iso file from the CD and then a bootable USB from the iso. Then add the necessary software: HPLIP (if not present) and the necessary PPD.
A PPD file is not a driver, it's just a postscript printer description file (that describes the required filtering processes and capabilities of a printer). You need to install the HPLIP package (which includes HP printer/scanner drivers (filters), PPDs, and support libraries).
Sorry, thanks for the distinction.
Quote:
It is not bad design, simply the choice of the designers.
I know everything is a compromise but this compromise sometimes means that using a new printer requires getting a whole new OS. I was surprised there was no way at all to tell the OS of the change.
Quote:
Can you not use a live USB instead? Make an iso file from the CD and then a bootable USB from the iso. Then add the necessary software: HPLIP (if not present) and the necessary PPD.
I could but I would rather use a plug-n-play live CD so I started a new thread with the different question of what distro does that.
This is my error:
No reaction at all from printer but "job completed" in CUPS.
Did you try power cycling the printer (turning off and then on again) after printing the job in CUPS. I have to do that with my Samsung laser printer. Still don't know why but print jobs get stuck in the queue unless I do this.
Did you try power cycling the printer (turning off and then on again) after printing the job in CUPS
Yes.
Ferrari said
Quote:
The required package(s) would need to be added before burning the ISO ie by the creator of the Live CD.
This is wrong, for the OP problem anyway. Artfulpup 17 live cd printed after I installed the 3 "EXE" HPLIP packages from the repo and then the "f"-series drivers appeared in the CUPS list. I don't know why Racy and other Puppy distros didn't do this with their available repo packages, from what I could tell.
Solved, but I don't see a button to mark as solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.