I want to automate adding a usb printer with share in an unattended process
post sysprep. I'm stuck badly on pretty much one thing, the lack of a
virtual printer port to add the printer to after the driver is installed.
The USB printer almost certainly won't be plugged in yet, as such I don't
have a virtual printer port (usb001) to add a printer to after the driver is
installed. I would like to get the port up and add the printer at this point
with printui.dll.
Another possible solution would be to have the share configure automatically
on PnP detection, but I have not found any resources on adding a share by
default to printer information files.
Any help would be much appreciated.
|