WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Hplip  (Read 20823 times)

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #90 on: April 29, 2020, 08:57:21 AM »
sorry, didn't mention the model, figured you would see it in the logs.
All recent tests were done on a p3005.
The openprinting.org site shows: "Black & White laser printer, max. 1200x1200 dpi, works Perfectly".

Is there an additional command to run the plugins, or is running with hplip?

side note: what distro is TC mostly related to?
*some linux downloads want you to choose a distro, but TC isn't shown.

thanks
b

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11657
Re: Hplip
« Reply #91 on: April 29, 2020, 09:11:29 AM »
Hi techsuper
... Is there an additional command to run the plugins, or is running with hplip? ...
... Did you load hplip-plugins before you ran the "hplip-setup -i" command? ...
Did you install  hplip-plugins.tcz ?

Quote
... Did you try the "hp-firmware -i" or "hp-plugin -i" commands? ...
These commands are included in  hplip.tcz.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #92 on: April 29, 2020, 10:06:08 AM »
sorry, didn't mention the model, figured you would see it in the logs.

Did you attach the logs?

aus9

  • Guest
Re: Hplip
« Reply #93 on: April 30, 2020, 12:53:24 AM »
@techsuper

I am pretty sure you are on 32 bit as 64 bit as gnutls35 while you mention you installed gnutls36

If you look at gutenprint results at openprinting...
https://www.openprinting.org/printer/HP/HP-LaserJet_P3005

HP is claimed to be 100 with a speed score of 70 and gutenprint has 2x90 2x100 with a speed of 60

I again ask you to consider installing and using gutenprint. In order to give you some confidence, I downloaded the source of the 32 bit gutenprint and re-compiled it for my 64 bit machine with a screenshot
where I attempt to trick cups with my real canon into thinking its a laserjet p3005.

The driver exists!

Need I say more?

https://imgur.com/RJqti38

I prove I am using the correct gutenprint thru matching shared object numbers you can see in Apps.
I used a web browser to check the shared object
http://repo.tinycorelinux.net/11.x/x86/tcz/gutenprint.tcz.list
/usr/local/lib/libgutenprint.so.2.6.0
I also show my kernel version is 64 bit

Thanks for re-considering gutenprint.   ;D
« Last Edit: April 30, 2020, 12:56:21 AM by aus9 »

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #94 on: April 30, 2020, 09:57:31 AM »
I did post the logs, don't know why they didn't upload. I'll try again.
tce-load -i hplip  yields 'already installed'
tce-load -i hplip-plugins  yields 'already installed'
hp-plugin -i  and choosing d for download, yields bin/sh: lsb_release not found. core distro not found in Auth_Types. download failed with error 1.
hp-firmware -i  yields 'no device found'.
most of the hp-* commands work.
lpstat -t says its the default destination, the URI looks ok, says idle and ready to print with no pending job.
I have used the apps/browse and installed guttenprint on one box, I still get the Filter Failed error.
Is there an additional step or command to use it? Do I uninstall cups and/or hplip when its installed?

thx

this will have to be in 2 posts, (196K total of both files, why so low)

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #95 on: April 30, 2020, 10:03:11 AM »
128K maximum, wow, is this dial-up  ;)

Cups generates it at 308K
so here it is zipped

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #96 on: April 30, 2020, 10:09:56 AM »
Does "ldd /usr/local/lib/cups/filter/hpcups" give an error?

Google seems to suggest an HP_LaserJet_P3005 doesn't need firmware, but the HP Smart Tank 610 does?
« Last Edit: April 30, 2020, 10:14:31 AM by Juanito »

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Hplip
« Reply #97 on: April 30, 2020, 11:08:42 AM »
hp-plugin -i  and choosing d for download, yields bin/sh: lsb_release not found. core distro not found in Auth_Types. download failed with error 1.
Do not do this. Installing the hplip-plugins extension replaces this step.

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #98 on: April 30, 2020, 04:42:27 PM »
(Does "ldd /usr/local/lib/cups/filter/hpcups" give an error?)

No, it displays about 31 lines of dependencies with hex numbers.
see attached
thanks

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11657
Re: Hplip
« Reply #99 on: April 30, 2020, 04:58:52 PM »
Hi techsuper
Please don't use images to post commands and their results.

You can copy text from the terminal by holding down the left mouse button and dragging the mouse.
You can then paste the text by first left clicking  and then center clicking in the destination location.

