(Solved) HP D4160 printer won't

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
Komodo
Posts: 20
Joined: Fri 30 Mar 2007, 13:03

(Solved) HP D4160 printer won't

#1 Post by Komodo »

I have installed cups-install-v0.3.pup and downloaded and installed the correct ppd file for my HP D4160 printer. Then installed the printer via the cups localhost:631 administration. Cups shows the following under printers,

HP DeskJet D4100 Foomatic/hpijs (recommended)
Description:
Location:
Printer State: idle, accepting jobs.
Device URI: usb://C9068A?serial=TH6CAD30WK04D6

The printer does not print when I click the Print Test Page button, nor does it show up in XPDQ. Abiword does not print to it either. Looking in the ppd file I noticed these lines,

*PCFileName: "HPIJS.PPD"
*Manufacturer: "HP"
*Product: "(Deskjet D4100)"
*cupsVersion: 1.0

Does this mean that I must have the HPIJS.PPD file installed in order to print?

I would appreciate it very much if someone could help me get this printer working.

Komodo
Last edited by Komodo on Mon 04 Jun 2007, 20:30, edited 1 time in total.

purple_ghost
Posts: 416
Joined: Thu 10 Nov 2005, 02:18

I also have a D4160

#2 Post by purple_ghost »

I am not willing to spend more hours trying to figure out what this HP program wants.

You might get a better answer on the HPLIP help mailing list.

HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help


How did you satisfy all the dependencies for this HPLIP program?
Please let us know how you got this to work.

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#3 Post by Gn2 »

According to this:
installed the correct ppd file
You already have !

HPLIP must be started BEFORE Cups
That Print Admin Cfg doesn't look correct
It should just give the port to use to connect to printer

Usb/parallel or remote - certainly not the serial port.

Visit the linux printer org (browser = port 631 menus have link)

http://localhost:631/overview.html

rmockler
Posts: 38
Joined: Tue 30 May 2006, 22:55
Location: Florida

#4 Post by rmockler »

I am passing this info along to possibly help prevent you from chasing ghosts. I have an HP C4150 printer, I configured it with cups apparently the same you way that you did, and it works just fine. What I wanted to tell you was that your device URI looks smiliar to mine, and should be OK. Mine says:
Devide URI: usb://Q8111A?serial=MY68VG109904J7
and it functions perfectly. I looked on the label on the back of my printer and found the serial number at the top. It is the value following the serial= so it has nothing to do with the serial port.
~Dick

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#5 Post by Gn2 »

That would be just a printer description then
The double slashes indicate "root" of file system

In the following pages of Cups Cfg, wasn't there a list of printers,
then the ppd listed ?

If that Foomatic database file was found, (check the path)_all should work
But as noted, AFAIK , (hplip) must be activated before the Cups daemon
However, I thought later Puppy print Cfgs don't even need Cups & Foomatic any more ?

Komodo
Posts: 20
Joined: Fri 30 Mar 2007, 13:03

SUCCESS!

#6 Post by Komodo »

purple_ghost wrote:
How did you satisfy all the dependencies for this HPLIP program?
Please let us know how you got this to work.
This is what it took to get the HP Deskjet D4160 printer working from a fresh puppy2.14.

In this order:

Run puppy, configure it for internet access, shut down and save the session to create the pup_save.2fs file.

Download and install the devx_214.sfs
Reboot

Download http://dotpups.de/dotpups/Printing/cups ... l-v0.3.pup
Click on the file in rox to install. Select USB printer when prompted, but don't install a printer from the cups interface yet. Tip: bookmark the cups web interface.
Reboot

Download http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz
Extract with Pupzip.
From the extracted directory run
./configure --prefix=/usr
make
make install
Delete the tgz file and the extracted directory
Reboot

Download http://prdownloads.sourceforge.net/hpli ... .4a.tar.gz
Extract with Pupzip.
From the extracted directory run
./configure --prefix=/usr --disable-network-build
make
make install
Delete the tgz file and the extracted directory

