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 Tue 02 Sep 2014, 06:22
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Printing with CUPS: Almost here ! (Finally HERE!)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 15 of 16 [229 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16 Next
Author Message
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Wed 14 Jun 2006, 05:09    Post subject: modprobe usblp  

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
Back to top
View user's profile Send private message 
edoc


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

PostPosted: Wed 14 Jun 2006, 08:07    Post subject: Re: modprobe usblp  

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

_________________
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 
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Wed 14 Jun 2006, 16:06    Post subject: usb printer  

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
Back to top
View user's profile Send private message 
edoc


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

PostPosted: Thu 15 Jun 2006, 09:23    Post subject: Re: usb printer  

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

_________________
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 
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Thu 15 Jun 2006, 12:13    Post subject: rc.local  

Edoc
Yes, on Puppy2 for usb printer. PupBeGone can do the same as Cups on the auto load to rc.local.
Good Luck, Kal
Back to top
View user's profile Send private message 
edoc


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

PostPosted: Thu 15 Jun 2006, 13:02    Post subject: Re: rc.local  

Kal wrote:
Yes, on Puppy2 for usb printer.


Short night sleep and the coffee is not working real well ...

Are you affirming that the "modprobe printer" is *not* needed?

Kal wrote:
PupBeGone can do the same as Cups on the auto load to rc.local.


This really confuses me. I thought that PupBeGone was for removing
apps one has loaded.

Are you saying that PupBeGone may be used to modify rc.local or that
certain changes via PupBeGone may result in changes to rc.local?

Tnx! 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 
dewdrop


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

PostPosted: Thu 15 Jun 2006, 13:34    Post subject: How to Print with CUPS using Puppy2  

Hi Pups,

I am adding a link to a How To that I just completed for people to try with the various versions of Puppy2.

It can be found here:

http://www.murga.org/~puppy/viewtopic.php?t=8673

I know it is kind of long, but with all of the people arriving that are new not only to Puppy, but to Linux in general, it might be useful.

dewdrop
Back to top
View user's profile Send private message 
edoc


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

PostPosted: Thu 15 Jun 2006, 13:46    Post subject: Re: How to Print with CUPS using Puppy2  

dewdrop wrote:
Hi Pups,

I am adding a link to a How To that I just completed for people to try with the various versions of Puppy2.

It can be found here:

http://www.murga.org/~puppy/viewtopic.php?t=8673

I know it is kind of long, but with all of the people arriving that are new not only to Puppy, but to Linux in general, it might be useful.

dewdrop


WOOF! WOOF! WONDERFUL!

We need a whole lot more of this if Puppy is to break into common use.

I know the Wiki is intended for this purpose but it is often out of date
and is incomplete.

Between Wiki and Forum posts making vague references to fragmented
discussions scattered across posts and sometimes deleted or moved links
it is near impossible to solve problems without hours of wasted time and
frustration -- or raising the same questions over and over.

The other serious flaw in documentation is the tendency we all have to fail
to include the Puppy version and if we are running a HDD or other type of
install.

Perhaps categories within a Puppy Manual Wiki need to be assigned to
specific people with occasional automated tweaks to remind them to check
their wards for up-to-date information.

I think we also need to fix the Search feature of the Wiki which, like most
search engines, tends to bring up way too many irrelevant links.

IMHO, YMMV ... 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 
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Thu 15 Jun 2006, 17:49    Post subject: Modprobe printer can be removed from rc.local  

Hi, Edoc
Any program that adds entries to rc.local as part of its install, in order to function seems to have had this problem, in the past. As you saw on your own computer the #information line was place right behind the good line, nullifying that entry and your computer would not start cups. The #information line should have started on the next line. There is something missing in the script, how to fix is over my head. If we can make our super good folks, who write these, just aware of the problem I am sure they will come up with the fix.
The yes was an answer to your question. Yes, "modprobe printer" can be removed, or remarked out, it's not used in Puppy2. That is why we are adding "modprobe usblp", which is the module used in Puppy2 on usb printers. I hope that clear this up (Sorry).
Good Luck, Kal
Back to top
View user's profile Send private message 
mrwolfe

Joined: 12 Jul 2006
Posts: 9

PostPosted: Wed 12 Jul 2006, 18:29    Post subject:  

Hi guys.

I'm having some trouble getting my lbp3000 to print. I have puppy set up in a wafer 5820 SBC with a 300 Gig HD that I'm hoping to use as a mini F&P server. I've set up usb by adding the following to /etc/rc.d/rc.local:

modprobe ohci_hcd
modprobe uhci_hcd
modprobe usblp


Puppy sees USB devices OK (e.g memory sticks), and I can see /dev/usb/lp0 and /dev/usb/lp1. I have 2 usb ports, so this looks right.

I have installed PERL and CUPS from the tarballs, and the lbp3000 drivers from the RPM's on the canon website. CUPS can see the printer via the usb port because "usb printer #1 canon lbp3000" shows up in the devices list and everything looks good. When I try to print a test page, though, nothing happens. A spool file appears in /var/spool/cups but no output. I have tried sending the spool file directly to the printer port e.g cat c00001 > /dev/usb/lp0, nothing. I have also tried e.g echo -e "test\n" > /dev/usb/lp0 as well as cat sometextfile > /dev/usb/lp0, still nothing.

2 questions:

1. has anyone else managed to get this printer to work, and if so, how?
2. Do any of you guys who are intimately familiar with usb printers have any suggestions?

actually, 3 questions - any ideas on getting the full version of RPM? the busybox version doesn't do uninstalls.

Mr Wolfe

<cross-posted in http://www.murga.org/~puppy/viewtopic.php?t=8673>
Back to top
View user's profile Send private message 
jaxpilot


Joined: 31 May 2006
Posts: 25
Location: St. Augustine

PostPosted: Sun 16 Jul 2006, 00:45    Post subject: Dell 3100cn on network installed perfectly  

Just wanted to say thanks again to all those who know so much more and are willing to share the knowledge and take time to teach.

I just followed the instructions found in this thread: http://www.murga.org/~puppy/viewtopic.php?t=8673

and had my Dell 3100cn duplexing laser color network printer working flawlessly in about 15 minutes. I just moved the Dell provided PDD file and restarted CUPS and bingo.

Thanks!

Paul
_____________
Puppy 201r2 HDD install
Sony Picturebook C1XS
64 MB RAM, 12 GB HDD
Back to top
View user's profile Send private message AIM Address Yahoo Messenger 
Buteman


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

PostPosted: Thu 03 Aug 2006, 11:40    Post subject:  

Hi,
Using Puppy 2.02 hard disc install.
Tried to install cups but got the following errors:
Lots of errors like this -
--16:07:54-- ftp://ftp.linux.cz/pub/linux/slackware/slackware-10.1/slackware/d/perl-5.8.6-i486-1.tgz
sh: --16:07:54--: command not found
sh-3.1# (try:20) => `perl-5.8.6-i486-1.tgz'
sh: syntax error near unexpected token `='
sh-3.1# Connecting to ftp.linux.cz[147.251.48.205]:21... connected.
sh: Connecting: command not found
sh-3.1# Logging in as anonymous ... Logged in!
sh: Logging: command not found
sh-3.1# ==> SYST ... done. ==> PWD ... done.
sh: ==: command not found
sh-3.1# ==> TYPE I ... done. ==> CWD /pub/linux/slackware/slackware-10.1/slackware/d ... done.
sh: ==: command not found
sh-3.1# ==> PORT ... done. ==> RETR perl-5.8.6-i486-1.tgz ...
sh: ==: command not found
sh-3.1# Error in server response, closing control connection.
sh: Error: command not found
sh-3.1# Giving up.

and this -
--16:17:41-- ftp://ftp.linux.cz/pub/linux/slackware/slackware-10.1/slackware/a/cups-1.1.23-i486-1.tgz
(try:20) => `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.1/slackware/a ... done.
==> PORT ... done. ==> RETR cups-1.1.23-i486-1.tgz ...
Error in server response, closing control connection.
Giving up.

so then the following -
tar (child): /root/tmp/cups/cups-1.1.23-i486-1.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
sh: install/doinst.sh: No such file or directory
cp: cannot stat `etc/*': No such file or directory

Any ideas please?
tia,
Norm
Back to top
View user's profile Send private message 
pg99

Joined: 13 Jun 2006
Posts: 64

PostPosted: Thu 03 Aug 2006, 13:34    Post subject:  

i had his same problem the other day. looks like there is something wrong with ftp.linux.cz. I found a list of slackware mirrors for that file here http://slackware.it/en/pb/package.php?q=10.1/cups-1.1.23-i486-1 and downloaded myself. Then i just changed the line in the doinst.sh script to do a copy instead of a wget and it was fine from there.

hth
Phil
Back to top
View user's profile Send private message 
Buteman


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

PostPosted: Thu 03 Aug 2006, 18:23    Post subject:  

Thanks,
That worked,
Norm
Back to top
View user's profile Send private message 
dewdrop


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

PostPosted: Thu 03 Aug 2006, 19:37    Post subject: CUPS (Finally Here)  

pg99 wrote:
i had his same problem the other day. looks like there is something wrong with ftp.linux.cz. I found a list of slackware mirrors for that file here http://slackware.it/en/pb/package.php?q=10.1/cups-1.1.23-i486-1 and downloaded myself. Then i just changed the line in the doinst.sh script to do a copy instead of a wget and it was fine from there.

hth
Phil


Quote:
Thanks,
That worked,
Norm


Hi Norm and Phil,

This is dewdrop, and I'm just a little confused about your inability to do the downloads - were you using the items from the first page of this thread where Rarsa gives instructions on downloading 2 files: perl-5.8.6-install.tar.gz and cups-install.tar.gz and the step-by-step of how to get those 2 items working in Puppy?

....you indicate that there is a problem with downloading from the ftp.linux.cz. site. I just tried going thru that exercise again with no problem encountered with the download site.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 15 of 16 [229 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0965s ][ Queries: 13 (0.0085s) ][ GZIP on ]