Preflight Checklist
Describe the bug
Printing fails on Windows with the error:
There was an error printing. Invalid printer settings
The problem occurs with both a network printer and Microsoft Print to PDF. Printing from Notepad works successfully.
The issue is not specific to a template or diagram. It also occurs with a completely new blank diagram.
To Reproduce
Steps to reproduce the behavior:
- Open draw.io Desktop v30.0.4 on Windows 11.
- Create a new blank diagram.
- Select File → Print.
- Select a configured Windows printer.
- Click Print.
- See the error: “There was an error printing. Invalid printer settings.”
The same error occurs when Microsoft Print to PDF is selected as the default printer.
Expected behavior
The native Windows print dialog should accept the selected printer and send the diagram to the printer or create a PDF.
Screenshots
Not applicable. The error is reproducible without a diagram-specific visual issue.
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 30.0.4
- Electron version 42.3.0
Desktop (please complete the following information):
- OS: Windows 11
- Architecture: x64
- Printer: Windows network printer
- Additional printer tested: Microsoft Print to PDF
Additional context
The following troubleshooting steps were performed:
- Tested with a completely new blank diagram.
- Tested with a custom template and without the template.
- Changed the document from A4 to US Letter landscape.
- Set Microsoft Print to PDF as the default printer.
- Reinstalled the official desktop release.
- Confirmed that the printer works from Notepad and other Windows applications.
- Confirmed that the problem occurs with both the network printer and Microsoft Print to PDF.
As a version comparison, draw.io Desktop v29.7.9 successfully prints on the same Windows installation, using the same printers and documents. This suggests a regression in v30.0.4 or its Electron runtime.
Preflight Checklist
Describe the bug
Printing fails on Windows with the error:
The problem occurs with both a network printer and Microsoft Print to PDF. Printing from Notepad works successfully.
The issue is not specific to a template or diagram. It also occurs with a completely new blank diagram.
To Reproduce
Steps to reproduce the behavior:
The same error occurs when Microsoft Print to PDF is selected as the default printer.
Expected behavior
The native Windows print dialog should accept the selected printer and send the diagram to the printer or create a PDF.
Screenshots
Not applicable. The error is reproducible without a diagram-specific visual issue.
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context
The following troubleshooting steps were performed:
As a version comparison, draw.io Desktop v29.7.9 successfully prints on the same Windows installation, using the same printers and documents. This suggests a regression in v30.0.4 or its Electron runtime.