LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Not able to print on Fedora 17 (https://www.linuxquestions.org/questions/linux-hardware-18/not-able-to-print-on-fedora-17-a-4175416365/)

fabe856 07-12-2012 11:35 AM

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

DavidMcCann 07-12-2012 12:14 PM

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.

fabe856 07-12-2012 12:26 PM

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

John VV 07-12-2012 04:05 PM

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

fabe856 07-12-2012 09:58 PM

Quote:

Originally Posted by John VV (Post 4726390)
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

John VV 07-12-2012 10:55 PM

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

fabe856 07-12-2012 11:20 PM

Thanks
Quote:

Originally Posted by John VV (Post 4726620)
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 (Post 4726620)
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

fabe856 07-13-2012 09:05 AM

Thanks
Quote:

Originally Posted by John VV (Post 4726620)
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

DavidMcCann 07-13-2012 11:20 AM

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

John VV 07-13-2012 01:22 PM

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 ?


All times are GMT -5. The time now is 09:22 AM.