LinuxQuestions.org
Review your favorite Linux distribution.
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, 05:17 PM   #1
mailer
LQ Newbie
 
Registered: Nov 2017
Posts: 29

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, 05:33 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,364

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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, 05:44 PM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,364

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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, 07:15 PM   #4
mailer
LQ Newbie
 
Registered: Nov 2017
Posts: 29

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, 08:04 PM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,364

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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, 08:07 PM   #6
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,364

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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, 08:15 PM   #7
agillator
Member
 
Registered: Aug 2016
Posts: 108

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 08:19 PM. Reason: Added info on live cds
 
Old 11-24-2017, 11:47 AM   #8
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,715

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
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, 02:34 PM   #9
mailer
LQ Newbie
 
Registered: Nov 2017
Posts: 29

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 03:57 PM.
 
Old 12-08-2017, 11:49 AM   #10
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 204

Rep: Reputation: 64
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, 05:00 PM   #11
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,364

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
@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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

All times are GMT -5. The time now is 10:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration