hp laserjet p1008 installed but not printing, however it printed once for first time

Asked by santhust

hi.
i am using ubuntu 8.10 on Dell inspiron 1525 laptop
 yesterday i bought HP Laser jet P1008 laser printer. i had previously checked that the drivers are there for the same in my operating system. when i connected the printer through USB, it got installed. when i try to print some document then i see my printer's name listed there. but when i press the print button then nothing is printed. however it has been able to print once, one page, yesterday. i am able to print the documents in windows vista (which is another OS installed in my laptop).each time i press the print button, the job number increases by one and now it has reached 19 after my multiple trials for printing. here below i am attaching a copy which may be of some help.

Page 1 (Choose printer):
{'cups_dest': <cups.Dest object at 0x8dd13a0>,
 'cups_instance': None,
 'cups_queue': 'HP_LaserJet_P1008',
 'cups_queue_listed': True}
Page 2 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
 'cups_printer_dict': {'device-uri': u'hp:/usb/HP_LaserJet_P1008?serial=DC09F1M',
                       'printer-info': u'Hewlett-Packard HP LaserJet P1008',
                       'printer-is-shared': True,
                       'printer-location': u'',
                       'printer-make-and-model': u'HP LaserJet P1006 Foomatic/foo2xqx (recommended)',
                       'printer-state': 3,
                       'printer-state-message': u'',
                       'printer-state-reasons': [u'none'],
                       'printer-type': 167956,
                       'printer-uri-supported': u'ipp://localhost:631/printers/HP_LaserJet_P1008'},
 'is_cups_class': False}
Page 3 (Printer state reasons):
{'printer-state-message': '', 'printer-state-reasons': 'none'}
Page 4 (Print test page):
{'test_page_attempted': True,
 'test_page_completions': [(16, u'Job completed.'), (17, u'Job completed.')],
 'test_page_job_id': [16, 17],
 'test_page_job_status': [(16, 'HP_LaserJet_P1008', 'Test Page'),
                          (17, 'HP_LaserJet_P1008', 'Test Page')],
 'test_page_jobs_cancelled': True,
 'test_page_successful': False}
Page 5 (Printer state reasons):
{'printer-state-message': '', 'printer-state-reasons': 'none'}

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Karunesh Johri (kj-softprayog) said :
#1

I am having a similar problem with HP1007. I have a dual boot system running Windows Vista and Ubuntu 8.10. If I print something under Vista and reboot into Ubuntu without switching off the printer, it prints fine under Ubuntu. But, if I switch on the printer under Ubuntu, it does not print. It looks as if some firmware gets downloaded into the printer from computer when it prints the first job, which does not seem to be happening under Linux. Also, I got errors (most probably segmentation fault) while installing HPLIB.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Please try to install hplip package

First please check if you hp printer is supported by hplip http://hplipopensource.com/hplip-web/supported_devices/index.html

Then please open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo apt-get update
sudo apt-get install hplip

give your user password when requested, you don't see nothing when you type it, then press enter.

Then to setup hplip type:

sudo hp-setup

Hope this helps

Revision history for this message
santhust (santhust31) said :
#3

(KARUNESH JOHRI REPLIED
I am having a similar problem with HP1007. I have a dual boot system running Windows Vista and Ubuntu 8.10. If I print something under Vista and reboot into Ubuntu without switching off the printer, it prints fine under Ubuntu. But, if I switch on the printer under Ubuntu, it does not print. It looks as if some firmware gets downloaded into the printer from computer when it prints the first job, which does not seem to be happening under Linux. Also, I got errors (most probably segmentation fault) while installing HPLIB.)

I agree with karunesh johri. i am also facing the same problem with hp p1008 laser jet

Revision history for this message
santhust (santhust31) said :
#4

this is a REPLY TO MARCOBRA'S suggestion

hi, i have already tried to do what you have suggested, but unsuccessfully. i went to hplip site from where i could download the hplip for hp p1008:
http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_p1008.html

then i followed the instructions there to install it. it went fine till configuring the package iu.e. downloading package, configuring it. but "step 5" listed there couldn't be done.where i had to "run make" as a regular user and not as root, i could not understand it as i am new to ubuntu/linux. however i copied and pasted the command listed there in the terminal but was unsuccessful. this is what i got:

santhust@santhust-laptop:~$ make
make: *** No targets specified and no makefile found. Stop.

this is what step 5 says:

"step 5": this will compile the hplip source
             note: you need to run make as regular user and not as root
Enter this command:
make

when i print some thing in vista ( which is another operating system which i am using) and then restart from there into the ubuntu then it can print. however when i turn on the computer straight in the ubuntu, then the printer doesn't print, the job is queued up as is shown as processed!

Revision history for this message
santhust (santhust31) said :
#5

this is a REPLY TO MARCOBRA'S suggestion

hi, i have already tried to do what you have suggested, but unsuccessfully. i went to hplip site from where i could download the hplip for hp p1008:
http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_p1008.html

then i followed the instructions there to install it. it went fine till configuring the package iu.e. downloading package, configuring it. but "step 5" listed there couldn't be done.where i had to "run make" as a regular user and not as root, i could not understand it as i am new to ubuntu/linux. however i copied and pasted the command listed there in the terminal but was unsuccessful. this is what i got:

santhust@santhust-laptop:~$ make
make: *** No targets specified and no makefile found. Stop.

this is what step 5 says:

"step 5": this will compile the hplip source
             note: you need to run make as regular user and not as root
Enter this command:
make

when i print some thing in vista ( which is another operating system which i am using) and then restart from there into the ubuntu then it can print. however when i turn on the computer straight in the ubuntu, then the printer doesn't print, the job is queued up as is shown as processed!

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Please tell are you doing this steps... http://hplipopensource.com/hplip-web/install/install/index.html ...?

Thank you

Revision history for this message
santhust (santhust31) said :
#7

reply to marcobra.

no. the page you have listed is for automatic installation of hplip 3.9.2. but firstly, i did manual installation whose site address is:
 http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html
it is about this site whose steps i followed first.

after replying to your previous suggestion, i did automatic installation by following:
applications>accessories>hp device manager

then took help. from there followed the instructions at
file:///usr/share/doc/hplip-2.8.2/install/install/index.html
downloaded hplip-2.8.2.run for automatic installation.
the site address was
http://prdownloads.sourceforge.net/hplip/hplip-2.8.2.run
and followed the steps.

but here also, in the step 13: select the printer to be configured
in the dialog box my printer was not listed. no device was found. when i tried to find the printer manually, it was detected. then, when i pressed the next button, the mouse pointer changed to busy status and remained so. nothing happened for long time. so i canceled that dialog box and retried. but the same result.

now when i start the hp device manager, it shows the message:
ERROR: no device found or unsupported device.
and in the left-side of the same dialog box my printer is indicated by an icon with a cross in the red marked over it.

Revision history for this message
santhust (santhust31) said :
#8

clarification:
i am using ubuntu 8.04.2
i am sorry that initially the information of the same provided was wrong

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
santhust (santhust31) said :
#10

i haven't got a solution to this problem

Revision history for this message
Launchpad Janitor (janitor) said :
#11

This question was expired because it remained in the 'Open' state without activity for the last 15 days.