LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-23-2017, 04:17 PM   #1
mailer
Member
 
Registered: Nov 2017
Posts: 32

Rep: Reputation: Disabled
HP F340 failure to print but "job completed" in CUPS


These are my specs:
several Puppy distros from last few years, live CD
CUPS
HP F340 Deskjet all-in-one printer, local USB

This is what I am trying to do:
Print test page.

This is my error:
No reaction at all from printer but "job completed" in CUPS.

There was no F-series driver in the driver list.

Please help.

Thanks.
 
Old 11-23-2017, 04:33 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
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

https://developers.hp.com/hp-linux-i..._devices/index
 
Old 11-23-2017, 04:44 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
More specific info for the distro you're using...
http://puppylinux.org/wikka/Printing
General information...
http://puppylinux.org/wikka/ComponentHowTo
 
Old 11-23-2017, 06:15 PM   #4
mailer
Member
 
Registered: Nov 2017
Posts: 32

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.

This page didn't open for me:
https://developers.hp.com/hp-linux-i..._devices/index

This page has an empty PPD file of 0 bytes:
http://openprinting.org/printer/HP/HP-deskjet_f340

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?
 
Old 11-23-2017, 07:04 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
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).
 
Old 11-23-2017, 07:07 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
Does anyone know how to add a driver to CUPS in a live CD environment?
The required package(s) would need to be added before burning the ISO ie by the creator of the Live CD.
 
Old 11-23-2017, 07:15 PM   #7
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
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
 
Old 11-24-2017, 10:47 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
Old 11-24-2017, 01:34 PM   #9
mailer
Member
 
Registered: Nov 2017
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
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.

https://www.linuxquestions.org/quest...ip-4175618318/

Last edited by mailer; 11-24-2017 at 02:57 PM.
 
Old 12-08-2017, 10:49 AM   #10
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
This is what I am trying to do:
Print test page.

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.
 
Old 12-08-2017, 04:00 PM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
@tofino_surfer: Is this a USB-connected printer? If so, there’s a long-standing bug report that may be of interest to you
https://bugs.launchpad.net/ubuntu/+s...ps/+bug/872483
 
Old 12-28-2017, 07:51 PM   #12
mailer
Member
 
Registered: Nov 2017
Posts: 32

Original Poster
Rep: Reputation: Disabled
tofino_surfer said:
Quote:
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.

Last edited by mailer; 12-28-2017 at 08:10 PM.
 
Old 12-28-2017, 08:42 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
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.
This reads like you installed it (as opposed to running live)?
 
  


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] CUPS - job completed, but no print out on the printer? pielas Linux - Hardware 12 07-11-2017 02:34 PM
[CUPS][HP] Printer not working althought "printing completed" message spiri13 Linux - Newbie 16 05-12-2017 03:41 AM
seeking config "send email" when print job completed SaintDanBert Linux - Server 3 12-29-2013 11:41 AM
Failure to print, Paused - "/usr/lib/cups/backend/hp failed" MadmanJack Linux - Newbie 3 04-15-2012 12:03 AM
CUPS v6 Windows Driver Printing Preferences--"Operation could not be completed" meself88 Linux - General 1 07-12-2006 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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