Page 1 of 2

xenial64 7.5 uefi HP printers, need link please

Posted: Fri 01 Feb 2019, 18:58
by number77
Hello
I have xenial64 7.5 uefi frugal on a dell vostro1320. I did have my HP laserjet 1020 working in tahr605 with foo2xxx_rcrsn.pet on it but not with xenial64. I have cups 2.1.3 on it and have tried http:/localhost:631 but still cant get it to print.
Has anyone any ideas please.
Thanks
number77

Posted: Fri 01 Feb 2019, 19:32
by watchdog
Try to install by PPM foomatic-db, foomatic-db-nonfree, foomatic-db-engine and foomatic-filters in the order. Then open the browser al localhost:631 and add the printer. Choose the driver most close to your printer. See if the driver is reported as "recommended".

Posted: Fri 01 Feb 2019, 21:29
by bigpup
There is a 64 bit version of fooxxx here:
http://murga-linux.com/puppy/viewtopic. ... 175#990175

This topic is all about printer setup in Puppy.
So if that does not work.
Look here:
http://www.murga-linux.com/puppy/viewtopic.php?t=59015

Posted: Sat 02 Feb 2019, 18:57
by number77
watchdog wrote:Try to install by PPM foomatic-db, foomatic-db-nonfree, foomatic-db-engine and foomatic-filters in the order. Then open the browser al localhost:631 and add the printer. Choose the driver most close to your printer. See if the driver is reported as "recommended".
Nearest printer was the 1022 and that didn't work.

Posted: Sat 02 Feb 2019, 19:04
by number77
bigpup wrote:There is a 64 bit version of fooxxx here:
http://murga-linux.com/puppy/viewtopic. ... 175#990175

This topic is all about printer setup in Puppy.
So if that does not work.
Look here:
http://www.murga-linux.com/puppy/viewtopic.php?t=59015
I loaded the recommended foo2zjs file from the PPD directory. Cups finds the correct printer but still no printing. I am not sure if I need an extra file and downloaded eppi.tar.gz but don't know what to do with it.

Posted: Sat 02 Feb 2019, 22:23
by bigpup
Did you do what it says here?
Foo2xxx:
Some HP models like the old Laserjet 1000 series and the new Laserjet Pro P1102w can use the foo2xxx driver instead of HPLIP. Various Samsung, Minolta and OKI colour laser printers are also supported by this system. I have posted a combo 32/64bit package here:

http://www.mediafire.com/file/6gggshhgw ... ar.gz/file

However, the old HP 1000 laser printers require a firmware file be uploaded from the host computer to the printer.

My Puppy foo2xxx driver package contained these firmware files and handled the upload with a udev rule, like
Code:

Code: Select all

ACTION=="add", SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2b17", RUN+="/bin/sh -c 'cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/%k'"


So when you turned on the USB printer, it would be auto-detected and the firmware would be uploaded.

But the above packages contain none of this stuff, and I don't know if the udev rule would still work in Debian.

So I have built a stand-alone firmware installer tool for this group of printers. It is part of the above combo package. Look for it in the System menu. Run it each time the printer is turned on.

Posted: Sun 03 Feb 2019, 13:19
by number77
I have downloaded
http://www.mediafire.com/file/6gggshhgw ... ar.gz/file.
I did have a problem because I had an adblocker but disabled it and could then download but what do I do with it.
P.S.
I have it working now so thanks again for the help.
I removed all failed attempts and printers and did as rcrsn51 advised.

I spoke too soon and could not print anything else even after reinstalling the printer and canceling all jobs.

Posted: Sun 03 Feb 2019, 16:26
by Flash
So it's not working yet?

Posted: Sun 03 Feb 2019, 19:58
by number77
Flash wrote:So it's not working yet?
It is working if I remember to install the HP firmware after a reboot of the computer. So yes it is working.
Could I automatically do this for the HP 1020.

Posted: Sun 03 Feb 2019, 20:36
by rcrsn51
number77 wrote:Could I automatically do this for the HP 1020.
1. Download the attached file.
2. Rename it without the fake .gz extension.
3. Copy it to the folder /etc/udev/rules.d
4. Reboot or restart the printer.

Posted: Sun 03 Feb 2019, 21:22
by number77
There isn't that folder in etc in my xenial.

Posted: Sun 03 Feb 2019, 21:43
by rcrsn51
A Xenial guru will need to report where the udev rules are kept.

Posted: Sun 03 Feb 2019, 21:44
by Semme
Too weird! Me and most likely everyone else running XP64 has an /etc/udev/rules.d folder.

Take your time and triple-chk...

Posted: Sun 03 Feb 2019, 22:09
by linuxcbon
Yes in xenialpup, the udev rules are in folder /etc/udev/rules.d/

Posted: Mon 04 Feb 2019, 03:35
by number77
If I search with pfind, it finds it but not if I open the installation.
I will try and use its result to paste the file.
Not there at all on my Dell Latitude E6230 either.

Posted: Mon 04 Feb 2019, 03:47
by Semme
Your response suggests something odd.

HOW or WHAT ARE YOU DOING to access that location?

Posted: Mon 04 Feb 2019, 04:54
by bigpup
Are you navigating in the file system by using the Rox File Manager?
It can navigate to /etc/udev/rules.d/ for me.

If you are using some file manger you installed.
It may not be able to do it.

Posted: Mon 04 Feb 2019, 18:25
by number77
I have found it with Rox filer and transfered rcrsn's file and it is there but still needs an install of the file from system every reboot.

Posted: Mon 04 Feb 2019, 19:18
by linuxcbon
number77 wrote:I have found it with Rox filer and transfered rcrsn's file and it is there but still needs an install of the file from system every reboot.
Dont forget to rename the file without the fake .gz extension.
I guess you only need to restart the printer ?
If it doesnt work, try these commands :

Code: Select all

#killall udevd
#udevd --daemon --resolve-names=early

Posted: Mon 04 Feb 2019, 20:31
by number77
I have renamed it to: 56-hplj1020 and it contains:
ACTION=="add", SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2b17", RUN+="/bin/sh -c 'cat /usr/share/hp-firmware/sihp1020.dl > /dev/usb/%k'"
I did try your code and restart printer but still no print.