Scripting an USB virtual printer port....

  • Thread starter Thread starter Robin
  • Start date Start date
R

Robin

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.
 
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\USBPRINT

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

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