mintmark

Crates.iomintmark
lib.rsmintmark
version0.2.0
sourcesrc
created_at2020-02-17 01:32:54.94152
updated_at2020-04-05 04:49:15.949008
descriptionMarkdown renderer for Epson TM-U220B receipt printers
homepage
repositoryhttps://github.com/bgilbert/mintmark
max_upload_size
id209928
size60,193
Benjamin Gilbert (bgilbert)

documentation

README

Mintmark

Driver for an Epson TM-U220B receipt printer, taking Markdown as input.

Usage

target/debug/mintmark /dev/usb/lp0 < input.md

Features

  • 6 distinct heading types, all centered
  • Bold, rendered as double-strike
  • Italic, rendered as underline
  • Ordered and unordered lists
  • Inline code and code blocks, rendered as red
  • Strikethrough
  • Blockquotes, rendered as indent
  • Horizontal rules, rendered by cutting the paper
  • Arbitrary 1-bit images, specified as ASCII art in code blocks with the image language identifier
  • QR codes, specified as code blocks with the qrcode language identifier
  • Code128 code set B barcodes, specified as code blocks with the code128 language identifier

Missing and non-features

  • Paper widths other than 3" (#6)
  • Images (rendered as the alt text)
  • Links (rendered as the link text)
  • Tables
  • Footnotes
  • Definition lists
  • Task lists (#8)
Commit count: 299

cargo fmt