Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 23:48
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
(Solved) HP D4160 printer won't
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
Komodo

Joined: 30 Mar 2007
Posts: 20

PostPosted: Thu 17 May 2007, 10:32    Post subject:  (Solved) HP D4160 printer won't
Subject description: Installed cups-install-v0.3.pup & correct ppd file
 

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, 16:30; edited 1 time in total
Back to top
View user's profile Send private message 
purple_ghost

Joined: 09 Nov 2005
Posts: 414

PostPosted: Thu 17 May 2007, 11:11    Post subject: I also have a D4160  

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.
Back to top
View user's profile Send private message 
Gn2


Joined: 16 Oct 2006
Posts: 936
Location: virtual - Veni vidi, nihil est adpulerit

PostPosted: Thu 17 May 2007, 11:24    Post subject:  

According to this:
Quote:
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
Back to top
View user's profile Send private message 
rmockler

Joined: 30 May 2006
Posts: 38
Location: Florida

PostPosted: Thu 17 May 2007, 16:37    Post subject:  

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
Back to top
View user's profile Send private message 
Gn2


Joined: 16 Oct 2006
Posts: 936
Location: virtual - Veni vidi, nihil est adpulerit

PostPosted: Fri 18 May 2007, 03:37    Post subject:  

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 ?
Back to top
View user's profile Send private message 
Komodo

Joined: 30 Mar 2007
Posts: 20

PostPosted: Mon 04 Jun 2007, 16:27    Post subject: SUCCESS!  

purple_ghost wrote:
Quote:
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-install-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/hplip/hplip-1.7.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
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 22 Aug 2007, 22:45    Post subject:    

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.
_________________
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

Back to top
View user's profile Send private message Visit poster's website 
WonkyRuler

Joined: 19 May 2008
Posts: 1

PostPosted: Mon 19 May 2008, 06:41    Post subject:  

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! Smile

_________________
| Label Printing | Printed Labels | - WonkyRuler
Back to top
View user's profile Send private message 
mikemason


Joined: 24 Aug 2008
Posts: 36

PostPosted: Sun 24 Aug 2008, 14:18    Post subject:  Puppy 4 & HP D4160 Printer (Driver D4100)
Subject description: Works for me out-of-box :)
 

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 Smile

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 Smile

Hope this helps Smile
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Sun 24 Aug 2008, 14:29    Post subject:  

Newer HPIJS for Printing without the python.
_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sun 24 Aug 2008, 14:58    Post subject:  

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. Smile
_________________
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

Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4379
Location: Southeast Georgia, USA

PostPosted: Mon 01 Dec 2008, 11:14    Post subject: Re: Puppy 4 & HP D4160 Printer (Driver D4100)
Subject description: Works for me out-of-box :)
 

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 Smile
Hope this helps Smile


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?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0803s ][ Queries: 11 (0.0044s) ][ GZIP on ]