GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zskm01/PDFFlowPrinter: A lightweight Windows desktop app for continuous batch printing of PDF files.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
THIRD_PARTY_LICENSES
THIRD_PARTY_LICENSES
 
 
docs
docs
 
 
scripts
scripts
 
 
src/pdf_batch_printer
src/pdf_batch_printer
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD_PARTY_NOTICES.txt
THIRD_PARTY_NOTICES.txt
 
 
pyproject.toml
pyproject.toml
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

PDF 连打助手(PDF Flow Printer)

Windows Python License: MIT CI

无需 WPS 或 Adobe 会员的 Windows PDF 批量预览与连续打印工具。所有文件和打印操作均在本机完成,不上传 PDF。

主要功能

  • 拖放多个 PDF 或整个文件夹,自动递归发现 PDF。
  • 文件名自然排序、路径、修改时间、大小、页数排序和手工调整。
  • 所有 PDF 作为一个连续 Windows 打印任务提交。
  • 默认双面长边连续打印,可切换单面或双面短边。
  • “每个 PDF 从新纸开始”模式会为奇数页文档补空白背面。
  • 支持打印机、份数、逐份、颜色、纸张、方向、缩放、页码范围、逆序和 DPI。
  • 逐页打印预览、进度显示、取消、失败重试和失败时合并导出。
  • 厂商专属纸盒、装订、保密打印等功能可进入系统打印首选项设置。

下载与安装

  1. 打开 GitHub 的 Releases 页面。

  2. 下载 PDFFlowPrinter.exe 和 SHA256SUMS.txt。

  3. 可选:在 PowerShell 中校验下载文件:

    Get-FileHash .\PDFFlowPrinter.exe -Algorithm SHA256
  4. 双击 PDFFlowPrinter.exe。程序为绿色单文件版,不需要安装 Python。

当前版本没有商业代码签名证书。Windows SmartScreen 首次提示时,请先核对发布者来源和 SHA-256,再选择“更多信息 → 仍要运行”。

三分钟上手

  1. 将 PDF 或文件夹拖入左侧文件队列。
  2. 选择排序方式,必要时用“↑”“↓”手动调整。
  3. 在中间区域逐页检查预览。
  4. 在右侧选择打印机和参数。
  5. 确认任务摘要后点击“开始打印”。

默认情况下,不同 PDF 会在双面纸张上连续衔接。若每份材料必须独立装订,请开启“奇数页时自动补空白背面”。

完整教程见 用户使用手册,常见问题见 FAQ。

从源码运行

要求 64 位 Windows 10/11、Python 3.11 或 3.12。

git clone https://github.com/zskm01/PDFFlowPrinter.git
cd PDFFlowPrinter
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements-dev.txt
.\.venv\Scripts\python.exe -m pytest
.\.venv\Scripts\python.exe -m pdf_batch_printer.main

构建 EXE

& .\scripts\build.ps1

脚本会依次执行测试、静态检查、图标生成和 PyInstaller 打包,正式文件输出到 release/。spec 和中间文件位于临时 .build/,成功后自动清理。

清理旧构建缓存:

& .\scripts\clean.ps1

连同虚拟环境一起清理:

& .\scripts\clean.ps1 -IncludeEnvironment

开发环境包含 Qt、测试和打包工具,体积会大于最终 EXE。日常使用只需 Releases 中的 EXE。

项目结构

src/pdf_batch_printer/
├── domain/          # 打印设置、文档和页面计划
├── application/     # 导入、排序、计划生成和打印编排
├── infrastructure/  # PDFium、pypdf、Qt/Windows 打印适配
└── presentation/    # PySide6 桌面界面

依赖方向为 presentation → application → domain,外部能力通过端口协议接入。详见 架构说明。

隐私与安全

  • 不上传、同步或分析用户 PDF。
  • 不依赖 WPS、Adobe Acrobat 或云端打印服务。
  • 用户设置和日志保存在 %LOCALAPPDATA%\PDFFlowPrinter\PDF连打助手\。
  • 打印前不会修改原始 PDF。
  • 安全问题请按 安全政策 私下报告。

已知限制

  • 暂不支持需要交互输入打开密码的 PDF。
  • 纸盒、装订、打孔和保密打印属于厂商私有驱动能力,通过系统打印首选项设置。
  • 双面翻转行为最终由打印机驱动和硬件能力决定。
  • 本项目尚未购买 Windows 代码签名证书。

文档

  • 用户使用手册
  • 常见问题
  • 需求与验收标准
  • 架构与扩展设计
  • 维护与升级
  • 测试与结项报告
  • 开源组件合规说明
  • 贡献指南

许可证

项目自身代码使用 MIT License。Qt/PySide6、PDFium、pypdfium2、pypdf、Python 和 PyInstaller 等第三方组件保留各自许可证;详情见 第三方声明 和 开源合规说明。

About

A lightweight Windows desktop app for continuous batch printing of PDF files.

github.com/zskm01/PDFFlowPrinter/releases

Topics

batch-printingpdfprintingpyside6windows

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.