Analysis updated 2026-05-18
Convert a folder of PDFs, Word documents, or Markdown files into ink-saving stroke-only versions before printing.
Preview which files would be converted and where output would land using dry-run mode.
Adjust stroke width to balance readability against ink savings for a specific document.
Automate ink-saving conversion for reports before sending them to a shared printer.
| leegisker/ecofont-script | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | 0 | 0 | — |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-08 |
| Maintenance | — | — | Dormant |
| Setup difficulty | easy | moderate | hard |
| Complexity | 2/5 | 4/5 | 1/5 |
| Audience | general | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Just pip install pypdf and reportlab, or use the -y flag to auto-install missing packages.
This is a Python command-line script that converts documents into an ink-saving format for printing. The idea is simple: instead of filling each letter solid with ink, the script redraws the text as outlines only, just the strokes of each character, not the filled interior. This technique, the same approach used by the Ryman Eco font, can save up to 33% of printer ink while the text still looks normal on screen. You drop your files into a folder called Conversion Folder, run the script, and the converted files appear in a Converted folder automatically. The script supports PDF files, Word documents (.docx), and Markdown files (.md). For PDF files it works by decompressing each page's content stream, stripping any existing text rendering settings, and inserting a stroke-only rendering command around each block of text, then recompressing the result. For Word and Markdown documents, the script first renders the content to a temporary PDF using ReportLab, then applies the same eco transformation. You can also run it directly on specific files, point it at a custom folder, or use a dry-run mode to preview what would happen without actually changing anything. The stroke width, meaning how thick the character outlines are, is adjustable with a command-line flag, letting you balance ink savings against readability. Dependencies are pypdf, reportlab, and optionally python-docx for Word support, and a flag lets the script install any missing packages automatically. The tool requires Python 3.10 or newer.
A Python script that redraws PDF, Word, and Markdown text as outline-only strokes to cut printer ink use by up to 33 percent.
Mainly Python. The stack also includes Python, pypdf, ReportLab.
No license information is provided in the README.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.