Link to home
Create AccountLog in
Avatar of xRalf
xRalf

asked on

How do I get an HP Deskjet F4210 to work?

Hello

I brought to home my friend's printer (HP Deskjet F4210). I'm using Xubuntu 10.04.
When I use the command

lpr scanned.pdf

the printer does nothing. lpq writes

Deskjet-F300-series is not ready
Rank    Owner   Job     File(s)                         Total Size
1st     xralf 61      scanned.pdf                     1690624 bytes
2nd     xralf 62      (stdin)                         0 bytes
3rd     xralf 63      scanned.pdf                     1690624 bytes

I installed the driver according to this manual

Could you help me to figure out what is wrong?
Avatar of Phiwi Moyo
Phiwi Moyo
Flag of Germany image

Update your cups :

sudo apt-get install cupsys cupsys-client
Avatar of xRalf
xRalf

ASKER

I updated cups but nothing changed.
Run this command it will perform a check on your dependences, read the log and (apt-get install ****** packages)
Avatar of xRalf

ASKER

This command?

apt-get install ****** packages

Why so many stars?
Sorry that was not clear, I meant once you find out the missing dependences, install them replacing the stars with the missing dependecy.

e.g apt-get install cups (if cups is missing) is it clear now?

Avatar of xRalf

ASKER

How can I find out which dependencies are missing?
Try the following, I know it runs on Fedora I am not sure on Ubuntu:

hp-check -t
Avatar of xRalf

ASKER

hp-check -t ends with error message
error:  No system tray detected on this system.  Unable to start, exiting. 

Open in new window

The driver install did not go well.

apt-get clean

apt-get update

Then re-install drivers again.
Avatar of xRalf

ASKER

I installed it again. It printed the test page.
but the problem described in the question remains.
Time to get a moderator to reffer the question to Geniuses or extra attention.
Avatar of xRalf

ASKER

OK, I will post it to the moderator. Thank you for your help.
Avatar of farzanj
You should use the cups GUI

Open a web browser

Enter the address

http://localhost:631

You need to find your printer in the add a printer option

When you open the web browser, you would find the following heading on the page

CUPS for Administrators
|
----------->Adding Printers and Classes
                           |
                           ---->  Printers ----------> Add Printer  (Try this first, if you don't get success, go to find new printer option)
Please try my solution above
Avatar of xRalf

ASKER

I tried the cups GUI,

I can print the test page, but the problem still remains.
In the GUI, there is an option to make it ready.

If this is not the problem, please be more specific and show exact error messages, may be screen shots so that I can help you.
Avatar of xRalf

ASKER

I printed a test page.

In the GUI -> Printers it has Status "Idle - "ready to print"" so that should mean that it is ready.

But lpq shows
Deskjet-F300-series is not ready

F300 is my own disconnected printer. Why it doesn't show the F4210 printer?
Try

enable <printerName>
Do:
enable destination

or
cupsenable destination
SO it should be,

enable Deskjet-F300-series

or

cupsenable Deskjet-F300-series
Avatar of xRalf

ASKER

I need to enable F4210 printer, with F300 connected there was no problem.
I don't know how to find out the name of cupsenable parameter.

I'm sending the output of
$ sudo lsusb -v -s 002 > printer_information
printer-information
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
If it is just a matter of wrong default printer, you can easily make the printer of your choice default by issuing command

 
lpoptions -d <PRINTER_NAME>

Open in new window


Where the PRINTER_NAME should be obtained and available in both of the first two commands given above.  
Avatar of xRalf

ASKER

$ lpstat -p
printer Deskjet-F300-series disabled since Fri 25 Mar 2011 10:28:48 AM CET -
	Unplugged or turned off
printer Deskjet-F4200-series is idle.  enabled since Mon 04 Apr 2011 09:55:08 AM CEST
printer Deskjet_F4200 is idle.  enabled since Mon 04 Apr 2011 09:55:08 AM CEST
printer HP_Deskjet_F4200_series is idle.  enabled since Mon 04 Apr 2011 09:55:08 AM CEST

Open in new window


$ lpstat -a
Deskjet-F300-series accepting requests since Fri 25 Mar 2011 10:28:48 AM CET
Deskjet-F4200-series accepting requests since Mon 04 Apr 2011 09:55:08 AM CEST
Deskjet_F4200 accepting requests since Mon 04 Apr 2011 09:55:08 AM CEST
HP_Deskjet_F4200_series accepting requests since Mon 04 Apr 2011 09:55:08 AM CEST

Open in new window


$ lpstat -d
system default destination: Deskjet-F300-series

$ sudo lpoptions -d HP_Deskjet_F4200_series
auth-info-required=none copies=1 device-uri=hp:/usb/Deskjet_F4200_series?serial=CN8BD4G1XS05C3 finishings=3 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 media=na_letter_8.5x11in number-up=1 printer-commands=none printer-info='HP Deskjet F4200 series' printer-is-accepting-jobs=true printer-is-shared=false printer-location printer-make-and-model='HP Deskjet f4200 Series, hpcups 3.11.3a' printer-state=3 printer-state-change-time=1301903708 printer-state-reasons=none printer-type=2134028 printer-uri-supported=ipp://localhost:631/printers/HP_Deskjet_F4200_series

Open in new window


lpr scanned.pdf works now, but it prints very big text (approximately 20 times bigger).

SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of xRalf

ASKER

Thank you
$ sudo lpoptions -o scaling=100 -p HP_Deskjet_F4200_series

Open in new window

works perfectly.

That's interesting that in F300 printer there is not needed to set scaling.