LinuxQuestions.org
Visit Jeremy's Blog.
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 07-12-2012, 11:35 AM   #1
fabe856
Member
 
Registered: Apr 2012
Posts: 99

Rep: Reputation: Disabled
Not able to print on Fedora 17


Hi,
I installed HP Laserjet P1007 using Add Printer wizard on Fedora 17 with net connected. It asked for some downloads which I did. Now it is displaying the printer but when i give a print job , it is just adding it to the queue but does not print. It is showing all jobs in print queue. I tried to delete print jobs and restated the system but i was not able to print.
Power supply to the printer is ON and I am using USB port of PC

please suggest a solution.

Regards
Fabe
 
Old 07-12-2012, 12:14 PM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,055

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
It might be a SELinux problem. System Administration should include a graphical tool to enable you to switch from the enforcing mode to the permissive. Try that and see if you can print then.
 
Old 07-12-2012, 12:26 PM   #3
fabe856
Member
 
Registered: Apr 2012
Posts: 99

Original Poster
Rep: Reputation: Disabled
Thanks,
I used
#setenforce 0
and then tried "Print test page" by opening printer properties. It didn't work.
In the "Print Document Status" it is showing status as completed.

Please suggest some other command

Regards
 
Old 07-12-2012, 04:05 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,898

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
I have never seen SE error on a printer
and a HP laserjet at that
hp supports CUPS

unless there is a major bug in the current selinux definitions for CUPS
se is not the problem

use the WEB interface for cups
http://localhost:631/
that above address IS YOUR computer
add the printer and when a pop up asks for the root username and pass add it ind tell firefox to save it ( unless this is a "open to the public" computer)

then from the web interface print a test page

Last edited by John VV; 07-12-2012 at 04:06 PM.
 
Old 07-12-2012, 09:58 PM   #5
fabe856
Member
 
Registered: Apr 2012
Posts: 99

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
use the WEB interface for cups
http://localhost:631/
that above address IS YOUR computer
add the printer and when a pop up asks for the root username and pass
When i add printer using cups it shows:
Unable to add printer:
Forbidden
What may be the problem

However on clicking Printers tab on web interface for cups it shows following two printers:
▲ Queue Name ▲ Description Location Make and Model Status
HP-LaserJet-P1007 Hewlett-Packard HP LaserJet P1007 localhost.localdomain HP LaserJet P1007 Foomatic/foo2xqx (recommended) Idle - "Printer is now connected."

Hewlett-Packard-HP-LaserJet-P1007 Hewlett-Packard HP LaserJet P1007 localhost.localdomain HP LaserJet p1007, hpcups 3.12.4, requires proprietary plugin Idle - "/usr/lib/cups/filter/hpcups failed"

Regards

Last edited by fabe856; 07-12-2012 at 10:35 PM. Reason: Clarification
 
Old 07-12-2012, 10:55 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,898

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
from the web interface ( as a normal every day user NOT AS ROOT- that will not work )
click "add printer"
you WILL be asked for the root user and password in a pop up
type in
user: root
password: ( the password you used )

then you can delete the installed settings and start fresh
but 99.99% of the time the auto detected settings " just work"

from the first post
Quote:
It asked for some downloads which I did
odd almost all of the HP printers are in the cups software that was installed at the time of fedora being installed
there normally is nothing to download and install


And a usb HP laserJet printer "should" be auto detected and auto set up
with nothing to download and install .It "should " just work " out of the box




An idea ?
this might be what is causing some problems ? maybe?

was the printer connected to the computer when you installed fedora 17 ?
if not that would cause the printer to NOT be set up and CUPS to have been needed to be downloaded now
 
Old 07-12-2012, 11:20 PM   #7
fabe856
Member
 
Registered: Apr 2012
Posts: 99

Original Poster
Rep: Reputation: Disabled
Thanks
Quote:
Originally Posted by John VV View Post
from the web interface ( as a normal every day user NOT AS ROOT- that will not work )
click "add printer"
you WILL be asked for the root user and password in a pop up .......
No pop up appears and it does not ask for any id and pw

Quote:
Originally Posted by John VV View Post
was the printer connected to the computer when you installed fedora 17 ?
if not that would cause the printer to NOT be set up and CUPS to have been needed to be downloaded now
Printer was not connected at the time of fedora installation.

Regards
 
Old 07-13-2012, 09:05 AM   #8
fabe856
Member
 
Registered: Apr 2012
Posts: 99

Original Poster
Rep: Reputation: Disabled
Thanks
Quote:
Originally Posted by John VV View Post
from the web interface ( as a normal every day user NOT AS ROOT- that will not work )
click "add printer"
you WILL be asked for the root user and password in a pop up .......
i used make cups
then i tried cups web interface and gave user id and pw .
I followed the instructions for installation but still not able to print.

Regards
 
Old 07-13-2012, 11:20 AM   #9
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,055

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
It may be a silly question, but did you uninstall the printer using the wizard before trying to install with CUPS?

If that doesn't work, do you have hplip? If you don't, it should be in the repository. If you do, then
use the services manager to enable and start the hplip daemon
uninstall the printer
run hp-setup in a terminal emulator
 
Old 07-13-2012, 01:22 PM   #10
John VV
Guru
 
Registered: Aug 2005
Posts: 12,898

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
Quote:
i used make cups...
I followed the instructions for installation but still not able to print.
? question

did you build the software from source ?

instead of the normal install of the cups software
Code:
su -
yum search cups
--- then from that list you will see "cups"----
yum install cups

what EXACTLY did you install and what did you do ?
 
  


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
Print in Fedora 10 dude998866 Linux - Software 1 12-11-2008 03:44 PM
Getting HP 6840 to print with Fedora 8? tomva Linux - Hardware 5 06-17-2008 07:21 AM
Fedora 7 print errors - %!PS-Adobe-3.0 tarheel92x Linux - Networking 1 09-10-2007 11:50 AM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
Can't print or scan with Fedora 1 jdtiede Linux - Software 2 03-06-2004 07:57 PM


All times are GMT -5. The time now is 08:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration