How to use HP LaserJet P2014 in Akita?

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

How to use HP LaserJet P2014 in Akita?

#1 Post by sc0ttman »

I want to setup my HP LaserJet P2014.. I have it connected through USB.

Akita has printing stuff removed from the main SFS and available in the repo as a single package, printing_pack.pet, which contains the old pup4 CUPS stuff.

So, long story short, akita has no print stuff by default, and so I am free to install CUPS from the wary/quirky/common/etc repo, which should work fine in Akita... Correct me if I am wrong, but I don't believe the CUPS pets are kernel sensitive..

I have already tried to install CUPS et al from the akita 'printing_pack' sfs addon, and also later from the wary repo.. I didn't mix deps etc, rebooted did it fresh.. also installed gutenprint and whatever else was needed.. but I know nothing about printing..

Didn't matter which version of cups I used, I got the same errors and problems:

When I finally got the printer 'installed': using the web interface, I chose a driver (went through MANY of them) .. I then had the printer listed as #USB1 HP LaserJet P2014, and... I could send jobs to it, but nothing would print! it just waited forever..

Didn't matter what version of cups, and only some fooxx drivers specifically listed the HP LJ 2015 (IIRC), the closest to what I have (LJ p2014)...

I then tried adding pets for wary, found on the forum, such as fooxxx, hplite, others... Still couldn't get it to print from the PC.. (If i press one of the buttons on the printer, it prints a test page fine..)

So, I still have no idea which drivers I should use, how to set them up etc ..
And with this P2014 I don't know if I need to use USB or not..

In short, please help, I'm clueless!

