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 22 Aug 2014, 23:47
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
Printing to windows shared printers
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Wed 07 Oct 2009, 05:46    Post subject:  Printing to windows shared printers  

I am trying to set up my Puppy PC to print to 2 printers which are connected to a PC running Windows XP Pro.

The printers are a Samsung ML2010R and an HP OfficeJet 6210.

My Puppy PC uses Puppy 430 and 214X (ttuuxxx's).

I found and installed the print drivers on my puppy PC.

Under Puppy 430 I got the Samsung to print using CUPS and
Quote:
Windows Printer via Samba

using
Code:
 smb:192.168.0.4/name_of_xp_pc/name_of_printer


However I get an error message
Quote:
Tree connection failed (NT_status_access_denied)

But as it does print I guess that's not too worrying???

However I am unable to get it working in Puppy 214X.
Using CUPS to add a printer I do not get any
Quote:
Windows Printer via Samba
option.

How can I tell if I have all the required printer/network/samba/cups apps in pup214X that are there in pup430.

Thanks for any help
Dave

Last edited by davesurrey on Thu 08 Oct 2009, 11:55; edited 2 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Wed 07 Oct 2009, 23:42    Post subject:  

Read the first part of this message about creating a symlink.

However, this will depend on how much of the samba client is installed in 2.14X.
Back to top
View user's profile Send private message 
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Thu 08 Oct 2009, 06:17    Post subject:  

rcrsn51
Thank you for your help. That's a very interesting thread you pointed me to.
It is now working after I made the symlink.

Don't know which cups ttuuxxx has used for 214X or the samba client but I believe he may have got it from one of the 4 series.

Dave
Back to top
View user's profile Send private message 
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Thu 08 Oct 2009, 06:18    Post subject:  

Well I spoke too soon...all was working well printing from abiword but then after a reboot I lost all settings and had to re-install the printers again.

After some experimenting it seems all I need do is restart cups with
Code:
/etc/init.d/cups start

but don't know why it doesn't do that automatically.

Dave
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Thu 08 Oct 2009, 14:11    Post subject:  

Try this:

Reboot your machine.
Open a terminal and type: /etc/init.d/cups status

Is CUPS running? If it's installed correctly, it should have auto-started.
Back to top
View user's profile Send private message 
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Thu 08 Oct 2009, 14:25    Post subject:  

No, it definitely doesn't run after a reboot until I start it from a terminal.

Status gives me
Quote:
scheduler is not running


I don't know what ttuxxx did in adding cups to his 214X. I've asked him if he can tell me what version he used and await his reply.

He should be snoring away in Oz at this time. Smile

Thanks for your help on this.
Dave
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 08 Oct 2009, 14:44    Post subject:  

I'm using the one Barry used in 4.30 http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-4/cups-1.1.23-patched1-1-pup4.pet
strange that it doesn't start automatically, I'll add it to xinitrc.
as for samba I'm using the client package from 4.30 also.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Thu 08 Oct 2009, 15:04    Post subject:  

I'm curious. If CUPS does not auto-start, how did you get your printer installed in the first place?

It was my understanding that any application that puts a script in /etc/init.d will auto-start. CUPS does this.
Back to top
View user's profile Send private message 
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Thu 08 Oct 2009, 15:53    Post subject:  

If I reboot I get a Status...scheduler not running.

If I then do Menu>SetUp>PrinterWizard it composes Gutenprint driver file and then (even if I do nothing more) I get a Status...scheduler is running.

That's how I could set up the printers.

Looking in /etc/init.d I see a cups file.

I can send it to you if you feel it would help fix this.

Dave
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Thu 08 Oct 2009, 16:04    Post subject:  

Ahh. The Printer Wizard script restarts CUPS after it creates the Gutenprint PPD set. So that's how CUPS gets started.

I looked at the CUPS package from ttuuxxx's link and it seems OK. But I don't know enough about 2.14 to comment on how it should auto-start. Your best bet is to have ttuuxxx launch CUPS from somewhere else in the boot sequence.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
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.0641s ][ Queries: 11 (0.0088s) ][ GZIP on ]