Unattended Printer Installation

How can I add a Default printer to NT4, either during Unattended or in a logonscript to a NT-Workstation.
The users have there LPTx printer from logonscript and Net Use...., and I want the LPT1 printer to be DefaultPrinter.
The Printserver is OS/2 so CON2PRT.EXE dosen't work.
irveAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
cbo120897Connect With a Mentor Commented:
Hi,
there are Tools for unattended installation of local printer from Jeff Harris. ( http://maxx.mc.net/~jlh/ ore http://maxx.mc.net/cgi-bin/jlh/download )

See for: mkprtdrv.exe and mkprt.exe

To install a local Canon LPT-4 Printer unattended on a NT-WS I run the following script during the setup:

copy .\rasdd.dll %SYSTEMROOT%\System32\spool\DRIVERS\W32X86\
copy .\canonlbp.dll %SYSTEMROOT%\System32\spool\DRIVERS\W32X86\
copy .\rasddui.dll %SYSTEMROOT%\System32\spool\DRIVERS\W32X86\

\mkprtdrv.exe -n "Canon LBP-4" -d rasdd.dll -t canonlbp.dll -c rasddui.dll
\mkprt.exe -d "Canon LBP-4" -n "Canon LBP-4" -r LPT1:

Hope this helps
cbo

0
 
irveAuthor Commented:
Edited text of question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.