LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-23-2015, 04:29 PM   #1
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 168

Rep: Reputation: Disabled
Printer problem: job done but no print


If I want to print a document from within Libreoffice, I get the message
on screen that the print job is done but a simple lpq-command tells me that the printjob is still in the queue.

When I open gedit and want to print something from there, then the print screen says:" Rendering completed". Here too, I get the message that the print is done but the print job is still in the queue.

Quote:
(lpc status-command)
DeskJet_845C:
printer is on device 'hp' speed -1
queuing is enabled
printing is enabled
no entries
daemon present

PDF:
printer is on device 'cups-pdf' speed -1
queuing is enabled
printing is enabled
no entries
daemon present
I don't know what to make of it. I uninstalled CUPS and HPLIP and reinstalled it. But it still won't work.

I run Bunsen Labs (a Debian derivative)
 
Old 11-23-2015, 09:14 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,866
Blog Entries: 18

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
Open the CUPS interface (http://localhost:631) in a browser, clear the printer queue, then send a test page to the printer and report back what happens.

It would probably be helpful to know the model of the printer and the version of Bunsen you are running. I don't know that that information would have any bearing on this, but it can't hurt to provide basic information such as that.
 
Old 11-24-2015, 03:37 PM   #3
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Arch, Debian
Posts: 859

Rep: Reputation: 245Reputation: 245Reputation: 245
I also have a HP DeskJet. When I install it in CUPS, I typically have to choose among several drivers, and not all of them work. (I usually pick one or two wrong ones first)
The symptom in these cases is similar to yours - the printer simply refuses to print.

Bottom line: If there are several drivers to choose from, try them all.
 
Old 11-25-2015, 11:58 AM   #4
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 168

Original Poster
Rep: Reputation: Disabled
I gave the command to print a test page and it says this:

Quote:
DeskJet_845C-110 Unknown Withheld 1k Unknown stopped
"Filter failed"
Strange thing is that I cannot give any administration tasks. It says: "Forbidden". Is it a permissions problem?

I don't think that my os-type has any relevance to the issue. There is only one Bunsen Labs-version out there, based upon Debian Jessie.

Last edited by validator456; 11-25-2015 at 11:59 AM.
 
Old 11-26-2015, 12:34 AM   #5
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 168

Original Poster
Rep: Reputation: Disabled
I cannot see my printer with this command:
Code:
/usr/sbin/lsusb
 
Old 11-26-2015, 10:11 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,866
Blog Entries: 18

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
Did you use HPLIP to install the printer? It should be in the repos. Note that HPLIP and the HPLIP GUI (hp-toolbox on the command line) are often two separate packages.
 
Old 11-26-2015, 10:55 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,232

Rep: Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522
Quote:
It says: "Forbidden". Is it a permissions problem?
odd

seeing as you need to be root in the cups web interface to do any administrative tasks
A pop up should have popped up asking for the root password

you should have been root and have had no "permission" problems
 
Old 11-27-2015, 01:30 AM   #8
crazy-yiuf
Member
 
Registered: Nov 2015
Distribution: Debian Sid
Posts: 119

Rep: Reputation: 51
I got a few of the same errors just today, haha:
http://www.linuxquestions.org/questi...ng-4175559983/

In summary, I installed the printer by assembling the command:

Code:
lpadmin -E -p printer -v <ip from lpinfo -v> -m <first field from lpinfo -m> -E
And then you'd have to find the command to make "printer" your default device, but you can test it with lp -d printer document-name

Perhaps more useful is just using the lpinfo -m | grep <model number> to be sure the driver is still happy. Also the user doing this stuff should be in the lpadmin group.

Last edited by crazy-yiuf; 11-27-2015 at 11:49 AM. Reason: more stuff
 
Old 11-29-2015, 12:59 AM   #9
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 168

Original Poster
Rep: Reputation: Disabled
I have got my printer back up running. This is what I did: I uninstalled (purged) CUPS and HPLIP from synaptic. Then I erased /etc/cups. But then I no longer could install cups again (for some reason). That freaked me out thinking that I had done some enormous blunder (I deleted instead of renaming the directory). I asked the Bunsen Labs forum for specific advice on the issue:

https://forums.bunsenlabs.org/viewto...pid=9716#p9716

They pointed out to me that no harm was done to my system. I reinstalled CUPS and HPLIP. And added my device on the command line with sudo. That worked.

Thank you for taking the time to answer my question.
 
Old 06-25-2016, 01:01 PM   #10
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 168

Original Poster
Rep: Reputation: Disabled
For those who come with the same question as I did:
There's the cupsenable command <<<<<<<<<


cupsenable [printer]


starts a disabled printer

(to find out the printername you can list your printers with lpstat -p or lpc status).

You may have to run the command as root or through sudo.
 
  


Reply

Tags
print, print queue


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
Print job stops, will not print OS: Fedora 16, Printer Samsung ML-2955ND Entwicklung Linux - General 9 05-18-2013 09:00 AM
Wish to cancel print job; Software: unknown; printer: panasonic kx-p1150 pssszzt Linux - Newbie 2 11-13-2010 05:59 PM
Determine Printer Required For Print Job? tsilihin Linux - Networking 0 04-29-2004 09:09 PM
Print job doesn't get to the printer bsnider Linux - Hardware 1 08-04-2003 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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