Printing with CUPS: Almost here ! (Finally HERE!)

Under development: PCMCIA, wireless, etc.
Message
Author
Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

Lost it with Puppy 2

#196 Post by Taavi »

Hi,

I was happily printing with cups and Puppy 1.08. But as I got to Puppy 2 I have not managed to get it working. I have installed cups and I get it right when I go to localhost:631. Everything looks fine but I can't print. I see the jobs there, but nothing else happens. There is this message by the printers state: "Unable to open USB device "usb:/dev/usb/lp0": No such device"
Device URI: usb:/dev/usb/lp0

Did I mess something?

Taavi

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Re: Lost it with Puppy 2

#197 Post by dewdrop »

Taavi wrote:Hi,

I was happily printing with cups and Puppy 1.08. But as I got to Puppy 2 I have not managed to get it working. I have installed cups and I get it right when I go to localhost:631. Everything looks fine but I can't print. I see the jobs there, but nothing else happens. There is this message by the printers state: "Unable to open USB device "usb:/dev/usb/lp0": No such device"
Device URI: usb:/dev/usb/lp0

Did I mess something?

Taavi
Hi Taavi,

I'm not able to print with CUPS on Puppy2 yet either. I've been wondering why, and it might have something to do with the following:
1. Puppy2 has Xorg and Xvesa, but so does Puppy1.0.9CE, and I'm printing fine with CUPS there - using either Xorg or Xvesa.

2. It can't find usr_devx.sfs or there is some kind of conflict between it and the perl file that is included inside of Puppy2 (I believe I read one of Barry's comments on his developer's site about perl5.8.1 being included with Puppy2).

I'm going to send this post as a private message to both Barry and Rarsa, to get their input.

I have tried to use the chroot method of gaining access to programs I have on Ubuntu - which is installed on the hard drive of my system, - something I can do using either Xorg or Xvesa in 1.0.9. In Puppy2, I can get the chroot access using Xvesa, but not Xorg.

I know that things have changed between Puppy1.xx and Puppy2, I'm just not smart enough to be able to figure out how to handle the differences without a lot of help from the people that really know.

I'll ask Barry and Rarsa to post their replies to this thread when they have an answer.

dewdrop

User avatar
cobelloy
Posts: 204
Joined: Mon 23 May 2005, 07:12
Location: Karratha W.Australia

#198 Post by cobelloy »

I also had an easy time getting cups on 108, but get no joy on 2.0

r__hughes
Posts: 359
Joined: Thu 13 Apr 2006, 04:14
Location: Montreal, Canada

#199 Post by r__hughes »

I've just started using LivePuppy200-seamonkey and I've been checking out
the peripherals I was able to use in pup108r1.

Using the method I described above for puppyv108r1 I managed to install CUPS and Turboprint and get my Canon S520 (parallel port) printing in colour in puppy200 with no problem.

The only significant difference was that at the end of CUPS installation I got a 'missing Printer module error" but this didn't seem to affect anything.
Maybe this was due to lack of a usr_devx.sfs equivalent.

Before installing Turboprint I checked the CUPS localpage:631 for the inbuilt printers and they all seemed to be there - but of course I couldn't check any
of them.

Afterwards I added my printer using Turboprint's xtpsetup but a quick check using the CUPS localpage:631 showed CUPS could be used to add/delete/modify printers.

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Re: Lost it with Puppy 2

#200 Post by dewdrop »

I'll ask Barry and Rarsa to post their replies to this thread when they have an answer.

dewdrop
For Taavi, r_huges, and cobelloy,

I just received word from Barry that the perl files are in conflict between Puppy2 and the one in devx_200.sfs. Barry will fix this conflict in the next release of Puppy2.

The devx_200.sfs file can be downloaded from here:

http://www.puppylinux.org/user/downloads.php?cat_id=12

It is big (45 megs).

Rarsa hasn't tried to install his printer yet into Puppy2, so I imagine he will await the fix from Barry too.

Dewdrop

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#201 Post by rarsa »

Now that I know what the problem is, I will.

Although I actually remembered that my printer driver does not need perl.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
duke93535
Posts: 194
Joined: Thu 05 May 2005, 16:45
Location: California , High Desert

usb printer

#202 Post by duke93535 »

We have been using our usb printers right along. The usb modules don't load in Puppy2 without modprobing usblp. I just add these lines to /etc/rc.d/rc.local.

