Get Receipt

Format spec

Gas pump receipt template

The one everyday US retail format where tax is inside the price rather than added at the register.

This is a generic industry format — the printing convention, not any company’s trade dress. You supply your own business identity; Get Receipt supplies the grid it prints on.

Physical spec

Paper
58 mm thermal roll
Roll or sheet width
57.5 mm
Printable width
48 mm
Horizontal dots
384
Head density
203 dpi (8 dots/mm)
Characters per line
32 (ESC/POS Font A)

The character grid is the printer’s, not an approximation: at 203 dpi a Font A cell is 12 × 24 dots, so 384 dots of printable width is exactly 32 characters. Anything you render has to land on integer dot multiples or the edges blur.

Ordered field list

Top of the document to the bottom. This is the order a reader expects and the order a scanner, a bookkeeper or a returns desk looks for.

  1. 1.Station brand or DBA
  2. 2.Street address
  3. 3.Site or store number
  4. 4.Date and time
  5. 5.Pump number
  6. 6.Product grade
  7. 7.Gallons to three decimals
  8. 8.Price per gallon to three decimals
  9. 9.Fuel total
  10. 10.Card type, last four and authorization number
  11. 11.Pre-authorisation and final amounts, where shown
  12. 12.Loyalty or per-gallon discount line
  13. 13.Footer

Alignment

Label-and-value pairs, values right-flush. Gallons and price per gallon both carry three decimal places.

Tax convention

Inclusive. Motor-fuel excise tax sits inside the pump price; many receipts print TAXES INCLUDED to say so.

Tender

Card, usually with a pre-authorisation amount followed by the final settled amount.

Machine-readable code

Occasionally a QR to a loyalty programme; often none.

How to recognise it

  • Three-decimal gallons
  • Three-decimal price per gallon, the nine-tenths convention
  • Pump number and site number
  • Pre-auth and final amounts shown as a pair

Get Receipt renders this as Gas station pump receipt

Forecourt printer format: pump and grade block, volume and unit price on the fuel line, tax added under the subtotal. Every total is recomputed by the engine from the line items, so the printed lines always sum to the printed total — the one thing generated receipts most often get wrong.