Author |
Message |
pakt

Joined: 04 Jun 2005 Posts: 1156 Location: Sweden
|
Posted: Sun 24 Sep 2006, 11:06 Post subject:
*EASY* CUPS printer installation dotpup for Puppy 1.xx/2.xx |
|
UPDATE 5DEC06: This dotpup has been updated. The new cups-install-v0.3.pup can be downloaded here:
http://www.murga-linux.com/puppy/viewtopic.php?t=13466
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Announcing a simple, complete dotpup for installing CUPS printing in Puppy 1.xx & 2.xx.
No other downloads are necessary, with the exception of a .ppd file that may be needed for some printers.
MU has kindly hosted the dotpup here (this is the old dotpup):
http://dotpups.de/dotpups/Printing/cups-install-v0.2r1.pup (~13MB)
To install a parallel, USB or network printer, just download the dotpup and click on it - nothing can be simpler!
If your printer is not listed in the CUPS Web Interface (which is automatically opened when you run the dotpup), you will have to download a .ppd for your printer. Details are provided when you run the dotpup.
I have tested the dotpup with Puppy 1.07, 2.02 & 2.10 and have not found any problems so far.
Thanks to GuestToo for his dotpup creation examples in this thread http://www.murga.org/~puppy/viewtopic.php?t=10813 and to peppyy and others in this thread CUPS printing - installation script - update 13SEP06 which finally led to this CUPS dotpup
Feedback welcome, as usual
Paul
 |
Description |
|
Filesize |
37.18 KB |
Viewed |
3030 Time(s) |

|
Last edited by pakt on Tue 05 Dec 2006, 14:51; edited 5 times in total
|
Back to top
|
|
 |
Todd
Joined: 31 Aug 2006 Posts: 311
|
Posted: Sun 24 Sep 2006, 13:52 Post subject:
|
|
I have mirrored this your CUPS dotpup at:
http://www.toddrichardson.com/archive/
I am so excited about this! (I started using Puppy at version 0.9, but have never been able to print.)
Todd
|
Back to top
|
|
 |
Todd
Joined: 31 Aug 2006 Posts: 311
|
Posted: Sun 24 Sep 2006, 15:04 Post subject:
|
|
Yea!!! I can finally print!
Todd
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1156 Location: Sweden
|
Posted: Mon 25 Sep 2006, 04:11 Post subject:
|
|
Todd, glad that you finally got printing working.
I'm hoping this dotpup will be the answer for many puppians who have been struggling with printing in Puppy.
Getting CUPS to work made the difference for me - I would not have gone over to Puppy if I hadn't gotten printing to work
Paul
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Mon 25 Sep 2006, 09:23 Post subject:
|
|
Paul, I have no printer, but from this forum and my german one I know, that "printing" usually is the weakest thing in a modern linux-desktop.
Very great if it works, we should suggest Barry to add a installation-button to the printing-wizard.
Thanks for this masterpiece
Mark
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: Mon 25 Sep 2006, 10:55 Post subject:
|
|
it might be better if there were md5sums for all the files, not just for dotpup.sh, in your md5sum.txt file ... it is more likely to catch file corruption errors
but that is the choice of the creator of the package
just thought i would mention it, in case you did not realize that not all the files are being checked by md5sum (zip and gz do have their own checksums)
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1156 Location: Sweden
|
Posted: Mon 25 Sep 2006, 12:15 Post subject:
|
|
Thanks for the tip GuestToo
Actually I did think of the fact that only the script md5sum is being checked, but I followed your simple dotpup creation tip and I didn't see how to make an md5sum for all of the files.
If you would be kind enough to show me how to do it, then we can update the dotpup with the new md5sum.
Paul
Last edited by pakt on Tue 26 Sep 2006, 14:12; edited 1 time in total
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1156 Location: Sweden
|
Posted: Mon 25 Sep 2006, 12:27 Post subject:
|
|
MU wrote: |
Very great if it works, we should suggest Barry to add a installation-button to the printing-wizard. |
Well, it has worked in all my tests so far with three different Puppies
That's a good idea about adding a CUPS-install button in the printer wizard.
The package could be placed in the usual pupget repos and downloaded when the button is clicked
Paul
|
Back to top
|
|
 |
