[plug] printcap settings and Windows printer

Leon Brooks leon at brooks.smileys.net
Mon Sep 25 07:42:15 WST 2000


"Campbell, David (Ex AS17)" wrote:
> Opps,

* dcampbell now has Ops

(-:

> For printing to that windows box try:

> $ smbclient \\\\machine\\printer -P <password> -U <username>
> smb: \> print
> print <filename>
> smb: \> quit

> Replace <password> and <username> as appropriately (try the "guest" user)
> the extra slash marks (\\) is due to the slash character being used for
> escape sequences in bash.

Uh, you're describing the BACKslash character.

The command can also be written like this:

    $ smbclient //machine/printer -P <password> -U <username>

Samba knows. (-:

-- 
Whenever people agree with me I always feel I must be wrong.
    -- Oscar Wilde



More information about the plug mailing list