On Wed, 19 Jul 2000, Tom Laurie wrote:

> I am trying to print to a printer which is shared on a windows 2000 server,
> but am having no luck.
> 
> I set up a queue using Red Hat printtool, trying first with SMB and second
> with Remote.  Never could make a connection using either one.  Anybody got
> any ideas?

For an NT print queue "FOO" on NT server "BAR" with an NT user login
"johndoe", password "secret":

In /etc/printcap:

    foo:\
        :cm=HP LaserJet 4050:\
        :sd=/var/spool/lpd/foo:\
        :af=/var/spool/lpd/foo/acct:\
        :if=/usr/bin/smbprint:\
        :mx=0:\
        :lp=/dev/null:

Spool directory /var/spool/lpd/foo must exist.

In /var/spool/lpd/foo/.config:

    server=BAR
    service=foo
    username="johndoe"
    password="secret"

--
John Abreau / Executive Director, Boston Linux & Unix 
Email: [EMAIL PROTECTED] / URL: http://www.blu.org
ICQ#28611923 / AIM abreauj
-----------------------------------------------------------------------
"Working with NT is like trying to tune a watch wearing oven mitts.
 You can't get your fingers inside like you can with UNIX.
-----------------------------------------------------------------------


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to