Open /etc/rc.d/rc.local and add the line
/etc/init.d/hplip start
just above the lines that read
# Start cups
/etc/rc.d/rc.cups start
Save the file.

Turn on the printer and reboot.

Open the cups administration that you bookmarked earlier, or type http://localhost:631/ in your browser address bar.
Choose Manage Printers.
Choose Add Printer.
In Add New Printer, give the printer a name.
Choose Continue.
In Device for 4100, select 'HP Deskjet D4100 series USB TH6CAD30WK04D6 HPLIP (HP Deskjet D4100 series)'
The TH6CAD30WK04D6 part may be different for your printer.

Choose Continue
In Model/Driver for 4100, choose HP
Choose Continue
Select HP Deskjet D4100 Foomatic/hpijs(recommended)(xx)
Choose Continue
It's done.

Reboot

Cheers,
Komodo

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#7 Post by Pizzasgood »

Thankee, now I don't need to reboot every time I want to print. I "celebrated" by printing out my class schedule and two hiragana charts, one of which I cut up into flash-cards.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

WonkyRuler
Posts: 1
Joined: Mon 19 May 2008, 09:06

#8 Post by WonkyRuler »

Hi there,

I had exactly the same problem as Komodo when i installed cups-install-v0.3.pup and downloaded and installed the correct ppd file for my printer, then going on to install the printer via the cups localhost:631 administration. I found that my printer also would not print.

I just wanted to say thanks for posting this post as all the tips which have been posted on here have finally helped me to solve my problem. I read through the instructions Komodo had posted for how had managed to get printer to work with fresh puppy2.14 and finally my printer worked.

Thanks again for leaving such helpful information! :)
| [url=http://www.selfadhesivelabels.com]Label Printing[/url] | [url=http://www.selfadhesivelabels.com/printed-labels.html]Printed Labels[/url] | - WonkyRuler

User avatar
mikemason
Posts: 36
Joined: Sun 24 Aug 2008, 12:08

Puppy 4 & HP D4160 Printer (Driver D4100)

#9 Post by mikemason »

Ok I see people have got this to work after doing some downloading & I think they were using a Puppy older than 4 so I wanted to add my two cents for newbies using Puppy 4 so they can find it when searching :)

With Puppy 4 I clicked Menu> System> Cups Manage Printing
got a add new printer popup, then a web based cups screen,
Clicked add new printer> typed D4160 as printer name left other box's empty> choose HP from drop down> choose USB#1 from drop down>
found HP Deskjet D4100 in next drop down> then clicked test print... Works! Back on printer page I clicked Make Default for the D4160, then rebooted to save (don't know if you have to, but I did)

AbiWork gave me a printer choice when I tested... but Geany did not, so I clicked Edit> Preferences> then Tools tab, clicked the folder button for Print , changed "lpr" file to "lpr_cups", Save! now Geany prints to my printer :)

Hope this helps :)

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#10 Post by Wolf Pup »

Newer HPIJS for Printing without the python.
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#11 Post by Pizzasgood »

FWIW, Puppy 4.00 already has a package for HPIJS in PetGet. I used it the other day to do my HP D4160. Just installed it from PetGet, then did the same procedure mikemason just described. Worked like a charm. :)
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: Puppy 4 & HP D4160 Printer (Driver D4100)

#12 Post by edoc »

mikemason wrote: AbiWork gave me a printer choice when I tested... but Geany did not, so I clicked Edit> Preferences> then Tools tab, clicked the folder button for Print , changed "lpr" file to "lpr_cups", Save! now Geany prints to my printer :)
Hope this helps :)
I am having a problem with Geany that it tries to print to pdf_writer and goes to a file save window instead of bring up the window with the CUP printer selections.

When I go to Edit> Preferences> in Geany there is no "Tools" tab.

What am I missing, 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

Post Reply