Page 1 of 1

Printing to windows shared printers

Posted: Wed 07 Oct 2009, 09:46
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

Posted: Thu 08 Oct 2009, 03:42
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.

Posted: Thu 08 Oct 2009, 10:17
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

Posted: Thu 08 Oct 2009, 10:18
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

Posted: Thu 08 Oct 2009, 18:11
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.

Posted: Thu 08 Oct 2009, 18:25
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

Posted: Thu 08 Oct 2009, 18:44
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

Posted: Thu 08 Oct 2009, 19:04
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.

Posted: Thu 08 Oct 2009, 19:53
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

Posted: Thu 08 Oct 2009, 20:04
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.