excel-to-pdf
Installation
SKILL.md
Excel → A4 PDF Converter
Convert Excel spreadsheets to print-ready A4 PDF tables with proper Chinese rendering. Column headers keep their original text (no English translation).
Quick start
Run the bundled script directly on the Excel file:
python scripts/excel_to_pdf_signin.py "C:\path\to\file.xlsx"
The script auto-detects:
- Column layout (drops empty/merged placeholder columns)
- Page orientation (landscape for ≥7 columns or >35 rows)
- Chinese system font (Windows: Microsoft YaHei; macOS: PingFang; Linux: Noto CJK)
- Output path (same directory, same name,
.pdfextension)