This is old info for installing CUPS. Cups is included in Puppy from 2.17 on. See
Printing∞ for general printing information. Also if you want to install CUPS in an older Puppy, use the v0.3 dotpup, not these instructions.
CUPS/printer support with Puppy
http://dotpups.de/dotpups/Printing/cups-install-v0.3.pup∞
http://www.murga.org/%7Epuppy/viewtopic.php?t=8673&highlight=abiword∞
Finally here it is. I found that it would take me the same time to write the instructions as to write the scritt. I'd recommend you to read the script to understand what I'm doing and maybe find a better way of doing it.
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.
Note: You must be logged into the Internet to perform the CUPS install.
Instructions:
1. Download the cups-install.tar.gz file
So you don't have to chase around blindly, here is the URL:
<
http://www.murga.org/~puppy/viewtopic.php?t=2049∞>
Scroll down a few posts and you will see the box with the download link.
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"
In Puppy 2.00 you *may* see this message after executing "sh cups-install.sh"
FATAL: Module printer not found.
Ignore it and continue the CUPS setup process.
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 download the usr_devx.sfs file.
You may download it from here:
<
http://www.murga.org/~puppy/viewtopic.php?t=2049∞>
Scroll down a few posts and you will see the box with the download link.
If you are using a puppy version prior to 1.0.5 downlad the attached perl installer, untar it and install 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"
Filesize: 304 Bytes
Download∞
cups-install.tar.gz
Description:
After downloading this file, untar it using "tar -xvzf cups-install.tar.gz"
Filesize: 5.82 KB
Download∞
Forum Thread∞
Categories
CategoryHowto
CategoryHardware
There are 2 comments on this page. [Display comments]