How to add v4 printer driver in PrinterExtensionSample code? RRS feed

  • Question

  • How to add v4 printer files (.ini or .inf) in the example of PrinterExtensionSample code provided here ( Anyone can help?
    Monday, June 25, 2018 7:23 AM

All replies

  • Hi Nouman1994,

    From your question it seems that you want to use printer extension sample in your v4 printer driver package.For doing this you need to specify the printer extension exe name and GUID in printer extension section of manifest file.

    Following link will help you:



    Monday, June 25, 2018 10:46 AM
  • And where will I get that GUID of that printer extension example? any idea?
    Monday, June 25, 2018 11:48 AM
  • Hi,

    There are specified GUIDs for each of the different entry point in Printer extension.Mentioned in below link:-

    Print Preferences {EC8F261F-267C-469F-B5D6-3933023C29CC}
    Printer Notifications {23BB1328-63DE-4293-915B-A6A23D929ACB}



    Monday, June 25, 2018 12:19 PM
  • yes I have found these both GUID's in this file (v4PrintDriverSamples\PrinterExtensionSample\PrinterExtensionLibrary\PrinterExtensionTypes.cs). I have wrote both GUID's in printDriver-manifest.ini in [PrinterExtensions] tag as required. I have placed a lot of debug points in the source code of PrinterExtensionSample code. Now the confusion is that, when I print using my v4 driver and at the same time, PrinterExtensionSample.exe is running, so no any debug point is triggered. Why is it happening?
    Monday, June 25, 2018 1:58 PM