Decrypts and converts yCheck2 files into a print-ready PDF format. Supports PC, Mac, and Linux.
- Python 3.12.3
- reportlab
- Ensure the csv, output, and fonts folders are present.
- Ensure the fonts folder contains
Courier New Bold.ttfArial Bold.ttfCourier New.ttfArialAdvMICR.ttffont files. - Install required pip modules using
pip3 install -r requirements.txt
To convert a .ycheck2 file to .pdf use the following command syntax:
python3 decode_ycheck2.py --input *.ycheck2 --output *.pdf
macOS / Linux users can opt to use the shell script like follows:
./ycheck2.sh *.ycheck2
You can view the script help page by doing the following:
python3 decode_ycheck2.py --help
The only font styles currently implemented are regular and bold. From what the files tested with, it doesn't seem like other styles are ever used.
Embedded images are not implemented. I believe this feature is used by signature filling, I may come back and implement this later if needed.
This is technically part of the file spec, but I've never seen it used in any test document. I've implemeneted a reverse engineered bit of code to handle it but it's untested so user beware.
To enable debug logging information, define the YCHECK_DEBUG environment variable to True