Hello,
I need to create a installer that can make a printer connection for me (Start > Settings>Printers>Add Printer )
The drivers are already installed. What I need to do to create a new printer port that uses those drivers. Can anyone help me?
Thanks
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Adding a printer
Started by
shy_9
, Aug 07 2003 18:15
3 replies to this topic
Posted 08 August 2003 - 07:57
Hi
You can use the prnadmin.dll included in the Windows 2000 resource kit. Follow this link for a completely documented VBScript to install printer programmatically using prnadmin.dll.
http://www.jsifaq.co...5300/rh5379.htm
Regards
Neo.
You can use the prnadmin.dll included in the Windows 2000 resource kit. Follow this link for a completely documented VBScript to install printer programmatically using prnadmin.dll.
http://www.jsifaq.co...5300/rh5379.htm
Regards
Neo.
Posted 11 August 2003 - 16:57
Thanks Neo!
That worked great. Just wondering, is there another method that is not platform dependent? or would i have to write custom code for each operating system?
Thanks,
That worked great. Just wondering, is there another method that is not platform dependent? or would i have to write custom code for each operating system?
Thanks,
Posted 06 February 2004 - 16:19
This can be done with simple WSH/VBScript...
I have an example download (with explanation) at http://www.ewall.org...ple_Script.html or attached here
Hope that helps...
I have an example download (with explanation) at http://www.ewall.org...ple_Script.html or attached here
Hope that helps...