Print: load Windows.Data.Pdf.dll before using it; fix the error hint (#5884)

Review follow-up on #6395:
- Check that the DLL actually loads (winsafe `LoadLibrary`, no unsafe) rather than that the
  file exists: a DLL that is present but cannot load still aborts at the delay-load stub.
- The hint no longer says to clear Print Settings; that doesn't take a page off the PDF path.
  It now points to Save as PDF, or printing an RGB image without page text or labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Higgs32584
2026-10-17 16:53:11 -04:00
co-authored by Claude Opus 5.5
parent 5f8d92f9f0
commit 86f6199b01
4 changed files with 48 additions and 19 deletions
Generated
+1
View File
@@ -4810,6 +4810,7 @@ dependencies = [
"tempfile",
"thiserror 2.0.21",
"wat",
"winsafe",
]
[[package]]