The fastest way for you to start printing is to test the step by step instructions that way you will help me check if I am missing something.

Rarsa,

Thanks for the effort..it will sure make my life easier....new to Puppy, Linux, etc.........hope I can be of help ... I'm sure I'll learn something with the step by steps. I'll tackle it in the morning.

Finally here it is. I found that it would take me the same time to write the instructions as to write the scritp. I'd recommend you to read the script to understand what I'm doing and maybe find a better way of doing it.

I still need to package all of this in a DotPup.

Notes:
- I will put new versions of the installer in this post. If you have tried a previous version check the change log before trying again.
- I tested this script booting from a chubby puppy 1.0.4 live CD.
- Currently the each of the install scripts download the required files from a slackware mirror. I'm thinking that's the best option for now.
- The configuration files are already configured to work with puppy.
- The script modifies rc.local to start cups at boot time.
- You need about 25 MB of free space to install all the components
- This instructions include the hpijs printer driver as an example. Before proceeding make sure that you have available CUPS printer drivers for your particular printer. You can google to find out.
For a list of printers supported by hpij go to this page http://www.linuxprinting.org/show_driver.cgi?driver=hpijs

The scripts downloads the required packages to /root/tmp
It extracts them to /tmp . This means the following:
- Installation is faster as /tmp is in RAMDISK
- You need enough ram or enough swap space (about 30 MB)
- All temporary files will be lost when you reboot.

Disclaimer
This script is working for me using a pristine pup001 file.
I highly recommend testing with a pristine pup001 file. Don't test in your regular pup001. I am not responsible if you corrupt your pup001 file. An alternative is to backup your pup001 file to test on an already configured and non pristine pup001.

Instructions:
1. Download the cups-install.tar.gz file
2. Open a console terminal and change folders to the folder where you downloaded the file.
3. Untar the cups-install.tar.gz with "tar -xvzf cups-install.tar.gz". This tar file includes the scripts to install cups. ESP Ghostscript and the hpijs driver.
4. From the console execute "sh cups-install.sh"
5. If you are printing to a remote CUPS server go to step 9, otherwise continue with step 6.
6. If your print drivers require ESP Ghost script, execute ""sh espgs-install.sh". (the hpijs driver needs it).
7. Install the CUPS drivers for the printers connected to your puppy computer according to your driver's instructions. Check in www.linuxprinting.org to find out the drivers required by your printer. These instructions include the hpijs, if your printer is suported just execute "sh hpijs-install.sh".
8. If your driver requires foomatic, you also need to install Perl. Don't use the Perl PupGet as it is a stripped down version. If you are using puppy 1.0.5 or newer download the usr_devx.sfs file. If you are using a puppy version prior to 1.0.5 downlad the attached perl installer, untar it and instal with "sh perl-5.8.6-install.sh"
9. Restart cups with "sh /etc/rc.d/rc.cups restart"
10. Open your browser and go to the following address http://localhost:631
11. Add your printer following the links on that page. If you already have a CUPS server that allow browsing you will see the shared printers there.
12. Print the test page

It's THAT easy. I took dewdrop and my self about 80 hours to get to this point but we are finally here!

The main problems I encountered were the following:
- Understanding what I was doing as I did not have previous CUPS experience.
- Find a version that ran OK under puppy. (this took almost 15 hours)
- Finding the correct access rights combination for the config files.
- Understanding that I needed ESP Ghostscript.
- Learning that the Perl PupGet did not include all the components required by foomatic.

========== Change log ==========
Oct 6, 2005 11:51 pm EST
- Added comment to use usr_devx.sfs in puppy 1.0.5 to access perl.
Sept 12, 2005 11:22 pm EST
- Added Full Perl Installation. Final instructions.
Sept 8, 2005 11:22 pm EST
- Inserted new step to install Perl when the driver requires foomatic.
Sept 4, 2005 8:31 pm EST
- Cleaned up the configuration file cupsd.conf
Sept 3, 2005 2:37 pm EST
- Added the hpijs printer driver which supports hundreds of printers from many brands.
- Created separate scripts for CUPS, ESP Ghostscript and the hpijs driver.
- Packaged all the scripts and configuration files in one download.
- Changed the protocol for the wget from HTTP to FTP. Now the download is faster.
- The scripts now download the packages to /root/tmp so you don't have to redownload them every time.
- The script will continue with a failed download when you re-run it.

Sept 3 ,2005 2:19 am EST
- First post

perl-5.8.6-install.tar.gz

Description

After downloading untar with "tar -xvzf perl-5.8.6-install.tar.gz", and run the installation script with "sh perl-5.8.6-install.sh"

One thing any directoires that get created in /var are going to be lost after every reboot nad may need recreating on each reboot

Actually those folders are created by cupsd when it starts so it shouldn't be a problem. One of my tests included rebooting after the installation.

Rich wrote:

I get the message './cupsinstall.sh : Permission denied'

Thank you, I've fixed the instructions.

dewdrop wrote:

I am stopped at this point....

The script downloads the required components from a Slackware mirror. I selected the fastest Mirror at that time. Apparently the mirror is everloaded or something like that. Try again later.

Notes:
- I've added some extra notes to the instructions. If you are using a modem connection Please review them.
- I'm thinking about separating the CUPS and ESP Ghostscript installations. I don't think ESP Ghostscript is required in every situation and it's a quite large download.

To search for something you go to www.google.com and enter the words you want to search on:

e.g. "HP Deskjet 320 CUPS drivers"

Press enter and youl'll have to browse the returned pages to find out which ones are relevant.

In this case and as an example I found this page
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_3320

You happen to be a very lucky person! HP Printers are the best supported printers under linux. HP Created a driver that works with an impressive number of printers (both HP and other brands). As such I've created an installer for the driver and I will be including it in the instructions page.

Sept 3, 2005 2:37 pm EST
- Added the hpijs printer driver which supports hundreds of printers from many brands.
- Created separate scripts for CUPS, ESP Ghostscript and the hpijs driver.
- Packaged all the scripts and configuration files in one download.
- Changed the protocol for the wget from HTTP to FTP. Now the download is faster.
- The scripts now download the packages to /root/tmp so you don't have to redownload them every time.
- The script will continue with a failed download when you re-run it.

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