Solved

Unattended Printer Installation

Posted on 1998-10-19
2
349 Views
Last Modified: 2013-12-14
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.
0
Comment
Question by:irve
2 Comments
 

Author Comment

by:irve
ID: 1771333
Edited text of question
0
 
LVL 3

Accepted Solution

by:
cbo120897 earned 100 total points
ID: 1771334
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now