[Samba] logon script question

Mailing-OIT mailing-oit at tttech.com
Mon Mar 15 13:49:44 GMT 2004


Hi Lukas!

Am Montag, 15. März 2004 12:19 schrieb Lukas Meyer:
> Hi list
>
> I'm wondering if it and how it is possible to add printers to a
> workstation with a logon script like mounting shares. I can't find
> anything about this on the inetnet so is this possible?

use the net command in the logon scripit like so: 
net use LPTX:  \\MASCHINENAME\PRINTERSHARENAME

e.g.
net use LPT1: \\myserver\my1stprinter

will connect your "my1stprinter an server "myserver" to your local Windows 
PrinterPort 1.

HTH

>
> regards
> lm
Greets
Wolfgang



More information about the samba mailing list