LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-12-2012, 11:35 AM   #1
fabe856
Member
 
Registered: Apr 2012
Posts: 115

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
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,141

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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: 115

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
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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: 115

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
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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: 115

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: 115

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
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,141

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

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



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

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

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