Solved

Unattended Printer Installation

Posted on 1998-10-19
2
363 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

696 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