Printing with CUPS: Almost here ! (Finally HERE!)

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

HP 4215 Printer Driver - SOLVED!

#141 Post by edoc »

edoc wrote: Will post when back at it tomorrow.
Well, "tomorrow" was a looong time coming but just had another go at loading
the HP 4200 driver for my 4215 and IT WORKS!!!

:-) doc
[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

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Re: HP 4215 Printer Driver - SOLVED!

#142 Post by dewdrop »

edoc wrote:
edoc wrote: Will post when back at it tomorrow.
Well, "tomorrow" was a looong time coming but just had another go at loading
the HP 4200 driver for my 4215 and IT WORKS!!!

:-) doc
Hey edoc,

another happy puppy in the kennel.....finally.

Persistence and sweat are winners every time.

dewdrop

Guest

Re: HP 4215 Printer Driver - SOLVED!

#143 Post by Guest »

dewdrop wrote: ... another happy puppy in the kennel.....finally.
dewdrop
I have Puppy running on three old IBM ThinkPad's, a newer laptop, and two desktops.

Lack of printer access except via a company MS version of windows laptop was pretty frustrating!

Lack of wireless versatility via pcmcia or Bluetooth remains frustrating.

Once I get the Samsung 2251np laser printer working on my wife's desktop
I am going to have another go at ndiswrapper for the pile of non-functioning
wireless pci and pcmcia cards that is torturing me here!

doc

baysoor
Posts: 10
Joined: Tue 14 Feb 2006, 02:10

Re: Help! Does not work with PSC1209 Multifunction

#144 Post by baysoor »

dewdrop wrote:
Hi baysoor,

I shall leave the job of helping to Rarsa, as you requested, but would like to add only the following:
Did you download and place on the C: area of your hard drive, the usr.devx.sfs file?

Let us know if/when you have accomplished the above, and what the results are.

dewdrop
dewdrop I have a hard disk install. There is no C: drive. I have one unix partition and other swap. Where do I put the usr.devx.sfs file? Also where do I get this file? I did not find it in the post with cups file.

BTW I asked for help from rarsa because he is the OP. I do appreciate any and all help from all the members of this forum.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#145 Post by MU »

Put usr_devx.sfs where Puppy created pup001 (in puppy that folder is shown as /mnt/home).
In very rare ases it does not work, then copy it to "/" in Puppy.
You can get it here on on the same place as the ISO:
http://dotpups.de/puppy-releases/1.0.7/development/
Mark

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Re: Help! Does not work with PSC1209 Multifunction

#146 Post by dewdrop »

baysoor wrote:
dewdrop wrote:
dewdrop I have a hard disk install. There is no C: drive. I have one unix partition and other swap. Where do I put the usr.devx.sfs file? Also where do I get this file? I did not find it in the post with cups file.

BTW I asked for help from rarsa because he is the OP. I do appreciate any and all help from all the members of this forum.
Hi baysoor,

If you go to this page: http://www.puppylinux.org/user/downloads.php?cat_id=12
you should find the usr.devx.sfs file that you can download. It should be the first one on the list of downloads that are available. It is rather large at 44,120kb, but it contains things other than the usr.devx.sfs file (really it is for the developers use).

