Skip to main content
Toollyz

Search tools

Search for a command to run...

Receipt Generator

Form-driven thermal receipt builder. Business header (name / address / phone / tax ID), receipt number + date + cashier, unlimited line items with qty × unit price, configurable tax rate and discount %, currency symbol, payment method, footer note. Renders as a classic 80mm thermal receipt; print directly to a thermal printer or save as PDF via the browser's print dialog. 100% offline.

What is the Receipt Generator?

Receipt Generator is a thermal-receipt-style printable builder. The form on top captures every field a real receipt needs — business name, address, phone, tax ID, receipt number, date, cashier name, line items (description + qty + unit price), tax rate, discount rate, currency symbol, payment method, footer note. The preview below renders in classic monospace thermal-printer style: centered header, dashed dividers, right-aligned column for amounts, big bold TOTAL row at the bottom. The CSS @page rule sets the print size to 80mm wide (the standard thermal receipt width); when you hit 'Print / Save as PDF', the browser dialog shows the receipt sized correctly. Save as PDF or print to an actual thermal printer (most accept the browser's USB or network output). Subtotal, discount, tax, and total are computed live as you edit, with sensible decimal formatting. Tax is applied after discount per most jurisdictions (the discount reduces the taxable base).

How to use it

  1. Fill in the business header fields at the top of the form.
  2. Add or remove line items — each has description, quantity, and unit price.
  3. Set the tax rate and (optional) discount percentage.
  4. Choose currency symbol, payment method, and add a footer note like 'Thanks!' or return policy.
  5. Click 'Print / Save as PDF' — the browser dialog lets you pick a printer or save as a PDF file.

Benefits

  • Thermal-receipt look — monospace font, dashed dividers, 80mm width.
  • Unlimited line items with qty × unit price computation.
  • Tax + discount with discount-before-tax math.
  • Currency symbol is configurable — $, €, ¥, £, ₹, anything.
  • Print directly to a thermal printer or save as PDF via the browser's print dialog.
  • @page CSS rule sets 80mm width automatically when printing.
  • All input fields persist in localStorage so a refresh doesn't lose your draft.
  • Print preview hides the editor and shows only the receipt for a clean output.
  • Runs 100% in your browser — no server, no upload.

Frequently asked questions

Will the PDF be the same as a real thermal receipt?

Visually yes — same layout, same monospace font, same 80mm width. The PDF is the browser's rendering of the on-screen receipt. To save as PDF: click Print, then in the print dialog choose 'Save as PDF' as the destination.

Does the tax apply before or after the discount?

After. The discount reduces the taxable base, then tax is calculated on the discounted subtotal. This is the convention in most tax jurisdictions (US sales tax, EU VAT). If yours is different, hand-edit the tax rate to compensate.

Can I add more than one tax rate?

Not in the UI. If you need multiple taxes (e.g. state + local + service), enter the combined rate. Or hand-edit the .ics for more complex cases.

Can I add my logo?

Not currently. We didn't want to add file-upload complexity to a thermal-receipt tool. For receipts with logos, use the Invoice Generator.

Does it print on standard A4?

It can — change the printer in the browser's print dialog. The @page CSS specifies 80mm width, but you can override with A4 or Letter. The receipt will print left-aligned with whitespace on the right.

Can I save multiple receipts?

The form auto-saves to localStorage as you edit. To keep multiple receipts, generate the PDFs and save them with descriptive filenames.

Why are receipts sized at 80mm?

It's the standard width of most thermal receipt printers (POS systems use 80mm or sometimes 58mm). The @page CSS makes the printed output fit a thermal roll exactly.

Can I email the PDF directly?

Save as PDF first, then attach to an email. Browser print dialogs don't have built-in email integration in 2026.

What happens if I have zero line items?

The receipt still renders, just with no items between the dividers. Totals are zero.

Are my receipts saved?

Yes — all fields persist in localStorage under `toollyz:receipt`.

Is anything uploaded?

No. Rendering and printing run entirely in your browser.

See all pdf tools