modprobe ohci-hcd #these are needed on HARDDRIVE install
#modprobe uhci-hcd #not used by my computer, some computers need this
#modprobe ehci-hcd #not used by my computer, some computers need this
# Start usb printer
modprobe usblp

You can remark out the other #modprobe printer put in by cups, because it is not used.
Reboot and check your USB Viewer, the printer should change from red to black. The problem seems not to be with cups. Gave it a try, it won't hurt. You can always remark out if it doesn't.
Good Luck, Duke

ps We might have given BarryK a headache on this.
Last edited by duke93535 on Wed 07 Jun 2006, 19:36, edited 1 time in total.

Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

cups problems

#203 Post by Taavi »

Hi,
thanks for the advice, Duke. I did as you told here above and I got my printer working again (usb printer, yes).

Taavi

User avatar
duke93535
Posts: 194
Joined: Thu 05 May 2005, 16:45
Location: California , High Desert

#204 Post by duke93535 »

Your welcome

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Re: usb printer

#205 Post by dewdrop »

duke93535 wrote:We have been using our usb printers right along. The usb modules don't load in Puppy2 without modprobing usblp. I just add these lines to /etc/rc.d/rc.local.

modprobe ohci-hcd #these are needed on HARDDRIVE install
#modprobe uhci-hcd #not used by my computer, some computers need this
#modprobe ehci-hcd #not used by my computer, some computers need this
# Start usb printer
modprobe usblp

You can remark out the other #modprobe printer put in by cups, because it is not used.
Reboot and check your USB Viewer, the printer should change from red to black. The problem seems not to be with cups. Gave it a try, it won't hurt. You can always remark out if it doesn't.
Good Luck, Duke

ps We might have given BarryK a headache on this.

Hi Duke93535...and all the others that have been interested in getting their printers working again with Puppy2.

I just opened the console, typed in the modprobe uhci-hcd, modprobe ehci-hcd, and modprobe usblp, then went to the Turboprint file that I have and until now used in Costa Rica on my Canon printer there. Installed Turboprint, went thru the setup process and now have my HP6540 model printer working with Puppy2.

My thanks to Duke too!!!

Now I plan to do a pristine Puppy2 - from the USB drive where it resides on my system, and see if Duke's procedure will work with Rarsa's CUPS install, even though there is the perl file conflict still present between Puppy2 and the devx_200.sfs file.

I will try and be efficient and remember to do a step by step of my testing with the above idea, and place it here for others to use.

dewdrop

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

#206 Post by Kal »

We (Duke & Kal) posted this sometime back to your joking on Costa Rica, but the forum was messing up and must have dropped it. BarryK's info is what got it going. We are using MU's perl.pup with no problem. We been trying to help folks on the Harddrive issues and just looked down here.
Your Welcome and Good Luck, Kal & Duke

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: DONE!

#207 Post by edoc »

rarsa wrote: 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"
Just tried to install CUPS on my wife's desktop Puppy 2.

I ran "sh cups-install.sh" and after a bunch of dialog scrolled by there
was this ...

modprobe printer
FATAL: Module printer not found.
/etc/rc.d/rc.cups start# Load the module for usb printers
cups: started scheduler.


Help? Thanks! doc

*** EDIT ***

On a whim, and based on a couple of other experiences with the often
robust Puppy, I decided to ignore the macabre "FATAL" message and
press on through the rest of the steps.

VICTORY OVER DEATH ... or at least over the grossly overstated
"FATAL" massage.

My Samsung ML-2251NP laser printer, not listed as Puppy supported
does work! (I acquired the driver via the Samsung site, ran their installer,
and CUPS recognized it. Hooray!)

:-) doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Samsung ML-2251NP laser printer - Success

#208 Post by dewdrop »

From edoc
Just tried to install CUPS on my wife's desktop Puppy 2.

I ran "sh cups-install.sh" and after a bunch of dialog scrolled by there
was this ...

modprobe printer
FATAL: Module printer not found.
/etc/rc.d/rc.cups start# Load the module for usb printers
cups: started scheduler.


Help? Thanks! doc

*** EDIT ***

On a whim, and based on a couple of other experiences with the often
robust Puppy, I decided to ignore the macabre "FATAL" message and
press on through the rest of the steps.

VICTORY OVER DEATH ... or at least over the grossly overstated
"FATAL" massage.

My Samsung ML-2251NP laser printer, not listed as Puppy supported
does work! (I acquired the driver via the Samsung site, ran their installer,
and CUPS recognized it. Hooray!)

