Skip to content

feat(print): add ability to print pdf on Windows - #127

Merged
simonhamp merged 1 commit into
NativePHP:mainfrom
kirilldakhnyuk:add-print-file
Sep 2, 2026
Merged

simonhamp merged 1 commit into
NativePHP:mainfrom
kirilldakhnyuk:add-print-file

Conversation

@kirilldakhnyuk

Copy link
Copy Markdown
Contributor

Add ability to print on Windows by adding a new printFile function, which is using Chromium's built-in PDF viewer.
Also solves #103.

@simonhamp simonhamp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it

@simonhamp
simonhamp merged commit a928fd6 into NativePHP:main Sep 2, 2026
52 of 53 checks passed
gwleuverink pushed a commit that referenced this pull request Sep 14, 2026
PR #127 added src/server/pdfPageSize.ts and updated
dist/server/api/system.js to import '../pdfPageSize.js', but the new
compiled dist/server/pdfPageSize.js was never force-added (dist/ is
gitignored, all other dist/*.js files are tracked via `git add -f`).
As a result, 2.3.0 ships an unresolvable import and `electron-vite`
fails to produce out/main/index.js, so `native:run` cannot start.

Refs #152

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants