If you already have a login script that's called logon.bat, then that
would be the place to define the default printer, yes.
You'll need some sort of utility to do this:
Defprint.exe controls local printers, Con2prt.exe controls
network printers, or use a KiXtart script.
Examples (check for correct syntax!)
if %clientname% == CLIENT01 con2prt.exe \\TS\printer01
if "%Clientname%"=="CLIENT01" DefPrint.exe /d "HP OfficeJet"
if %clientname% = "CLIENT01"
SetDefaultPrinter ("\\TS\printer01")
endif
Defprint.exe can be downloaded here:
http://www.dcug.de/phpnuke/html/modu...ads&d_op=MostP
opular
con2prt.exe is part of the NT Resource Kit.
KiXtart can be downloaded from
http://www.kixtart.org
--
Vera Noest
MCSE,CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
*----------- Please reply in newsgroup -------------*
"Michael" <(E-Mail Removed)> wrote in
news:1f0701c3fc35$94cdb000$(E-Mail Removed):
> I want to have a users defualt printer to be set at logon.
> What would be the script for this? This script goes in the
> logon.bat correct?
>
> Thank You
> Michael