2 Star 16 Fork 1

Nagisa / ygo-CardPrinter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

ygo-CardPrinter ygo卡图批量打印工具

介绍

此程序可将一个文件夹下的所有卡图以3x3的形式在word中排版,可以用于快速打印卡图。

点击进入发行版界面下载

在发行版界面中获取编译后的对应各操作系统的可执行文件。

Image

使用说明

配置(非必要)

支持自定义打印样式,使用文本编辑器打开 setting.ini 文件,修改对应值即可。

值类型 释义
section top_margin float (mm) 页边距-顶
section bottom_margin float (mm) 页边距-底
section left_margin float (mm) 页边距-左
section right_margin float (mm) 页边距-右
section_page page_height float (mm) 纸张大小-高
section_page page_width float (mm) 纸张大小-宽
card_size card_height float (mm) 卡片大小-高
card_size card_weight float (mm) 卡片大小-宽
cell_margins cell_autofit boolean 单元格-自动布局
cell_margins cell_margins_start float (mm) 单元格间距-始
cell_margins cell_margins_end float (mm) 单元格间距-末
cell_margins cell_margins_top float (mm) 单元格间距-顶
cell_margins cell_margins_bottom float (mm) 单元格间距-底

注意:仅 cell_autofit 的值为 False 时,单元格间距的调整才生效。

默认的打印样式为:

  • 纸张大小:A4 (297mm*210mm)
  • 页边距:10mm
  • 卡片尺寸:86mm*59mm
  • 单元格间距:自动

运行

  1. 运行程序,选择图片所在文件夹路径,程序将会遍历文件夹下的所有图片文件(jpg/png)。
  2. 结束运行后,将在程序同目录下生成output.docx文件。
MIT License Copyright (c) 2022 Nagisa Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

此程序可将一个文件夹下的所有卡图以3x3的形式在word中排版,可以用于快速打印卡图。 展开 收起
Python
MIT
取消

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/pth2000/ygo-CardPrinter.git
git@gitee.com:pth2000/ygo-CardPrinter.git
pth2000
ygo-CardPrinter
ygo-CardPrinter
master

搜索帮助