[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: print to a Windows machine's printer



> On Wed, 2004-11-17 at 17:09, michael wrote:
>> > On Wed, 17 Nov 2004 14:15:48 -0000 (GMT), michael
>> > <linux@networkingnewsletter.org.uk> wrote:
>> >> I've looked about for how to print from this Debian box to a printer
>> (HP
>> >> LaserJet-2100) hanging off a Windows (Win2000 I do believe) box for
>> >> which
>> >> I have no admin rights. I found that ''samba'' seems the way to go.
>> The
>> >> Samba web pages (http://kr.samba.org) seem to imply that the server
>> (the
>> >> Win2K box) has to have Samba installed too - is this correct? And how
>> >> (in)secure is Samba? Is there a better way?
>> >
>> > How insecure => as insecure as you want to be. Don't run samba on a
>> > public IP (or any windows-based network for one thing).
>> >
>> > You need the samba server installed on your server hosting the printer
>> > IF you don't have windows there. If there's windows on that server
>> > already there's no point in installing samba there :D On the other
>> > hand, you'd need the samba client on your workstation for it to see
>> > your windows based printer.
>> >
>> > Of course, a better way would be to use native IPP (ala CUPS). I'm not
>> > sure though if MS still bundles a broken IPP implementation though.
>>
>> Answering Paola's & Christian's emails together:
>>
>> Clarification: I sit at a Debian box & the printer is on a Windows box.
>>
>> 1) are you saying "dump samba and use only CUPS" (or saying that CUPS
>> requires Samba?)
>>
>> 2) when I try and connect from my Linux box to the Windows machine using
>> 'smbclient -L' I get a ''connection refused'' error
>>
>> 3) I can access the printer on the Windows box from my WinXP - so I
>> presume that means it is shared?
>>
>> Cheers, Michael
>>
>
> Hi Michael,
>
> to make this a bit more verbose:
> -point your browser to http://localhost:631, that's the cups
> administration
> -click on 'printers', then click on 'add printer'
> -give it a name and such and click next
> -choose 'Windows Printer via Samba'
> -write the URI in the field - that's something like:
> smb://user:pass@workgroup/server/sharename
> of course user means your username for windows which shares the printer,
> pass is the password, the rest should be clear and can be seen in the
> system thingy in the win control panel
> -choose the printer and driver
>
> of course samba and cups need to be installed and the printer of the
> windows box needs to be supported by cups
>
> pascal

And from the CUPS manual pages it implies it has to be a WinNT box off
which the printer is hanging! So I'm currently awaiting info on where
there is such a box on my network before I can progress this. (It sounds
much easier just to buy a laser and put on my Debian box but will it be
supported if it's a PostScript printer but not listed on the linux printer
page (not got the URL to hand)?)

Ta, M



Reply to: