liufumingren
|
ee054f039a
|
feat(printer): PDF 打印支持按驱动纸张自动选纸
- 新增 utils/printerPaper.js:读取驱动 PaperSizes(名称/尺寸/DMPAPER id),按打印机缓存 10 分钟
- 按 PDF 首页尺寸匹配纸张:精确 → 能容纳的最小纸 → 装不下时取最大纸并自动改 shrink
- 纸张参数优先 paper=<驱动纸名>,纯数字或含逗号时回退 paperkind=<RawKind>;User defined 不参与匹配
- 新增配置 pdfPrint.autoPaper(默认 true),显式 papers/请求参数仍优先
- SumatraPDF-settings.txt 加入 .gitignore(运行期生成)
- 版本 1.0.42
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
2026-11-25 00:41:24 +08:00 |
|
liufumingren
|
b3ae701d3a
|
feat(printer): 新增 printer.printPdf 静默打印 PDF(内置 SumatraPDF)
- 17301 新增 printer.printPdf:接收波次/平台/订单结构,逐张串行静默打印
- printer 必传(请求参数或波次/平台/订单字段),纸张按 pdfPrint.papers 匹配打印机
- 内置 SumatraPDF 3.6.1 便携版,extraResources 随包分发;仅 win32,录制模式拒绝
- wsServer 广播 printer.pdfPrintProgress(仅本机客户端,不串到远端通道)
- build.ps1 新增 Ensure-ElectronNativeModules,修复 better-sqlite3 ABI 与 Electron 不匹配导致打包后后端起不来
- 版本 1.0.41
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
2026-11-24 23:32:14 +08:00 |
|
liufumingren
|
4e9135c9f4
|
feat: Linux录制模式支持 - 平台适配/frpc/打印守卫
|
2026-07-28 21:55:56 +08:00 |
|
liufumingren
|
b0cbc3c666
|
1
|
2026-06-03 14:31:58 +08:00 |
|
liufumingren
|
d190c2add6
|
1
|
2026-05-29 17:45:51 +08:00 |
|
liufumingren
|
79bae5b51e
|
chore: init printServer and remove rsa keys
|
2026-03-29 13:26:23 +08:00 |
|