Printing to windows shared printers

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

Printing to windows shared printers

#1 Post by davesurrey »

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
Windows Printer via Samba
using

Code: Select all

 smb:192.168.0.4/name_of_xp_pc/name_of_printer
However I get an error message
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
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, 15:55, edited 2 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

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.

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#3 Post by davesurrey »

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

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#4 Post by davesurrey »

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: Select all

/etc/init.d/cups start
but don't know why it doesn't do that automatically.

Dave

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#5 Post by rcrsn51 »

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.

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#6 Post by davesurrey »

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

Status gives me
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. :-)

Thanks for your help on this.
Dave

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#7 Post by ttuuxxx »

I'm using the one Barry used in 4.30 http://distro.ibiblio.org/pub/linux/dis ... 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 :)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#8 Post by rcrsn51 »

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.

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#9 Post by davesurrey »

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

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#10 Post by rcrsn51 »

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.

Post Reply