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 Fri 24 Oct 2014, 03:23
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
CUPS printing - installation script - update 13SEP06
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 14 [197 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 12, 13, 14 Next
Author Message
gamfa

Joined: 26 Oct 2005
Posts: 113
Location: So. Central Indiana, USA

PostPosted: Fri 04 Aug 2006, 21:54    Post subject:  

Very interesting. I used the cups>espgs>gimp-print combination on 1.09 in order to get my Epson printers to work on puppy. I do have a few comments. Why use slack 10.2. The cups, gimp-print, and hpijs are the same as 10.1 but the espgs is 2.2mb larger on 10.2. The 10.1 version is only 3.8m and 10.2 is 6.0. What advantage is there to the newer version of espgs? You might also give the user a choice to load hpijs or not. Most non-hp printers don't need it. It's is taken care of in gimp-print.

By the way, the script worked flawlessly.

Edit..
I installed the 3 app printing combo on 1.09,2.01,Optimized and 2.02 and it did not require doing anything with the perl libs as they were delivered on the iso's.
Back to top
View user's profile Send private message 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Fri 04 Aug 2006, 22:07    Post subject: Re: CUPS Printing - New installation script - Please test...  

edoc wrote:
pakt wrote:
Installing CUPS and a parallel port or USB printer in Puppy 1.xx or 2.xx


Instructions

1. Download the attached file (cups-install.tar.gz) and copy it to /root/
Then, in a console, do the following:

2. Change to your root directory
# cd /root

3. Unpack the file:
# tar -xzf cups-install.tar.gz

4. Change to the installation directory
# cd cups-install


Here is my experience -- HDD install of Puppy 2.02 on a Laptop:

sh-3.1# cd /root
sh-3.1# tar -xzf cups-install.tar.gz
sh-3.1# cd cups-install
sh: cd: cups-install: No such file or directory


Never a simple install or setup of anything here ... doc



Hi doc,


/////EDIT on 8/5/06

I have removed the 2 printscreens to save space on the Forum. Doc has reviewed this post, so they are no longer needed.

dewdrop


Might I suggest you do the following:

1. After you have downloaded the cups-install.tar.gz file and you find where it is located on your machine.... I expect it might be in your root directory..... do the following:

a. Single left click on your mouse while holding the mouse arrow over the cups-install.tar.gz file. This will open up XArchive and you should see 4 files listed. See printscreen below.

b. Click on the word Select All in the menu bar of XArchive.

c. Then click on the word Extract in the menu bar.

This will bring up a small window that shows you where the files will be extracted to....it should be the same place that the cups-install.tar.gz file is located....click on OK.

d. Open the file where all the files were extracted to in c. above....see the next printscreen with the extracted files in it.

e. Put your mouse over the open file and RIGHT click on your mouse. This will bring up a menu. Left click on the words Xterm Here. This will open the Console Window.

f. In the Console window after the # type the following:

#sh cups.install.sh (hit return to begin the installation)

You should now see activity from the slackware download site as your machine downloads and installs the various items needed for printing.

When the downloading/installation is finished with the cups.install.sh file is finished, you might need to download and install the perl file. If you do, just repeat the above process except this time you will be working with the perl file.

Does this short step by step help?

dewdrop

Last edited by dewdrop on Sat 05 Aug 2006, 07:48; edited 2 times in total
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4379
Location: Southeast Georgia, USA

PostPosted: Fri 04 Aug 2006, 22:23    Post subject: Re: CUPS Printing - New installation script - Please test...  

dewdrop wrote:
Might I suggest you do the following:

1. After you have downloaded the cups-install.tar.gz file and you find where it is located on your machine.... I expect it might be in your root directory..... do the following:

a. Single left click on your mouse while holding the mouse arrow over the cups-install.tar.gz file. This will open up XArchive and you should see 4 files listed. See printscreen below.

b. Click on the word Select All in the menu bar of XArchive.

c. Then click on the word Extract in the menu bar.

This will bring up a small window that shows you where the files will be extracted to....it should be the same place that the cups-install.tar.gz file is located....click on OK.

d. Open the file where all the files were extracted to in c. above....see the next printscreen with the extracted files in it.

e. Put your mouse over the open file and RIGHT click on your mouse. This will bring up a menu. Left click on the words Xterm Here. This will open the Console Window.

f. In the Console window after the # type the following:

#sh cups.install.sh (hit return to begin the installation)

You should now see activity from the slackware download site as your machine downloads and installs the various items needed for printing.

dewdrop


Nope. 2.02 seems to have broken something. Processes like this that worked fine under
2.00 and 2.01 fail under 2.02 on both my laptop and one desktop. No idea what is broken.

Same results:

sh-3.1# sh cups.install.sh
sh: cups.install.sh: No such file or directory
sh-3.1#


Sigh ... doc

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Billwho?


Joined: 06 Dec 2005
Posts: 570
Location: still "In The Dog House" East Coast Oz Trialing 4.20

PostPosted: Sat 05 Aug 2006, 01:20    Post subject:  

Thanks for the new script pakt. It worked like a charm. Smile The only problem I had was I forgot which ppd file to use. Twisted Evil Embarassed

I finally tracked down this chart at
http://hplip.sourceforge.net/supported_devices/inkjet_aio.html
which allowed me to find which ppd to use (in my case DJ3320)
I believe the chart should work for all HP All In One's not already listed in the Cups configuration. Very Happy

I hope one day to get scanning as well as printing to work with the hplip driver from source, but this has turned out to be a long term project for me (I started in 1.0.8 and am still trying). If I ever succeed I will let you know

Hard drive:/ 80Gb
hda1:/ 3Gb hidden vfat partion
hda2:/ 36.5Gb bootable vfat partition Window$ XP
hda5:/ 36.8Gb vfat data storage partition

Printer:/ HP PSC1410 All in one

Puppy version:/ 2.01 Live CD with pup_save.3fs file on hda5

Pearl:/ devx_200.sfs renamed as devx_201.sfs on hda5 beside pup_save.3fs

_________________
Linux = Learning through doing Shocked Confused Very Happy
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 05 Aug 2006, 05:32    Post subject:  

Buteman wrote:

The link to www.linuxprinting.org is malformed as there is a comma immediately after .org and before the final /
I did spot this but it is not easy to see.

Thanks for pointing that out. I've put a space between the link and the comma.
Buteman wrote:

That is a minor problem because I am getting the same errors as I had before when running cups-install.sh
they are :

sh-3.1# sh cups-install.sh
--19:27:24-- ftp://ftp.linux.cz/pub/linux/slackware/slackware-10.2/slackware/a/ cups-1.1.23-i486-1.tgz
=> `cups-1.1.23-i486-1.tgz'
Resolving ftp.linux.cz... done.
Connecting to ftp.linux.cz[147.251.48.205]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/linux/slackware/slackware-10.2/slackware/a .. . done.
==> PORT ... done. ==> RETR cups-1.1.23-i486-1.tgz ...
Error in server response, closing control connection.
Retrying.

--19:30:44-- ftp://ftp.linux.cz/pub/linux/slackware/slackware-10.2/slackware/a/cups-1.1.23-i486-1.tgz
(try: 2) => `cups-1.1.23-i486-1.tgz'
Connecting to ftp.linux.cz[147.251.48.205]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/linux/slackware/slackware-10.2/slackware/a ... done.
==> PORT ... done. ==> RETR cups-1.1.23-i486-1.tgz ...
Error in server response, closing control connection.

These contiue for a number of times ( 20 I think ) then it gives up.

This seems to have been a problem with the server not being available when you attempted your downloads.

I have been thinking that it may be a good idea to put the files on the pup-get repository and download them from there instead.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 05 Aug 2006, 05:53    Post subject: Re: Cups  

Buteman wrote:

I did download the files for slack 10.1 at the suggestion of another forum member and edited cups-install.sh but I cannt seem to get anything to print to my remote printer.

Buteman, how is your printer connected? Are you using a printer server or is the printer on another PC?

Do you get an error message when you click 'Print Test Page' in the CUPS web interface? (Please check 'Printer State' for the printer in the CUPS web interface after you try to print)
Buteman wrote:
running the printer wizard gives no option for remote printer uuse either.

As it is a completely new script, I thought I would start out by limiting the choices to either a parallel or USB printer. I'm hoping to add support for the different forms of network printing by using feedback from Puppy users who have successfully installed a network printer on their own.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 05 Aug 2006, 06:09    Post subject:  

gamfa wrote:
What advantage is there to the newer version of espgs?

I must assume that bugfixes and improvements have been made to ESP-Ghostscript or Slackware wouldn't have updated the file.
gamfa wrote:
You might also give the user a choice to load hpijs or not. Most non-hp printers don't need it. It's is taken care of in gimp-print.

This is a choice I had to make between adding the extra files to Puppy and keeping the user interface simple. An observation I had made from the CUPS threads on the Puppy forum was that although rarsa had divided his CUPS installation into three scripts in order to let the user choose which files to install, the general advice on the forum was to install all three.
gamfa wrote:

I installed the 3 app printing combo on 1.09,2.01,Optimized and 2.02 and it did not require doing anything with the perl libs as they were delivered on the iso's.

The script does some simple checking to see if perl is present and if it is, to check if one of the missing perl modules in Puppy 2.x is present. If one of the tests fail, the script exits with a message on how to add perl.

Hmm, it would actually be enough to just test for the missing perl modules - I can remove the other test...
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 05 Aug 2006, 06:37    Post subject:  

Billwho? wrote:

I finally tracked down this chart at
http://hplip.sourceforge.net/supported_devices/inkjet_aio.html
which allowed me to find which ppd to use (in my case DJ3320)
I believe the chart should work for all HP All In One's not already listed in the Cups configuration.

Useful link, Billwho? Thanks.
I'll put a reference to HP's 'All Supported Devices' page: http://hplip.sourceforge.net/supported_devices/combined.html in my instructions. Like you pointed out, looking up an HP printer model will show the 'Printer Class'. Use this as the 'Model' name in the CUPS web interface.
Billwho? wrote:

I hope one day to get scanning as well as printing to work with the hplip driver from source, but this has turned out to be a long term project for me (I started in 1.0.8 and am still trying). If I ever succeed I will let you know

Yes, please do.
Billwho? wrote:

Pearl:/ devx_200.sfs renamed as devx_201.sfs on hda5 beside pup_save.3fs

devx_20x.sfs is a simple alternative to adding the missing perl modules. The only drawback is that (if you don't need the development tools) it is much bigger than just adding the missing perl modules (75K).
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 05 Aug 2006, 06:51    Post subject:  

It seems the script has worked for most of you so far. That's great! Thanks for the feedback. Please keep it coming!

If all goes well, I will try to make a wizard out of the current script.

As I wrote in another post, it may be a good idea to copy the Slackware CUPS files to the pupget-packages repository along with the other Puppy tar.gz files and have the script download them from there. Any drawbacks to that idea?

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

Joined: 05 Aug 2006
Posts: 427

PostPosted: Sat 05 Aug 2006, 10:51    Post subject: Install CUPS  

Hi Pakt,
Thank to yours instruction 'howto install cups...'
I'd followed your instructions and I'd gotten the message of CUPS Web. Some messages come:
.....
Printer State: idle, accepting jobs
Device URI: parallel: de/lp0

I think that I'd installed succesfully my printer. But I could'n print the Test page?

Please give some more instructions.
Back to top
View user's profile Send private message 
Justin

Joined: 03 Aug 2006
Posts: 19

PostPosted: Sat 05 Aug 2006, 12:02    Post subject:  

I just wanted to report that the script worked fine for me. I have a Canon Pixma ip4000, which is not one of the supported printers, but I tried the Canon s800 driver as some online forums have suggested and it worked! (I haven't tried it out much & I assume some functionality is lost, but a handful of tests showed ok for daily use.)

By the way, the s800 driver solution didn't work in Mandrake 10.0--and even the Gutenberg driver included for the ip4000 in Mandriva 2006 required a lot of tweaking to get it to work with some things still broken, and I couldn't get Canon's own drivers to work at all. So this was a very happy experience. Thanks for all the work--that CUPS thread looked very daunting for novices.
Back to top
View user's profile Send private message 
Buteman


Joined: 24 Jul 2006
Posts: 16
Location: Bute - Scotland

PostPosted: Sat 05 Aug 2006, 13:00    Post subject: Re: Cups  

pakt wrote:
Buteman wrote:

I did download the files for slack 10.1 at the suggestion of another forum member and edited cups-install.sh but I cannt seem to get anything to print to my remote printer.

Buteman, how is your printer connected? Are you using a printer server or is the printer on another PC?

Do you get an error message when you click 'Print Test Page' in the CUPS web interface? (Please check 'Printer State' for the printer in the CUPS web interface after you try to print)
Buteman wrote:
running the printer wizard gives no option for remote printer uuse either.

As it is a completely new script, I thought I would start out by limiting the choices to either a parallel or USB printer. I'm hoping to add support for the different forms of network printing by using feedback from Puppy users who have successfully installed a network printer on their own.


My printer is an HP PSC1205 connected by usb to my main PC running Mandriva2006 kernel 2.6.12-18mdk printing via cups using the HP1205 ppd file.
Cups on the laptop does see the printer and it is set as the default printer.
No error messages but looking at the Jobs in cups it is just sat there 'pending since ....' ( whenever I try it).
What I am not sure of is which choice I make when I choose how to set it up from cups web interface to talk to the printer. There are a number of choices
eg ipp http etc.
Anyone any ideas please,
tia,
Norm
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 05 Aug 2006, 13:10    Post subject: Re: Install CUPS  

vanchutr wrote:
Hi Pakt,
Thank to yours instruction 'howto install cups...'
I'd followed your instructions and I'd gotten the message of CUPS Web. Some messages come:
.....
Printer State: idle, accepting jobs
Device URI: parallel: de/lp0

I think that I'd installed succesfully my printer. But I could'n print the Test page?

Please give some more instructions.

vanchutr, you will need to give us more information. What printer are you using? Which Puppy version? I'm assuming it is a parallel port printer connected to your PC.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 05 Aug 2006, 13:19    Post subject: Re: Cups  

Buteman wrote:

My printer is an HP PSC1205 connected by usb to my main PC running Mandriva2006 kernel 2.6.12-18mdk printing via cups using the HP1205 ppd file.
Cups on the laptop does see the printer and it is set as the default printer.
No error messages but looking at the Jobs in cups it is just sat there 'pending since ....' ( whenever I try it).
What I am not sure of is which choice I make when I choose how to set it up from cups web interface to talk to the printer. There are a number of choices
eg ipp http etc.

Here is a quote I saved from a post rarsa wrote. Maybe it can help:
Quote:
When I've printed to network printers with CUPS, I haven't had to install the driver on the client computer. I've just installed cups, started the cups configuration page and I'm able to see the networked printers.
Back to top
View user's profile Send private message 
Buteman


Joined: 24 Jul 2006
Posts: 16
Location: Bute - Scotland

PostPosted: Sat 05 Aug 2006, 17:10    Post subject:  

Hi,
Further checking has shown that printing works from seamonkey if I choose the correct printer from the list presented but does not work from abiword, leafpad etc.
Still puzzeled.
norm
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 14 [197 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 12, 13, 14 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.1175s ][ Queries: 12 (0.0053s) ][ GZIP on ]