松开鼠标,立即解析 PDF

支持同时拖入多个文件

工具介绍

打印覆盖率计算器(纯前端版)

功能说明
支持将 PDF 文件拖拽至网页任意位置,逐页计算 CMYK 覆盖率,并动态折算为墨水消耗量。所有计算均在本地完成,充分保护数据隐私。

注意事项

本工具仍在迭代中,当前版本存在一定误差:例如,25% 的绿色文档会被识别为 25% 蓝色 + 约 20% 黄色(显示的是不太准确的墨水消耗量而非面积占比),从而影响覆盖率的测算结果。
纯 CMYK 颜色模式下无此问题。欢迎提交 PR 参与改进。

目前想法:只计算图形面积占比,不考虑墨水混合问题;或使用某种准确方式处理 RGB-CMYK 变换;或者二者兼得。

⚠️
以下字段的「除数」不能为 0,已自动修正为 1,请重新确认:
• {{ err }}
黑白单价 (元/页)
彩色单价 (元/页)
单一计价 (元/页)
80g纸附加费 (元/页)
彩色判定阈值 (CMY之和 > %)
% 自动重分析
空白页判定范围 (总覆盖率 ≤ %)
% 自动重分析
空白页计费方式:
自定义单价: 元/页
🆓 空白页不收打印费(仍计纸张与墨水成本) 📄 空白页按黑白单价 ¥{{ fmt(config.bw) }}/页 收取 📄 空白页按均一价 ¥{{ fmt(config.single) }}/页 收取 ✏️ 空白页按自定义单价收取
单瓶墨水 (元 / 5% 覆盖率页数)
/
⚠️ 产量不能为 0,已重置为 1
70g纸成本
/
⚠️ 张数不能为 0,已重置为 1
80g纸成本
/
⚠️ 张数不能为 0,已重置为 1

自定义附加费(可选)

点击选择文件,或将 PDF 直接拖拽到网页任意位置

完全本地化运行。您的数据不会被上传。

成本核算

墨水成本

¥{{ fmt(inkCost) }}

总折算标准A4页: {{ fmt(totalStandardPages) }}

墨水单页成本 : {{ fmt(config.inkPrice) }}元 ÷ {{ config.inkYield }}页 = {{ fmt(safeDiv(config.inkPrice, config.inkYield), 6) }}元/页

墨水总成本 : {{ fmt(totalStandardPages) }}页 × {{ fmt(safeDiv(config.inkPrice, config.inkYield), 6) }}元/页 = {{ fmt(inkCost) }}元

纸张成本

¥{{ fmt(paperCost) }}

70g:{{total70gSheets}}张 | 80g:{{total80gSheets}}张

70g单张成本 : {{ fmt(config.paper70gPrice) }}元 ÷ {{ config.paper70gQty }}张 = {{ fmt(safeDiv(config.paper70gPrice, config.paper70gQty), 6) }}元/张

80g单张成本 : {{ fmt(config.paper80gPrice) }}元 ÷ {{ config.paper80gQty }}张 = {{ fmt(safeDiv(config.paper80gPrice, config.paper80gQty), 6) }}元/张

纸张总成本 : ({{ total70gSheets }}张 × {{ fmt(safeDiv(config.paper70gPrice, config.paper70gQty), 6) }}元/张) + ({{ total80gSheets }}张 × {{ fmt(safeDiv(config.paper80gPrice, config.paper80gQty), 6) }}元/张) = {{ fmt(paperCost) }}元

※ 双面打印文件的纸张数 = ⌈页数 ÷ 2⌉(向上取整)

CMYK标准页折算

C{{ fmt(totalCmyk.c / 5) }}
M{{ fmt(totalCmyk.m / 5) }}
Y{{ fmt(totalCmyk.y / 5) }}
K{{ fmt(totalCmyk.k / 5) }}

总成本

¥{{ fmt(paperCost + inkCost) }}

总成本 : {{ fmt(paperCost) }}元 + {{ fmt(inkCost) }}元 = {{ fmt(paperCost + inkCost) }}元

利润率 / 利润金额

{{ fmt(profitRate) }}%

{{ profitAmount >= 0 ? '+' : '' }}¥{{ fmt(profitAmount) }}

利润率 : ({{ fmt(finalAmount) }}元 - {{ fmt(paperCost+inkCost) }}元) ÷ {{ fmt(finalAmount) }}元 × 100% = {{ fmt(profitRate) }}%

利润 : {{ fmt(finalAmount) }}元 - {{ fmt(paperCost+inkCost) }}元 = {{ fmt(profitAmount) }}元

售价核算

打印总量统计: 黑白总计: {{ totalBwPages }} 彩色总计: {{ totalColorPages }} 空白总计: {{ totalBlankPages }}(不计费) (按黑白计费) (按均一价计费) (按自定义价计费) 所有总计: {{ totalBwPages + totalColorPages + totalBlankPages }}

黑白打印费 (分色)

