We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用这个架子去做一个打印功能 调用API方式为: printWindow.webContents.print({ silent: true }) 目标打印机为: Microsoft Print to PDF 结果: 打印出来的PDF会有缩放问题
调用API方式改为: printWindow.webContents.print() 结果: 不传参打印就没问题。
The text was updated successfully, but these errors were encountered:
看起来是上游electron的问题,你可以在electron内继续追踪解决方法。Hubertformin/electron-pos-printer#113
Sorry, something went wrong.
No branches or pull requests
Describe the problem you confuse
使用这个架子去做一个打印功能
调用API方式为:
printWindow.webContents.print({ silent: true })
目标打印机为:
Microsoft Print to PDF
结果:
打印出来的PDF会有缩放问题
调用API方式改为:
printWindow.webContents.print()
结果:
不传参打印就没问题。
The text was updated successfully, but these errors were encountered: