A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Scripting an USB virtual printer port....



 
 
Thread Tools Display Modes
  #1  
Old May 5th 09, 10:45 AM posted to microsoft.public.windowsxp.print_fax
Robin
external usenet poster
 
Posts: 39
Default Scripting an USB virtual printer port....

Dear all,

This is my problem: I'm trying to create a silent installation of a printer
driver: The printer will be attached to the PC using USB. The port used is
USB001 . The problem is that this port doesn't exist on this new PC.
So my question is simple how to script this USB001 creation, to install it
before creating the printer queue?

Many thanks and best regards.
Robin.
Ads
  #2  
Old May 5th 09, 05:05 PM posted to microsoft.public.windowsxp.print_fax
Alan Morris [MSFT]
external usenet poster
 
Posts: 783
Default Scripting an USB virtual printer port....

PnP creates the port when the device is attached. You could write the same
registry keys but there is nothing in the spooler to perform this function.

the portname is under this key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\U SBPRINT

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base he
http://support.microsoft.com/search/?adv=1

This posting is provided "AS IS" with no warranties, and confers no rights.

"Robin" wrote in message
...
Dear all,

This is my problem: I'm trying to create a silent installation of a
printer
driver: The printer will be attached to the PC using USB. The port used is
USB001 . The problem is that this port doesn't exist on this new PC.
So my question is simple how to script this USB001 creation, to install it
before creating the printer queue?

Many thanks and best regards.
Robin.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 04:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.