GuestToo
Puppy Master
Joined: 04 May 2005 Posts: 4078
|
Posted: Mon 25 Sep 2006, 13:28 Post subject:
|
|
my scripts to make a dotpup from the files in my working dir look something like this:
#!/bin/sh
md5sum dotpup.sh > md5sum.txt
md5sum dotpup.tar.gz >> md5sum.txt
rm -f dotpup.pup
zip -9 dotpup.pup dotpup.sh dotpup.tar.gz md5sum.txt
rm -f md5sum.txt
this would make a zipped file called dotpup.pup from dotpup.sh, dotpup.tar.gz, and md5sum.txt
if you want to include files aaa, bbb, ccc, ddd, and eee in your package, you could make a script something like this
#!/bin/sh
md5sum dotpup.sh > md5sum.txt
md5sum aaa >> md5sum.txt
md5sum bbb >> md5sum.txt
md5sum ccc >> md5sum.txt
md5sum ddd >> md5sum.txt
md5sum eee >> md5sum.txt
zip -9 dotpup.pup \
dotpup.sh \
aaa \
bbb \
ccc \
ddd \
eee \
md5sum.txt \
or you can put it all on 1 line
or you could put all the files in a dir called "files" and do something like this:
#!/bin/sh
cd files
rm mdsum5.txt
md5sum * > md5sum.txt
zip -9 ../mydotpup.pup *
a dotpup package should work if it's a zip file with a dotpup.sh in it to do the work, and whatever md5sum.txt file you want, as long as it won't cause md5sum -c md5sum.txt to leave an error code ... there is not one "correct" way to do it
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1156 Location: Sweden
|
Posted: Tue 26 Sep 2006, 14:23 Post subject:
|
|
Ok, thanks for your help GuestToo. Your explanation was clear.
So the md5sum.txt file contains the checksums from all of the files. That's what I was not sure about.
I think it is a good idea to have the dotpup check the md5sums of all the files in my package, so I'll update the package tomorrow when I will have the time.
Paul
|
Back to top
|
|
 |
klhrevolutionist

Joined: 08 Jun 2005 Posts: 1124
|
Posted: Tue 26 Sep 2006, 16:43 Post subject:
|
|
Just to be clear. All I need is the dotpup hosted by MU ? Or do I need to follow the other links mentioned and install apps where it may be mentioned ?
Running Puppy 1.0.9
_________________ Heaven is on the way, until then let's get the truth out!
|
Back to top
|
|
 |
Todd
Joined: 31 Aug 2006 Posts: 311
|
Posted: Tue 26 Sep 2006, 16:53 Post subject:
All you need is the one dotpup |
|
All you need is the one dotpup.
Todd
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1156 Location: Sweden
|
Posted: Wed 27 Sep 2006, 01:58 Post subject:
|
|
klhrevolutionist wrote: | Just to be clear. All I need is the dotpup hosted by MU ? Or do I need to follow the other links mentioned and install apps where it may be mentioned ?
Running Puppy 1.0.9 |
You *may* also need a .ppd file for your printer if it is not listed in the CUPS web interface.
This interface will be opened automatically during the final part of the CUPS installation.
A separate help window also opens where you will get further instructions on what to do if your printer isn't listed.
Paul
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Wed 27 Sep 2006, 13:46 Post subject:
|
|
---
Last edited by MU on Wed 27 Sep 2006, 14:00; edited 2 times in total
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Wed 27 Sep 2006, 13:52 Post subject:
|
|
Paul has updated the dotpup:
http://dotpups.de/dotpups/Printing/cups-install-v0.2r1.pup
Mark
|
Back to top
|
|
 |
|