kondakovdmitry on Sat, 12 May 2012 11:54:50


I am developing PrinterExtension for v4 driver which we are going to include in V4 driver package.

I would like to enable the same binary of PrinterExtension to work with multiple printer driver Ids.

The comment in the new PrinterExtensionSample recommends to pass the driver id as a command line argument to enable one application binary to work with multiple printer driver ids. However specifying command-line argument is unsupported for the case of printer extension embedded into driver package.

What is the recommended way to pass DriverId to Printer Extension in this case?



Eric Hanson-MSFT on Sun, 13 May 2012 04:43:30


I will look into this for you.

Best Wishes - Eric

Eric Hanson-MSFT on Tue, 22 May 2012 18:39:44


There is nothing obvious.  I will continue to look into this for you.

Best Wishes - Eric

Justin Hutchings [MSFT] on Tue, 22 May 2012 19:25:56

Hi Kondakovdmitry,

This is a known limitation. We have a bug open and are investigating whether we can make a fix for Windows 8.



kondakovdmitry on Wed, 23 May 2012 03:19:18

Hello Justin!

Thank you for the answer, I will wait for your solution, if you come up with any.

Meanwhile, as a workaround I will make Printer Extension extract PrinterDriverID from the *-manifest.ini file, if it finds any beside it's own EXE file.

Best regards,