hp all in one dection

Larry Grover lgrover at zoominternet.net
Thu Sep 1 13:25:20 UTC 2005


Charles Yao wrote:
> On 9/1/05, Larry Grover <lgrover at zoominternet.net> wrote:
> 
>>Charles Yao wrote:
>>
>>>On 9/1/05, Larry Grover <lgrover at zoominternet.net> wrote:
>>>
>>>
>>>>Charles Yao wrote:
>>>>
>>>>
>>>>>On 8/30/05, Larry Grover <lgrover at zoominternet.net> wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Charles Yao wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Actaully, the problem with the link i posted is that scanning still
>>>>
>>>>does
>>>>
>>>>
>>>>>>not
>>>>>>
>>>>>>
>>>>>>
>>>>>>>work. My unit is an HP Laserjet 3015 MFP. For both printing and 
>>
>>faxing
>>
>>>>>>its
>>>>>>
>>>>>>
>>>>>>
>>>>>>>just plug and play. But when i try to install the driver to get
>>>>
>>>>scanning
>>>>
>>>>
>>>>>>>this is what i get when i use the command
>>>>>>>
>>>>>>>"$./configure --prefix=/usr"
>>>>>>>
>>>>>>>checking for a BSD-compatible install... /usr/bin/install -c
>>>>>>>checking for jpeg_set_defaults in -ljpeg... no
>>>>>>>configure: error: "cannot find libjpeg support"
>>>>>>>root at GreenleeCP1:/home/ccyao/hpijs-2.1.4 # apt-get install libjpeg
>>>>>>>Reading package lists... Done
>>>>>>>Building dependency tree... Done
>>>>>>>E: Couldn't find package libjpeg
>>>>>>
>>>>>>
>>>>>>I can't help with your all-in-one device, but your compile may be
>>>>>>failing because you don't have the libjpeg *development* package
>>>>>>installed. Try running "sudo apt-get install libjpeg62-dev" before
>>>>>>"./configure".
>>>>>>
>>>>>>Regards,
>>>>>>Larry
>>>>>>
>>>>>
>>>>>Hi Larry,
>>>>>
>>>>>It worked, but now these commands do not work:
>>>>>
>>>>>1. Enter this command:
>>>>># /etc/init.d/hplip restart
>>>>>2. Enter this command:
>>>>># /etc/init.d/cups restart
>>>>>
>>>>>when i make these commands im in the directory of the printer driver.
>>>>>
>>>>>Any ideas?
>>>>
>>>>I don't have one of these printers nor do I have this software on any
>>>>of my systems, so my suggestions are going to be generic.
>>>>
>>>>What errors do you see after you enter the commands? The error
>>>>message may indicate what the problem is.
>>>>
>>>>Are you preceding the commands with "sudo"? You shouldn't be able to
>>>>stop/start these services without root priviledges.
>>>>
>>>>Do these files actually exist on your system? What do you get when
>>>>you enter "ls /etc/init.d/hplip" and "ls /etc/init.d/cups"? Perhaps
>>>>you meant "cupsys" instead of "cups". Are you sure the software you
>>>>compiled and installed actually put these files into /etc/init.d?
>>>>
>>>>Regards,
>>>>Larry
>>>>
>>>>--
>>>>ubuntu-users mailing list
>>>>ubuntu-users at lists.ubuntu.com
>>>>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>>>
>>>
>>>Hi Larry,
>>>
>>>I just followed the HP instructions
>>>
>>>http://hpinkjet.sourceforge.net/install.php#debian_env
>>>
>>>When I run /etc/init.d/hplip
>>>
>>>it says: sudo: /etc/init.d/hplip: command not found
>>>
>>>Im basically a noob so I dont really know how much of this stuff works.
>>>
>>>Charles
>>
>>
>>The "command not found" is telling you that the file /etc/init.d/hplip
>>does not exist.
>>
>>Is it possible that you never actually completed the compile and
>>install? Did you run these three commands:
>>
>>./configure --prefix=/usr
>>make
>>sudo make install
>>
>>The "make" command would compile the software, and the "make install"
>>command would install all the various programs and scripts that are
>>part of the software package.
>>
>>If you didn't actually run these two commands, *don't*. Instead I
>>suggest you install the "checkinstall" package (via synaptic or
>>apt-get). Checkinstall will create a package (deb) that you can
>>install (or remove) using dpkg. The advantage will be the ability to
>>track the package installation and allow easy removal (in case you no
>>longer need it or want it). I can give you some tips on using
>>checkinstall, if you want.
>>
>>If you're certain that you ran the "make" and "make install" commands,
>>then I suggest you execute this command:
>>
>>sudo find /etc -name hplip
>>
>>and post the result. For some reason the hplip script is not in
>>/etc/init.d. The find command will help you locate "hplip".
>>
>>Regards,
>>Larry
>>
>>--
>>ubuntu-users mailing list
>>ubuntu-users at lists.ubuntu.com
>>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
> 
> 
> 
> Hi Larry,
> 
> I used the command, it asked me for my password and then after that nothing 
> happened.
> 
> Charles
> 
> 

If you ran the find command ("sudo find /etc -name hplip") and there 
was no output, then the file "hplip" does not exist anywhere within /etc.

Something must have gone wrong with your compile, or your install. 
Either the compile or install failed, or else the install placed the 
files in some strange place.

Can you try running these commands?

First:
sudo find / -name hplip

This will search your entire directory tree for the "hplip" script. 
Be patient. It may take several minutes to complete, maybe longer, 
depending on how fast your system is and how many files you have 
stored on it.

If "sudo find / -name hplip" does not find anything, please try this 
command:
sudo find / -name "hplip*"

This second "find" command will search for any file that begins with 
"hplip", and it should at least locate some files within the directory 
where you ran the the "configure", "make" and "make install" commands.

Please post the output you get from running these two additional 
"find" commands.

If you don't turn up a file named "hplip" somewhere on your system, 
then the installation (and perhaps the compile, too) failed.

Regards,
Larry





More information about the ubuntu-users mailing list