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 Sun 09 Dec 2018, 15:38
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
*EASY* CUPS printer installation dotpup for Puppy 1.xx/2.xx
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [52 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: 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 Very Happy

Feedback welcome, as usual Wink

Paul
CUPS Printer Installation.png
 Description   
 Filesize   37.18 KB
 Viewed   3027 Time(s)

CUPS Printer Installation.png


Last edited by pakt on Tue 05 Dec 2006, 14:51; edited 5 times in total
Back to top
View user's profile Send private message 
Todd

Joined: 31 Aug 2006
Posts: 310

PostPosted: 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
View user's profile Send private message 
Todd

Joined: 31 Aug 2006
Posts: 310

PostPosted: Sun 24 Sep 2006, 15:04    Post subject:  

Yea!!! I can finally print!



Todd
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: 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 Razz

Paul
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: 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 Very Happy

Mark
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: 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
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: 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
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: 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 Wink

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 Cool

Paul
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: 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
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Tue 26 Sep 2006, 14:23    Post subject:  

Ok, thanks for your help GuestToo. Your explanation was clear. Smile

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
View user's profile Send private message 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: 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
View user's profile Send private message 
Todd

Joined: 31 Aug 2006
Posts: 310

PostPosted: 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
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: 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. Wink

Paul
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 4 [52 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Announcements
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.0634s ][ Queries: 13 (0.0167s) ][ GZIP on ]