Windows 11 Please help detect error function OpenPrinter in .Net on win 11

  • Thread starter Thread starter LeCao Cuong
  • Start date Start date
L

LeCao Cuong

Dear community,We develop an virtual printer product. It run ok on win 10, win 7, win xp. But it error when install driver on win 11.On step Add Printer Port, an error occur at function OpenPrinter:if (!OpenPrinter(",XcvMonitor " + portType, out printerHandle, ref defaults)) throw new Exception("Could not open printer for the monitor port " + portType + "!");Some step above Add Printer Monitor is OK, but I don't see diver installed on Registry.Some file installed

Continue reading...
 
Back
Top