printServer/.gitignore
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

36 lines
503 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

node_modules/
dist/
versioning/
coverage/
scripts/deploy.config.local.json
临时/
涓存椂/
temp/
rsa/
.vscode/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
Thumbs.db
.DS_Store
*.tmp
*.temp
*.bak
# 运行时产物(程序生成,不应入库)
runtime.json
SumatraPDF/SumatraPDF-settings.txt
*.db-shm
*.db-wal
v133_monitor_tmp.ps1
# 本机运行配置(含 token、下载目录、本机名称等运行时状态;打包模板用 config.packaged.json)
/config.json