- which wary/quirky/** pets do i need to have the full/standard cups 1.4 printing setup?
- which drivers do i need for my printer model?
- how do i install them? any specific requirements?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

It looks to me like foo2xxx_rcrsn-2013.02.05.pet is the correct driver. It supports your LJ P2014.

My first step would be to test it in a Puppy that has a valid CUPS printing system.

[Edit] No reply?

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#3 Post by sc0ttman »

rcrsn51 wrote:[Edit] No reply?
Patience is a virtue... other stuff to do as well of course! ;)
But last night I had some time to sit down and try a few things...

I got it working in akita, I didn't wanna use the old pup4 stuff, so I installed the following pets:
(I would appreciate knowing which of these are not entirely needed, if any.)

a2ps-4.13b-w5c
cups-1.3.11-i486
cups_pdf-0.8-1
enscript-1.6.5.2-w5c
foo-hplip-3.0
foo-rip-3.0
foo2xxx_rcrsn-2013.02.05
foomatic-filters3-3.0-20090114-w5
foomatic-filters-4.0.7-w5c
ghostscript-8.15.4-w5
ghostscript-fonts-8.11-w5
gutenprint-5.2.7-w5c
psmisc-22.14-w5c
psutils-p17-w5

I had to copy a few things from the old pup4 based akita printing_pack, like maybe /usr/bin/gv.. ?can't remember?..

I also added these, just cos the names match!! Are they even part of the print system or for other apps?

libgnomecups-0.2.3-w5
libgnomeprint-2.18.8-w5
libxprintapputil-1.0.1-w5
libart-2.3.20-w5

gtklp-1.2.5-w5 < -- this worked fine

I had to add these and choose the full HP drivers for it to work..
not sure if the first was needed if the 2nd was then installed:

hpliplite-3.13.7
hplip_print-3.13.7
hplip_print_legacy_cups_patch-1.3.11

also added

peasyprint-1.8 <-- works great, cheers :D

I added these but didnt test:

cups-smbspool-0.1
smbw_cups_backend-1.3

.....

At first I tried with real minimal stuff, and the foo2xx pet, printer was found, but wouldnt print.
I then added whatever else was said to be missing in the cups debug error log.. still wouldnt print..

Then i added the full HP drivers, and it worked! Awesome, cos the printer was a freebie! :D

I had to use patriots cups-1.3.11 to find any printers automatically, and failed to get them working when added manually.. even when the details were the same..

I also had a lot of trouble finding the printer via USB, but thankfully parallel seems to work fine :)
But I did get it connected via USB at one point...

Is there reason I should not be using parallel?
I'm happy not taking up more USB slots with the printer, as long as parallel works just as good as USB..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#4 Post by sc0ttman »

No reply? ;)

I am using the "HP LaserJet p2014" with driver "pcl3, hpcups 3.13.7, proprietary plugin", including hpjis_legacy-3.11.5 .. other drivers won't work..

.. Any of the above pets not needed? (not including HP drivers).. I know these arent needed:

libxprintapputil-1.0.1-w5
libart-2.3.20-w5

... but what about these? are these essential for cups et al to work?

libgnomecups-0.2.3-w5
libgnomeprint-2.18.8-w5

...Any reason why prints to USB connected printer would work fine with geany printing text files, while always printing a line of smiley faces, hashes etc (hereby known as 'garbage') on a preceding sheet when printing an image or webpage (also with 1 line of garbage on it), from either mtpaint or firefox? .. this doesn't happen with parallel, which prints fine, but is slower to start each print.. (I can install both fine now, patriots cups did the trick)..

.. should I not have it connected by both USB and parallel? I can install and find and printer as either without problems.. only the USB has printing problems..

.. I still cannot get the foo2xx drivers to work, just prints pages of garbage.. ?

.. I tested printing over a home network, over wifi, from akeeeta on my netbook, works great, exactly the same as local printing.. but also meaning USB still prints the garbage before and over stuff, when using certain programs..

.. is there any reason to prefer usb over parallel? usb is not working properly for me, thank god for the old connection...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#5 Post by rcrsn51 »

sc0ttman wrote:No reply?
sc0ttman wrote:Patience is a virtue... other stuff to do as well of course!
1. Did you never try my original suggestion? Without doing so, it's impossible to know what's going on.

2. In two years, is this the first time that anyone has installed a printer in Akita? Is this the first time that you have installed your P2014 in any Puppy?

3. I looked at your printer package. I believe that you said it came from Puppy 4, but it appears to have Puppy 5 components.

4. If Akita has a Puppy 4 base, there are numerous issues. The latest foo2xxx won't work. You would need an older version. That was the point of #1. There will be problems with libusb, etc.

5. Other Puppy builders have made this same mistake. They strip out CUPS to save some space, then discover how hard it is to get the genie back in the bottle.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#6 Post by sc0ttman »

rcrsn51 wrote:1. Did you never try my original suggestion?
yes, worked in wary 51x fine.. but have a lot of trouble detecting and then choosing good drivers.. settled on hpliplite from list, after a few pet installs.. would probably be smoother next time..
In two years, is this the first time that anyone has installed a printer in Akita? Is this the first time that you have installed your P2014 in any Puppy?
Besides me? No idea, probably.. No one uses it... And yes it's the first times, cos I've only owned it for a few days, and don't actually need to print anything.
3. I looked at your printer package. I believe that you said it came from Puppy 4, but it appears to have Puppy 5 components.
The original akita printing pack came from pup4 pets, as did akita, but akita has since become entirely wary51x based in terms of toolchain since then, hence using a wary 51x based printing pack this time round. The old print pack might indeed have some wrong stuff in there too, if that is what you mean...
5. Other Puppy builders have made this same mistake. They strip out CUPS to save some space, then discover how hard it is to get the genie back in the bottle.
I never had any problems with the old printing pack (way) back when last used (with an old inkjet), and this new 'printing pack' works fine for everything except the USB printing, which i had working fine at some point as well.. i bet it is maybe libusb related, as you say..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#7 Post by rcrsn51 »

Now that you have confirmed some things, here would be the simplest strategy.

1. Use the original printing pack.
2. Get the Puppy 4 version of foo2xxx from Patriot's thread.
3. Track down the missing file /usr/lib/cups/filter/foomatic-rip. The original version is a symlink to two Perl scripts. You may be able to use the newer binary version instead.

Post Reply