Solved

Unattended Printer Installation

Posted on 1998-10-19
2
354 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

827 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