[plug] printcap settings and Windows printer

Campbell, David (Ex AS17) david.j.campbell at honeywell.com
Mon Sep 25 06:58:31 WST 2000


> From:	Subba Rao [SMTP:subb3 at attglobal.net]
> I have installed a HP Deskjet printer on a Windows boxen which is
networked
> to the Linux box. Currently my samba settings do allow Linux disk shares
to be
> accessed from Windows.

Firstly, is this Win 95/98/ME or Win NT 4.0/2000?

Windows by default uses SMB protocol to share printers rather than the UNIX
default of "lpd" (TCP/IP). Win NT 4.0 supports printing to "lpd" queues but
will
not support "lpd" queue requests itself. Win 95 (I don't know about 98/ME)
refuse to co-operate in any fashion with "lpd" queues without extra
shareware
software.

Right, onto the following problem:

[*snip*]

> I can connect to the windows.mydomain.com box. It responds to ping
requests.
> What other settings need to be done to be able to print to this deskjet
> printer connected to the Windows box?

Providing you have samba working then you should have access to the
"smbclient" utility. Looking at the options for the version on my VMS box
(sorry, linux box is in for an upgrade at the moment).

Try:
$ cat <file> | smbclient \\machine\printer -P -N -U guest

There are better samba experts than me, hopefully this should put you
on the right track. Parallel port hardware is my real area of interest.

David Campbell



More information about the plug mailing list