If you prefer, you can redirect the output of commands to a text file instead:
Code: [Select]
ldd /usr/local/lib/cups/filter/hpcups > ldd.txt 2>&1Now you can copy/paste from the  ldd.txt  file you just created.

Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly.
« Last Edit: August 01, 2020, 01:23:33 PM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #100 on: May 01, 2020, 01:39:43 AM »
If "ldd /usr/local/lib/cups/filter/hpcups" does not give an error, then it's not obvious what the problem with the LaserJet P3005 is (the Smart Tank 610 needs firmware).

Did you try the following after a clean reboot (i.e. do not load cups, hplip or hplip-plugins "onboot")?

Code: [Select]
$ tce-load -i hplip-plugins
$ sudo passwd
$ sudo /usr/local/etc/init.d/dbus start
$ sudo /usr/local/etc/init.d/cups start
$ hp-setup -i (root password needed to confirm)
$ hp-testpage

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #101 on: May 03, 2020, 11:05:02 AM »
I think I have tried this before.
In the Apps panel, OnDemand Maintenance branch, all 3 are shown on the Right "current OnDemand Items"
I entered the commands in order shown.
Is it common for the cups start entry to yield 'stopped usr/local/bin/dbus-daemon' ?

No changes, still get the Filter Failed message, with prnt/hpcups/HPCupsFilter.cpp 647: DEBUG: imageProcessorStartPage failed result = 2 and a broken pipe.

I've been reading on the dev.hp.com (hplip) site. Don't know if I can paste a link, so I'll paste the list they show for
System Requirements.

I tried the tce-ab command, and searched for most of these.
Some I  have no idea how or where to locate. But, for the items that had a search result, they are ok.

I couldn't find. Foomatic, PyQT, the Libjpg entries, or the DDK. I assume GPL GS is the same as GS.
see below, thanks for hangin in there...
brent

    Linux kernel 2.4.19 and above (2.6.x recommended).
    GNU software tools are required to build from source code. This includes the ANSI C compiler, ANSI C++ compiler and POSIX compliant environment.
    libusb 0.1.8 or higher.
    ppdev/parport kernel modules for parallel port support.
    GPL Ghostscript 7.05 or higher.
    Foomatic 3.0.2 or higher.
    Qt 3.x or higher for UI toolkit.
    PyQt 3.14 or higher for Qt wrapper for Python.
    Python 2.2 or higher and python-devel (Python 2.3+ for fax support)
    Reportlab (optional-provides fax cover page support)
    CUPS 1.1.15 or higher and cups-devel.
    libjpeg 6b or higher and libjpeg-devel.
    net-snmp 5.0.9 or higher and net-snmp-devel for network support.
    CUPS DDK 1.2 or higher for dynamic PPD support.

HPLIP has been tested on most major Linux distributions.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #102 on: May 03, 2020, 12:23:04 PM »
I don't think you should put this kind of application "ondemand", it would probably be better to either put it "onboot" (with commands to start the daemons required in bootlocal) or load it manually when needed.

Note that in your case, since you have one printer that needs firmware plugins, you only need to set hplip-plugins "onboot" as it will load hplip, which in turn will load cups.

Both printers I have access to work without problems with hplip as do those of user @andyj, one of which uses a firmware plugin.

At this point, I am really not sure why the p3005 does not work - have you tried the 610 with hplip-plugins?

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #103 on: May 16, 2020, 09:41:06 AM »
Hello, after extensive testing with the p3005 and another LJ M506 series printer, I have the following results.

What had caused SO MUCH grief, was your prior Libidn.so.11 dependency error and testing with the p1505, which needs special plugins.
I had tried different drivers at the time, but was unsuccessful because of the Libidn error.
Now if I choose Make: HP and either of the generic HP LJ Series 4/5 or PCL 6, it will print without any error.
Even choosing Make: Generic and the same drivers works ok.
BUT choosing Make: HP and using the suggested driver at the top of the list, yields that wonderful "Filter Failed" message.
a suggestion from Juanito "imho, the correct ppd file for your printer will be created by hplip on the fly and will be the
one at the top of the list".

So, WHY does the suggested driver fail, is it the HPLip software, the ppd file or something else?
Accoring to the dev.hp site, "this model is fully supported and works perfectly"
and BTW,  Gutenprint works also, but why couldn't someone simply say that HPLip HAS TO BE removed FIRST?

thank you for the time.

take care and happy trails.

brent

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #104 on: May 16, 2020, 09:51:04 AM »
What can I say? I’ve tried four different printers and hplip has created the correct ppd on the fly and put it at the top of the list for all of them.