Do you know where on your unix partition the pup001 file is located? (I'm not even sure there is a pup001 file when a person has put Puppy on the hard disk, since I use Puppy from a CD only).

The usr.devx.sfs file would go into that same area....that's as close as I can tell you where it is supposed to be located. I'm a real new linux user, so I was able to increase my knowledge of linux by helping Rarsa with this thread....but he is really the one to give you an exact answer as to where to put it....as well as other more experienced Puppy and/or Linux users who really know their Linux stuff.

I hope this gives you a little more direction and help. Keep us informed.

dewdrop

Guest

#147 Post by Guest »

Hi rarsa,

Just wanted to say thanks for all the hard work! With your script, and a little sleuthing on my part, I got CUPS to install and work on my old Lexmark Optra 1620. :D

baysoor
Posts: 10
Joined: Tue 14 Feb 2006, 02:10

will install the file

#148 Post by baysoor »

Dewdrop and MU,

Thanks for the prompt reply. The big file is not a problem. I do have DSL here. But, I only get the access to the printer on week-end.

The link says that when I download the file, I get the development environment. Do I actually get the c compiler? Part of hpoj does require cups-devel python-devel PyQt net-snmp-devel libjpeg-devel also.

I am not going hpoj route yet. I will be happy to get basic printing working. But my ulitmate goal is to get scanning working too.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#149 Post by MU »

http://dotpups.de/dotpups/Printing/
But that was compiled without SANE-support, and as I have no printer, I could not test it.
See: http://www.murga.org/~puppy/viewtopic.php?p=26579#26579

You can get python from grafpup:
http://dotpups.de/grafpup/python/
http://grafpup.com/packages/

Mark

Guest

#150 Post by Guest »

MU wrote:http://dotpups.de/dotpups/Printing/
But that was compiled without SANE-support, and as I have no printer, I could not test it.
See: http://www.murga.org/~puppy/viewtopic.php?p=26579#26579

You can get python from grafpup:
http://dotpups.de/grafpup/python/
http://grafpup.com/packages/
Herr Mark

das war schnell (

User avatar
alex_b
Posts: 25
Joined: Thu 15 Dec 2005, 22:47
Location: Townsville,QLD. Australia

hpoj and newer hplip drivers

#151 Post by alex_b »

Hi everyone

before going the hpoj route to printing and scanning please check out the discussion here

http://www.murga.org/~puppy/viewtopic.php?t=607&start=0

the hpoj has been replaced by the hplip driver

Alex
"The significant problems we face cannot be solved at the same level of thinking we were at when we created them"
- Albert Einstein

baysoor
Posts: 10
Joined: Tue 14 Feb 2006, 02:10

update: hpijs did not work for me

#152 Post by baysoor »

I think I followed all instructions but cups does not see my printer. It just shows usb port. Not the printer name as it is supposed to according to cups docs.

Now I am going to try hplip (This was suggested by hp tech support too). Any way it would be nice to get the scanner working too.

I did download python from http://dotpups.de/grafpup/python/. Used alien install to install python. Install went ok but it says that missing libstdc++.so.6 from /usr/bin/python and /usr/bin/python2.4.

I also need cups-devel, python-devel, PyQt and libjpeg-devel. Any idea where to get it.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#153 Post by MU »

http://dotpups.de/dotpups/Libraries/libstdc6.pup

the others I don't know...
Mark

baysoor
Posts: 10
Joined: Tue 14 Feb 2006, 02:10

#154 Post by baysoor »

MU wrote:http://dotpups.de/dotpups/Libraries/libstdc6.pup

the others I don't know...
Mark
Thanks Mark,

I read somewhere that there is compatibility between slackware 10.1 and puppy. Is there a way to install slackware package? There seems to be readymade packages for all of the above including hplip at http://www.linuxpackages.net/

I tried to install using alien method, but I guess .tgz extention trips the pup installer. I was able to manually unzip the package but do not know what goes where. There is no script.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#155 Post by MU »

I just tried it with the package "hardinfo".


Extract a slackware-package in a temporary folder.
mkdir /root/teststuff
cd /root/teststuff
(now download a file there)
Extract it:
tar -xzvf hardinfo-0.4-i486-1cl.tgz
that gives you 2 folders
/usr
/install

Create a new folder, in my case /hardinfo-AlienPackage
mkdir hardinfo-AlienPackage

Move the new /usr there (you don't need /install, as it is slackware-specific).

mv usr hardinfo-AlienPackage

Now create a new tar.gz
tar -czvf hardinfo-AlienPackage.tar.gz hardinfo-AlienPackage

This one you can install as Alien package.

----------------------------
IMPORTANT

I wrote "hardinfo-AlienPackage", why not simply "hardinfo"?
There seems to be a serious bug in Pupget.
When I use "hardinfo", and install it as Alien package, Pupget tries to extract to "/usr/shar", not "/usr/share".

This bug seems not to happen with long names, so add "-AlienPackage".
I will report it to the Bug-forum.

Mark

baysoor
Posts: 10
Joined: Tue 14 Feb 2006, 02:10

will do as instructed

#156 Post by baysoor »

hplip also has /etc folder so I am assuming that this goes to the new package too. (Midnight commander is great for moving files).

I also ventured in to install folder just to browse and there is file that has name slack-required. I assume that it needs
cups - got that
espgs - got that (I think )
PyQT - I will follow the same method (alien)
python - got that
sane - got that
sip - will follow the same mehtod (alien)

Please correct me if I am wrong

I seems that lib directories do contain some executable code (elf) in cups and python directories. I am just going to try to install it first then see if I need those above mentioned files.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#157 Post by MU »

Yes, add them, too.
Also Pupget should inform you about missing dependencies, when you install an Alien Package.

I think /etc should work, different to Dotpups.
With Dotpups, you must rename the folder /etc to /root/.etc
But I think Pupget handles this correct.

Just check if your files still are in /etc after a reboot.

Mark

baysoor
Posts: 10
Joined: Tue 14 Feb 2006, 02:10

update making package

#158 Post by baysoor »

I tried it just now, there is an error
"there was an error expanding package hplip-AlienPackage. Either file is corrupted or has not expanded into its own directory with name of hplip-AlienPackage/ (Which is how most packages expand). "

my tar seems to go well and scrolled all the files. Xarchive is also able to read the newly created .gz file.

What is the next step?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#159 Post by MU »

Did you create the folder
hplip-AlienPackage
and moved the files there?
The folder must have the same name as the tar.gz.

Mark

baysoor
Posts: 10
Joined: Tue 14 Feb 2006, 02:10

my mistake

#160 Post by baysoor »

The folder name and .gz file name did not match. Will try again

Edit:
Renamed the command line to match the folder. Did install. Install was ok. But it talked about some missing files. Most are snmp files that local printer does not need but the package creator has made a generic package i guess.

Made sure that .etc file indeed has the required stuff from /etc directory.

Re-boot - try CUPS. I still do not see the printer on USB (It is supposed to show name SN# etc).

But, now I know how to import slackware packages, I am going to get all those packages and try to compile my own. My time is up for tonight but will conitnue tomorrow as time permits. Again I will keep the list updated on progress.

Post Reply