Using CEF version 126.2.6+gc7c4ac9+chromium_126.0.6478.115.
Using the print_to_pdf function works fine, it'll generate a PDF on disk as expected.
However, any sort of browser-induced printing, e.g. clicking the button here https://www.w3schools.com/jsref/tryit.a ... sref_print, fails with the following errors:
- Code: Select all
[0701/215344.716848:ERROR:device_event_log_impl.cc(196)] [21:53:44.716] Printer: print_error_dialog.cc:61 The selected printer is not available or not installed correctly. Check your printer or try selecting another printer.
[0701/215344.725776:ERROR:canvas.cc(501)] NOTREACHED hit. Attempting to draw bitmap from an empty rect!
[0701/215344.725834:ERROR:canvas.cc(501)] NOTREACHED hit. Attempting to draw bitmap from an empty rect!
I can confirm that none of the handler methods in the print handler are called when printing fails in this way.
Does anyone have any idea what's going on?