13 Commits

Author SHA1 Message Date
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
f7a0aa8c7b chore(deps): 增加扫码相关依赖,忽略 temp/ 目录
- package.json: @zxing/library、zxing-wasm(条码识别)、exceljs(表格导出)

- .gitignore: 忽略 temp/(本地调试脚本,不入库)
2026-10-31 02:12:30 +08:00
liufumingren
1f4083709f chore: 版本号 1.0.37/1.0.29 -> 1.0.39 2026-09-15 22:35:57 +08:00
liufumingren
9ccd25459a chore: bump 1.0.37 2026-08-26 23:32:03 +08:00
liufumingren
9ebe3d0dc4 fix(frpc): 非录制模式不自动启动穿透,仅录制模式按配置拉起 2026-08-25 15:00:03 +08:00
liufumingren
f17d8386a5 chore: 发布 1.0.33 2026-08-24 02:21:05 +08:00
liufumingren
f56ca33a8d feat: 每NVR 3并发 + ffmpeg纯复制修复 + onvif依赖 + OSD日志
- 调度器: maxPerNvr 1→3, running追踪从Set改Map计数
- ffmpeg: 移除libx264重编码兜底, 修正-f mpegps→自动检测
- 新增 onvif 依赖用于摄像头OSD
- setting.setCameraOSD 增加入口/参数/结果日志
- wsClient 心跳更新
2026-07-31 23:31:33 +08:00
liufumingren
4e9135c9f4 feat: Linux录制模式支持 - 平台适配/frpc/打印守卫 2026-07-28 21:55:56 +08:00
liufumingren
da67b15465 1 2026-06-06 03:46:02 +08:00
liufumingren
4912056fbf feat: improve service startup and printer status UI 2026-03-31 00:55:42 +08:00
liufumingren
5bc0e6637e docs: 完善README并收敛更新发布流程 2026-03-29 19:32:28 +08:00
liufumingren
79bae5b51e chore: init printServer and remove rsa keys 2026-03-29 13:26:23 +08:00