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 Fri 22 Aug 2014, 19:59
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
HP Photosmart C3180 Installation/ Setup
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Jeff44

Joined: 24 Feb 2007
Posts: 2
Location: Lake MacQuarie - AUSTRALIA

PostPosted: Thu 12 Apr 2007, 19:41    Post subject:  HP Photosmart C3180 Installation/ Setup
Subject description: 3 in one printer, copier, scaner
 

I am a newbie and require a step by step guide to installing my new HP Photosmart C3180
I have tried for a week to do this myself with no success - please help ASAP.
Thanks - jeff 44
Back to top
View user's profile Send private message MSN Messenger 
MikeLockmoore


Joined: 26 Nov 2006
Posts: 43
Location: Near Detroit

PostPosted: Sat 14 Apr 2007, 00:43    Post subject:  

jeff44: Welcome! I have just configured my HP Photosmart C5180 to print from Puppy 2.14, which I am guessing required similar steps to those that might work for you.

Perhaps you have seen my posts in this thread http://www.murga-linux.com/puppy/viewtopic.php?t=16638, which is a good place, by the way, to get some more tips and links to additional resources.

I did not get the full HPLIP system installed and working, as it has MANY dependencies that a stock Puppy system does not have. I tried to manually grab all the sources code packages and build them, but I eventually got stuck on a few that I did not know where to find, or pre-comiling "configure" errors that did not have any obvious solution.

So I would recommend that you first start with CUPS and the HPIJS part of the HPLIP system. That way, you can at least print. (Scanning requires additional components and configuration, which I have not tackled yet.)

Here are some steps I went through:

I downloaded the CUPS package for Puppy from this source: [url]
http://puppyfiles.org/dotpupsde/dotpups/Printing/cups-install-v0.3.pup[/url] into my home folder (~) and ran the PET package tool to install it from this spot.

I downloaded the HPLIP 1.7.3 package from the main site: http://hplip.sourceforge.net/index.html

Since Puppy does not have any of the automotic package-dependency tools (such as apt-get in Debian or YUM in Fedora), I tried to follow HP's manual installation instructions, including fetching all of the source-code packages (*.tar.gz), extracting them into folders (I use ~/packages/packagename with the archive tool that launches when you click on a compressed archive in ROX), changing to each package directory, then running the traditional build steps on each:
1) ./configure (or sometimes something like 'python configure.py)
2) make
3) make install

I eventually got stuck trying to build the dependency "PyQt" (Python wrapper for Qt GUI library), so I gave up on the GUI and just focused on building the things I needed for HPIJS and network printing (my C5180 is a network printer, not sure about you). But at some point, I did get through the manual build process for HPLIP, which created some needed components, like the HP I/O daemon (hpiod).

Here are a few packages I think are critical to getting through the HPLIP build process:

Python: which is used in several of the HP-specific command-line tools, (e.g hp-makeuri). I built Python 2.5 from the source, and it seems to work well. You might be able to make this step a bit easier by installing the PET or Pup package for Python 2.4.(something) using PET-Get, but I wanted the latest Python for some other reasons.

net-snmp: version 5.4... got it here: http://downloads.sourceforge.net/net-snmp/net-snmp-5.4.tar.gz?modtime=1164371043&big_mirror=1
This builds the libnetsnmp* set of network support libraries, which are important if you have a network-connected printer.

As I got stuck building all the nice GUI tools for the printer/scanner, I refocused on just getting HPIJS working so I could print. I followed some of the specific steps in this instruction page: http://hplip.sourceforge.net/tech_docs/tarball_install.html

So I went back into my HPLIP source package, found the prnt/hpijs/ folder, repeated the build step for that subsystem:
./configure
make
make install

Then I restarted my CUPS process. The command suggested in the URL above does not work, but this should:
/etc/rc.d/rc.cups restart
(This is because Puppy's initialization scripts and directories associated with the initialization process are pared down compared to many Linux systems. Anyway...)

After you have restarted CUPS, you can go to the admin webpage
http://localhost:631/admin and click the button to add a printer. You enter a name (location and descriptioin are optional). You then need to select the "Device" (type of connection). I'm not sure what is appropriate for you (maybe USB? maybe network?) If it is network, try "HP Printer (HPLIP). Next you need to enter a "URI" (at least for a network printer). If you get through the HPLIP build, you can use the command-line tool "hp-makeuri" to determine your URI string. Mine is
hp:/net/Photosmart_C5100_series?ip=192.168.0.116
since that is my printer's (static) IP address. After this, you select the manufacturer, then model of printer. The "make install" part of the HPLIP build should place a bunch of HP printer definitions where CUPS can find them and therefore offer them to you in the Admin web pages.

IIRC, that should be about it. After that, you should be able to click on the printers button in the CUPS local webpage and request a printer test page to be printed. Hopefully, that will work for you! Very Happy

I had two other issues before I got to the point of printing:

I could not run the hp-makeuri until I linked the libnetsnm* library files from /usr/local/lib to /lib, like so:
cd /usr/local/lib
ln libnetsnmp* /lib

I could not get CUPS to actually communicate with my printer until the hpiod process was running (not sure if it is needed for USB or other non-network connection types). I was able to start it manually, but it is more convenient if the initialization process starts it for you. you can add a line that simply says
hpiod
to your /etc/rc.d/rc.local file to automatically start up hpiod.

OK, I think that's about it. Maybe I did another little thing or two along the way, but I think these are the most crucial steps. If a lot of what I wrote here looks like Greek, you might need to review some introductory materials on installing Linux software. Fortunately, Puppy Linux has a very helpful user community, so if you get stuck on specific issues, someone here often has an answer or at least some guidance that will get you figure things out. Good luck!

_________________
Mike Lockmoore
Back to top
View user's profile Send private message 
PeterB


Joined: 20 Aug 2006
Posts: 17
Location: Australia

PostPosted: Sun 30 Sep 2007, 10:23    Post subject: HP C3180
Subject description: Installing it
 

Hi jeff44: I too have just purchased a HP C3180 -(amazing value for $50). Did you get it set up in the end? I used the HPLIP pet package and it worked very well under the latest version of Puppy. The only thing I could not get to work on mine was saving a scan into OCR format (text).
PeterB
Back to top
View user's profile Send private message 
lluamco

Joined: 16 Mar 2007
Posts: 207
Location: Banyoles, Spain

PostPosted: Sun 30 Sep 2007, 10:58    Post subject:  

PeterB,

as far as OCR is concerned, try Dougal's pup of
http://murga-linux.com/puppy/viewtopic.php?search_id=723768062&t=16717

It worked for me in a HP PSC-2355 all-in-one printer.
Cheers
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 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.0640s ][ Queries: 12 (0.0097s) ][ GZIP on ]