Delete
Preview
Save Changes
Paper
A5
A4
A3
Letter
Legal
Receipt58
Receipt80
Orientation
Portrait
Landscape
Variables:
store_name
store_address
receipt_number
date
qty
name
price
total
payment_method
HTML
<!DOCTYPE html> <html> <head> <style> body { font-family: 'Courier New', monospace; font-size: 12px; margin: 0; padding: 10px; color: #000; } .center { text-align: center; } .store { font-size: 16px; font-weight: bold; } hr { border: none; border-top: 1px dashed #000; margin: 8px 0; } .row { display: flex; justify-content: space-between; } .total { font-weight: bold; font-size: 14px; } </style> </head> <body> <div class="center store">{{store_name}}</div> <div class="center">{{store_address}}</div> <hr/> <div class="row"><span>Receipt #</span><span>{{receipt_number}}</span></div> <div class="row"><span>Date</span><span>{{date}}</span></div> <hr/> {{#each items}} <div class="row"><span>{{qty}}x {{name}}</span><span>{{price}}</span></div> {{/each}} <hr/> <div class="row total"><span>TOTAL</span><span>{{total}}</span></div> <div class="row"><span>Payment</span><span>{{payment_method}}</span></div> <hr/> <div class="center">Thank you for your purchase!</div> </body> </html>
PDF Preview
Click
Preview
to render the template to PDF.