:-) doc

Way to go Doc!!!!!

Notice I put your printer name in the Subject line. Hopefully that will give others with the same printer a small nudge to keep trying.

dewdrop

User avatar
dewdrop
Posts: 298
Joined: Tue 30 Aug 2005, 01:54
Location: Texas USA

Re: HP 6540 usb printer

#209 Post by dewdrop »

Hi Pups,

I downloaded John Murga's Mean Puppy (2.0), and forgot to eliminate the pup_save.sfs file, so my settings from Barry's Puppy2 came up in John's version....most of them anyway.

The step-by-step to get my captioned printer working is as follows:

1. I went thru Rarsa's steps to get the CUPS files installed. (Page 1 of this thread - Rarsa's September 3, 2005 entry)
2. Rebooted the computer.
3. Restarted CUPS with the command: sh /etc/rc.d/rc.cups restart
4. Then did Duke's modprobe instructions: see them earlier on this thread...on page 13 - his June 7th posting.
5. Went to the localhost:631 page, installed my HP6540 USB Printer
6. Requested a test page be printed, and the printer started and printed the test page.

I would expect that as long as I do not remove the pup_save.sfs file, that I can now go back to Barry's Puppy2 version and it will allow printing with CUPS as well, without having to redo the above steps.....I'm writing this from John Murga's Mean Puppy, so I'll now start up Barry's version and see if the printer will work.

dewdrop

//////EDIT

I just tried to used Barry's Puppy2 - final, and Puppy2 with Opera, and back again with John Murga's Mean Puppy2 - leaving the same pup_save.sfs file in place. The printer does not work in any of these versions now. I shall now try the above step-by-step for each version, and see what happens.
dewdrop

///////////EDIT #2

I went thru each of the 3 Puppy2 Versions - Barry's Puppy2-Final, Barry's Puppy2 w/Opera, and John Murga's Mean Puppy. Only John's Puppy printed using the above step by step. Conclusion - John's version has something that Barry's versions do not. I did not remove or change the pup_save.sfs file during this testing.

dewdrop

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Works Great with HP PSC 1610!

#210 Post by disciple »

The instructions (with hpijs) work great for an HP PSC 1610 multifunction (in Puppy 1.09). Good Work!

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

modprobe usblp

#211 Post by Kal »

Some times the modprobe entry can be messed up in rc.local because of auto load entries to the same line by cups installer. Lookout for this.
Good Luck, Kal

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: modprobe usblp

#212 Post by edoc »

Kal wrote:Some times the modprobe entry can be messed up in rc.local because of auto load entries to the same line by cups installer. Lookout for this. Good Luck, Kal
What can be done to eliminate such conflicts?

We keep losing cups recognition of the printer when my wife's pc is
rebooted.

Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

usb printer

#213 Post by Kal »

Edoc
Should be just one time that this could happen. After you fix it up, it's all right, unless your reinstalling cups for some reason. below is my /etc/rc.d/rc.local:

# USB Print Module
modprobe usblp
# End of Module Install
# Start cups
/etc/rc.d/rc.cups start

Anything being added to the end of modprobe usblp, well stop it, like modprobe usblp#xxxxx.
I add "# End of Module Install" just for GP, and remove modprobe printer on Puppy2 for usb.
Good Luck, Kal

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: usb printer

#214 Post by edoc »

Kal wrote:Edoc
Should be just one time that this could happen. After you fix it up, it's all right, unless your reinstalling cups for some reason. below is my /etc/rc.d/rc.local:

# USB Print Module
modprobe usblp
# End of Module Install
# Start cups
/etc/rc.d/rc.cups start

Anything being added to the end of modprobe usblp, well stop it, like modprobe usblp#xxxxx.
I add "# End of Module Install" just for GP, and remove modprobe printer on Puppy2 for usb.
Good Luck, Kal
This is what I had:
# Start usb for printer
modprobe usblp
# Start cups
/etc/rc.d/rc.cups start
# Load the module for usb printers
modprobe printer


EXCEPT that there was a typo that had two lines run together:
/etc/rc.d/rc.cups start# Load the module for usb printers

Is the modprobe printer unnecessary?

Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

rc.local

#215 Post by Kal »

Edoc
Yes, on Puppy2 for usb printer. PupBeGone can do the same as Cups on the auto load to rc.local.
Good Luck, Kal

Post Reply