ICoreWebView2PrintSettings2.put_PrinterName

Set the PrinterName property. If provided printer name doesn't match with the name of any installed printers on the user OS, ICoreWebView2PrintCompletedHandler handler will return errorCode as S_OK and printStatus as COREWEBVIEW2_PRINT_STATUS_PRINTER_UNAVAILABLE.

Use Enum Printers to enumerate available printers.

interface ICoreWebView2PrintSettings2
@" propput"
HRESULT
put_PrinterName
(
in LPCWSTR value
)

Meta