# Rich Receipt Operators & Preview Regression v57

## Goal
Increase document expressiveness while preserving a single raster path for:
- preview
- Windows RAW spooler
- TCP/9100 ESC/POS

## Added operators

### qr
Standards-compliant QR generated with selectable ECC:
L, M, Q, H.

The QR is rendered into the receipt bitmap. We do not delegate QR semantics to
printer firmware, so preview and physical raster remain identical.

### image_base64
For small branding assets such as a logo or signature.

This is not intended for large media. A future asset cache/reference model is preferred.

### two_column
Useful for:
- label/value rows
- bilingual receipt metadata
- subtotal/tax rows

### section_header
Strong section separation.

### kitchen emphasis
Kitchen items can request `emphasis: box` for highly visible add/change/cancel lines.

## Preview regression harness

The Agent CLI can render both 58mm and 80mm previews and perform structural checks.

Checks deliberately avoid fixed image hashes because:
- Windows font rasterization may vary by OS build
- installed font version may differ
- anti-alias behavior may change

The SHA-256 is printed for diagnostics, not treated as a universal golden master.

## Still pending
- real thermal hardware validation
- production logo asset cache/reference
- density calibration per printer model
- QR scan validation with real camera/scanner
