This project provides a simple tool to generate PDF letterheads using Deno and Puppeteer.
- Creates a PDF letterhead with sender and recipient information
- Uses Puppeteer to generate the PDF from HTML content
- Customizable letterhead layout using inline CSS
- Utilizes the Arc browser for PDF generation
createLetterhead.ts
: Contains the main functionality for creating the PDF letterheadinput.ts
: (Not provided, but referenced) Contains input data such as sender, recipient, and output file information
- Ensure you have Deno installed on your system
- Make sure you have the Arc browser installed at the default location
- Run the script using Deno:
deno run --allow-net --allow-write --allow-env --allow-run createLetterhead.ts