¥{{ fmt(totalBwCost) }}

{{ mixedBwPages }} × {{ fmt(config.bw) }} =

彩色打印费 (分色)

¥{{ fmt(totalColorCost) }}

{{ mixedColorPages }} × {{ fmt(config.color) }} =

单一计价打印费

¥{{ fmt(totalSingleCost) }}

{{ singlePages }} × {{ fmt(config.single) }} =

空白页打印费

¥{{ fmt(totalBlankCost) }}

{{ totalBlankPages }} 页 × ¥{{ fmt(blankUnitPrice) }}/页 (按黑白价) (按均一价) (自定义)

各项附加费合计

¥{{ fmt(totalPaperAddCost + totalCustomFeesCost) }}

80g纸: ¥{{ fmt(totalPaperAddCost) }} {{ fee.name }}: ¥{{ fmt(fee.total) }} 无附加费

折扣后金额

¥{{ fmt(discountAmount) }}

{{ fmt(totalStats.cost) }} × {{ discountRate }}% =

%
当前精度: {{ roundPrecisionLabel }}
原始金额(未调整)

¥{{ fmt(totalStats.cost) }}

最终金额(折扣/抹零/调价后)

¥{{ fmt(finalAmount) }}

金额计算明细

原始金额 = {{ fmt(totalStats.cost) }}元

折扣后金额 : {{ fmt(totalStats.cost) }} × {{ fmt(discountRate / 100) }} = {{ fmt(discountAmount) }}元

抹零后金额 = ¥{{ fmt(discountAmount) }} → ¥{{ fmt(afterRoundAmount) }}元(向下取整)

{{ adjustType === 'add' ? '加价' : '减价' }}后金额 = ¥{{ fmt(isRounded ? afterRoundAmount : discountAmount) }} {{ adjustType === 'add' ? '+' : '-' }} ¥{{ fmt(adjustHistory) }} = ¥{{ fmt(finalAmount) }}元

打印结算明细清单

{{ fIdx + 1 }}. {{ file.name }} 折算标准页: {{ fmt(getFileStdPages(file)) }} 物理页数: {{ file.totalPages }} 黑白: {{ file.bwCount }} 张 彩色: {{ file.colCount }} 张 空白: {{ file.blankCount }} 张 (免费) (按黑白) (均一价) (自定义) 双面 · 用纸: {{ Math.ceil(file.totalPages / 2) }} 张
C: {{ fmt(getFileAvgCmyk(file).c) }}% M: {{ fmt(getFileAvgCmyk(file).m) }}% Y: {{ fmt(getFileAvgCmyk(file).y) }}% K: {{ fmt(getFileAvgCmyk(file).k) }}% 平均覆盖率: {{ fmt(getFileTotalCoverage(file)) }}%

¥{{ fmt(calcFileFinalAmount(file) * file.copies) }}

正在逐页解析中... (请勿添加过大文件) {{ file.progressTotal ? Math.round((file.progress / file.progressTotal) * 100) : 0 }}% ({{ file.progress }} / {{ file.progressTotal || '计算中...' }})
⚠️ 解析出现异常: {{ file.error }}
打印费: 黑白:{{ file.bwCount }}张×{{ fmt(config.bw) }}元={{ fmt(file.bwCount*config.bw) }}元 + 彩色:{{ file.colCount }}张×{{ fmt(config.color) }}元={{ fmt(file.colCount*config.color) }}元 = 合计:{{ fmt(calcFilePrintCost(file)) }}元 {{ file.totalPages }}张×{{ fmt(config.single) }}元={{ fmt(file.totalPages*config.single) }}元
双面纸张: ⌈{{ file.totalPages }} ÷ 2⌉ = {{ Math.ceil(file.totalPages / 2) }} 张纸(用于纸张成本计算)
附加费 【当前使用{{ file.use80gPaper ? '80g' : '70g' }}纸】
最终合计(含{{ discountRate }}%折扣): {{ fmt(calcFileSubtotal(file)) }}元 × {{ file.copies }}份 × {{ discountRate }}% = {{ fmt(calcFileFinalAmount(file)*file.copies) }}元
{{ page.isBlank ? (config.blankPageMode === 'free' ? '空白页(免费)' : '空白页(计费)') : (page.isColor ? '彩色页' : '黑白页') }} 第 {{pIdx+1}} 页
C: {{fmt(page.cmyk.c)}}% M: {{fmt(page.cmyk.m)}}% Y: {{fmt(page.cmyk.y)}}% K: {{fmt(page.cmyk.k)}}%
总覆盖率: {{ fmt(page.total) }}%
折算标页: {{ fmt(page.stdPages) }}

联系与友情链接

广告位招租(欢迎邮件联系)

联系方式:admin@01r.cc

Copyright © 2023-2026 Light All rights reserved. Powered by https://kewu.cc
计算可能不准确,使用ISO-19752标准打印机黑白测试页 来测试

License MIT