hplip and hpliplite packages
Can't switch between print and Scan
Hi
I installed the HPlite pet - Printer/Scanner = HP F2280
Printing working fine.
Xsane sees the scanner but says the "device is busy".
Turn printer off and back on - Xsane now finds the scanner and works fine BUT now the device will not print.
Turn printer off and back on - Scanner still OK but printer not working.
I installed the HPlite pet - Printer/Scanner = HP F2280
Printing working fine.
Xsane sees the scanner but says the "device is busy".
Turn printer off and back on - Xsane now finds the scanner and works fine BUT now the device will not print.
Turn printer off and back on - Scanner still OK but printer not working.
Okay, after spending another 6 hours attempting to install the printer,
I finally got back to where I was when Ifirst posted to this thread!
(Along the way I uninstalled the latest hplip-lite pet and downloaded the
official one, hpliplite-3.9.8-mu-p4.pet, but in retrospect I'm confident
this was not necessary.)
I made the "-U" change, and downloaded and installed the necessary
library. It all works, now.
I believe I have identified the problem that was causing the CUPS
firefox installation process to crawl along so slowly. There should be
a way to return CUPS configuration to its 'factory default'. Somehow,
the list of printer names is not being cleared, and it seems each time
that I attempted to install the printer, the manufacturers list of
printers kept being added to the list I had to scroll through. So instead
of scrolling through a list of, say, 500 hp printers, I ended up scrolling
through a list of tens of thousands of printers, the list comprising
groups of up to 81 adjacent identical lines. (Had I really tried to install
it 81 times?? No, I definitely had not.) Now, it wasn't good enough to
highlight just any corresponding printer name, it had to be the first
matching printer name, otherwise it then said unable to copy
ppd file. Firefox was taking 90% of the CPU just to try to
scroll through this list, and the "blue bar" was not present so I could
not see what was currently selected. What an ordeal! I don't think I
should yet try to tempt windows users to try puppy linux.
I finally got back to where I was when Ifirst posted to this thread!
(Along the way I uninstalled the latest hplip-lite pet and downloaded the
official one, hpliplite-3.9.8-mu-p4.pet, but in retrospect I'm confident
this was not necessary.)
I made the "-U" change, and downloaded and installed the necessary
library. It all works, now.
I believe I have identified the problem that was causing the CUPS
firefox installation process to crawl along so slowly. There should be
a way to return CUPS configuration to its 'factory default'. Somehow,
the list of printer names is not being cleared, and it seems each time
that I attempted to install the printer, the manufacturers list of
printers kept being added to the list I had to scroll through. So instead
of scrolling through a list of, say, 500 hp printers, I ended up scrolling
through a list of tens of thousands of printers, the list comprising
groups of up to 81 adjacent identical lines. (Had I really tried to install
it 81 times?? No, I definitely had not.) Now, it wasn't good enough to
highlight just any corresponding printer name, it had to be the first
matching printer name, otherwise it then said unable to copy
ppd file. Firefox was taking 90% of the CPU just to try to
scroll through this list, and the "blue bar" was not present so I could
not see what was currently selected. What an ordeal! I don't think I
should yet try to tempt windows users to try puppy linux.
Dude - it's not normally an ordeal. You seem to have had something uniquely weird go wrong with your CUPS.What an ordeal! I don't think I
should yet try to tempt windows users to try puppy linux.
Normally one would just download and install hplip-lite, select the printer and be done in about 2 minutes. On Windows it takes me about half an hour to install a hugely bloated set of drivers and programs (can't just install the drivers), which then give me an incredibly slow, memory hungry and user-unfriendly interface to do things. Then when I want to print from a networked computer I can't because it runs a newer version of Windows, so I have to contact HP support to give me a secret link to a secret 80MB drivers only package. Give me CUPS+HPLIP-lite+Sane any day
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
I can't comment on how CUPS is configured in Dpup, but the ususal solution to the multiple-entry issue is to just reboot your machine. Or kill and restart the CUPS daemon.There should be a way to return CUPS configuration to its 'factory default'.
One of the advantages of CUPS 1.3.x is that you don't need to mess with static PPD files which may get duplicated on your system. They can be generated on-the-fly from a single database, so your particular situation would be avoided.
Last edited by rcrsn51 on Sat 06 Feb 2010, 13:21, edited 1 time in total.
possible workaround?
@Shep
Sorry for all your problems getting hpliplite to work. I have reproduced the repetition you mention when trying to install a printer with hpliplite-3.9.8 and 3.9.12 versions. I do not know the reason that causes it, but I guess (fingers crossed) I have found a possible workaround.
If you don't mind trying it and giving feedback, I suggest the following
1. Stop cups with the command
/etc/init.d/cups stop
2. remove a symbolic link (which I believe is the cause of the problem)
rm /usr/share/ppd/ppd
3. Replace the file /etc/cups/ppds.dat (where cups stores the list of the printers), which is corrupted due to the above looping link, by the one I attach in the end of this message. Please note that you have to gunzip it and then copy it at the correct location and file permissions: The sequence of commands is:
gunzip ppds.dat.gz
cp ppds.dat /etc/cups/ppds.dat
chmod 644 /etc/cups/ppds.dat
4. Restart cups issuing
/etc/init.d/cups start
That should be all.
I hope that helps.
Sorry for all your problems getting hpliplite to work. I have reproduced the repetition you mention when trying to install a printer with hpliplite-3.9.8 and 3.9.12 versions. I do not know the reason that causes it, but I guess (fingers crossed) I have found a possible workaround.
If you don't mind trying it and giving feedback, I suggest the following
1. Stop cups with the command
/etc/init.d/cups stop
2. remove a symbolic link (which I believe is the cause of the problem)
rm /usr/share/ppd/ppd
3. Replace the file /etc/cups/ppds.dat (where cups stores the list of the printers), which is corrupted due to the above looping link, by the one I attach in the end of this message. Please note that you have to gunzip it and then copy it at the correct location and file permissions: The sequence of commands is:
gunzip ppds.dat.gz
cp ppds.dat /etc/cups/ppds.dat
chmod 644 /etc/cups/ppds.dat
4. Restart cups issuing
/etc/init.d/cups start
That should be all.
I hope that helps.
- Attachments
-
- ppds.dat.gz
- (11.99 KiB) Downloaded 638 times
Re: possible workaround?
I'm not clear on the procedure I should follow. Do you want me to firstlluamco wrote:@Shep
If you don't mind trying it and giving feedback, I suggest the following
1. Stop cups with the command
/etc/init.d/cups stop
uninstall the printer, then click on the CUPS wizard and begin reinstalling
the printer? And at what stage do I go to a terminal screen and stop CUPS?
CUPS is not a constantly running background process here. Should it be??
Last edited by Shep on Tue 09 Feb 2010, 09:03, edited 1 time in total.
Are you saying what I tripped up on is a known issue?rcrsn51 wrote:I can't comment on how CUPS is configured in Dpup, but the ususal solution to the multiple-entry issue is to just reboot your machine.There should be a way to return CUPS configuration to its 'factory default'.
The machine was shut two nights in a row, and that did nothing to fix
the problem.
Re: possible workaround?
I was suggesting to open a terminal screen and run the commands. Afterwards,Shep wrote:I'm not clear on the procedure I should follow. Do you want me to firstlluamco wrote:@Shep
If you don't mind trying it and giving feedback, I suggest the following
1. Stop cups with the command
/etc/init.d/cups stop
uninstall the printer, then click on the CUPS wizard and begin reinstalling
the printer? And at what stage do I go to a terminal screen and stop CUPS?
you can install/reinstall your printer using the cups wizard.
In the meantime, I have realized that the commands to be executed in the terminal can be simplified to this four command's sequence:
Code: Select all
/etc/init.d/cups stop
rm /usr/share/ppd/ppd
rm /etc/cups/ppds.dat
/etc/init.d/cups start
Edit: cupsd is constantly running in the background in puppy 4.3.1. I do not know in dpup.
Re: possible workaround?
Showing caution, I tentatively tried:lluamco wrote:Code: Select all
/etc/init.d/cups stop rm /usr/share/ppd/ppd rm /etc/cups/ppds.dat /etc/init.d/cups start
# /etc/init.d/cups stop
cups: stopped scheduler.
# ls -l /usr/share/ppd/ppd
lrwxrwxrwx 1 root root 14 2010-02-04 21:58 /usr/share/ppd/ppd -> /usr/share/ppd
# ls -l /etc/cups/ppds.dat
ls: cannot access /etc/cups/ppds.dat: No such file or directory
Is that informative?
And there is no cups string in `ps a` here, though I don't have a
printer connected right now.
Re: possible workaround?
OK, I have been looking at dpup. It uses cups.1.3.8, a more recent version that the one included in puppy.4.3.1. The cups daemon is also permanently running, and you can check it issuingShep wrote:Showing caution, I tentatively tried:lluamco wrote:Code: Select all
/etc/init.d/cups stop rm /usr/share/ppd/ppd rm /etc/cups/ppds.dat /etc/init.d/cups start
# /etc/init.d/cups stop
cups: stopped scheduler.
# ls -l /usr/share/ppd/ppd
lrwxrwxrwx 1 root root 14 2010-02-04 21:58 /usr/share/ppd/ppd -> /usr/share/ppd
# ls -l /etc/cups/ppds.dat
ls: cannot access /etc/cups/ppds.dat: No such file or directory
Is that informative?
And there is no cups string in `ps a` here, though I don't have a
printer connected right now.
Code: Select all
ps aux | grep cupsd
Code: Select all
/etc/init.d/cups stop
rm /usr/share/ppd/ppd
rm /var/cache/cups/ppds.dat
/etc/init.d/cups start
Finally, when you install the printer, there are still some models repeated, but only a few times (two times, typically). I think this is harmless...
hpliplite-3.10.2
hpliplite updated to version 3.10.2
See first post
See first post
Re: hpliplite-3.10.2
lluamco wrote:hpliplite updated to version 3.10.2
See first post
I am getting a "Media Tray Empty" error, though there is paper and this printer was recently working on a different pc.
I followed the instructions:
hpliplite-3.10.2 INSTALLATION:
Please install first the package libnetsnmp-15.pet,
http://dotpups.de/puppy4/dotpups/Printi ... nmp-15.pet
or
http://puppyfiles.ca/dotpupsde/puppy4/d ... nmp-15.pet
and afterwards install
http://dotpups.de/puppy4/dotpups/Printi ... 3.10.2.pet or
http://puppyfiles.ca/dotpupsde/puppy4/d ... 3.10.2.pet
I did try powering the printer down and up again in case it needed to reset.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
This code does not work for me:
Here is the output from rxvt:
This directory did not exist, so I needed to add a step to create it:mkdir /usr/share/hplip/prnt/plugins
mkdir /usr/share/hplip/data/firmware
install_hp_plugin name_of_the_correct_plugin
This was not recognized:mkdir /usr/share/hplip/prnt/
So I tried this:install_hp_plugin name_of_the_correct_plugin
Code: Select all
install hp_plugin name_of_the_correct_plugin
# install_hp_laserjet_p1006.plugin
bash: install_hp_laserjet_p1006.plugin: command not found
# install hp_laserjet_p1006.plugin
install: missing destination file operand after `hp_laserjet_p1006.plugin'
Try `install --help' for more information.
# cd /usr/share/hplip/prnt/plugins
# install_hp_laserjet_p1006.plugin
bash: install_hp_laserjet_p1006.plugin: command not found
# install hp_laserjet_p1006.plugin
install: missing destination file operand after `hp_laserjet_p1006.plugin'
Try `install --help' for more information.
#
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
What is this trying to tell me, please?
The "Device URI" looks especially weird.
The "Device URI" looks especially weird.
HP Photosmart c4400 Series hpijs, 3.9.12.29
Description: c4480
Location: dmc
Printer State: idle, accepting jobs.
"/ioerror in --.outputpage--"
Device URI: usb://Q8388A?serial=CN894HZ1660557
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Hi edoc,
I have no experience with printers requiring plugins. However, although you are right that you needed to create the directory you mentioned,
1. Did you downloaded your needed plugin from
http://www.linuxprinting.org/download/p ... P/plugins/ ?
2. Did you install the install_hp_plugin.pet ?(it is available at http://dotpups.de/puppy4/dotpups/Printi ... plugin.pet)
Once this pet is installed, you should be able to execute the command
Can you please try it again and give feedback?
I have no experience with printers requiring plugins. However, although you are right that you needed to create the directory you mentioned,
it is strange that the commandedoc wrote:This directory did not exist, so I needed to add a step to create it:
mkdir /usr/share/hplip/prnt/
was not recognized.install_hp_plugin name_of_the_correct_plugin
1. Did you downloaded your needed plugin
Code: Select all
hp_laserjet_p1006.plugin
http://www.linuxprinting.org/download/p ... P/plugins/ ?
2. Did you install the install_hp_plugin.pet ?(it is available at http://dotpups.de/puppy4/dotpups/Printi ... plugin.pet)
Once this pet is installed, you should be able to execute the command
Code: Select all
install_hp_plugin hp_laserjet_p1006.plugin
It works fine on my 4.31 Puppy laptop but not on her 4.21 Puppy laptop.
Is that the difference or should I look for something else that may be missing?
I do need to upgrade her laptop but am kinda stalling ... 4.31 is pretty stable ...
but Lighthouse Pup, despite or because of the KDE-bloat, has a lot of features that would be useful to her. Hmmmmm.
Is that the difference or should I look for something else that may be missing?
I do need to upgrade her laptop but am kinda stalling ... 4.31 is pretty stable ...
but Lighthouse Pup, despite or because of the KDE-bloat, has a lot of features that would be useful to her. Hmmmmm.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
I am returning to the never-ending battle to coax CUPS into playing nicely with Puppy.
I am running Wary 030 and need either my HP Laserjet P1006 or HP Photosmart C4480 to work.
I would, of course, prefer that both work but at this point after 2-3 weeks without a working printer I will take what I can get.
The HP site lists several versions of Linux when you go to download their Linux driver for the P1006 but sadly, they do not include Puppy as an option. Which of the versions are most likely to be compatible with Wary 030, please?
I am running Wary 030 and need either my HP Laserjet P1006 or HP Photosmart C4480 to work.
I would, of course, prefer that both work but at this point after 2-3 weeks without a working printer I will take what I can get.
The HP site lists several versions of Linux when you go to download their Linux driver for the P1006 but sadly, they do not include Puppy as an option. Which of the versions are most likely to be compatible with Wary 030, please?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
CUPS generates a blank screen when I go here: http://localhost:631/ then select Manage Printers.
This happened before and after loading the foo2xxx_r220909-0.0-i486.pet
Did I need to do a reboot?
This happened before and after loading the foo2xxx_r220909-0.0-i486.pet
Did I need to do a reboot?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603