Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# Markdown to Sparkfun Thermal Printer (Model: CSN-A2) script
# Copyright 2020 Stu Donnan
# License: Public Domain
import sys
import argparse
import binascii
import bs4

Keybase proof

I hereby claim:

  • I am sdonnan on github.
  • I am asd4 (https://keybase.io/asd4) on keybase.
  • I have a public key ASDzEA-kJt_IhbO9ILaO2yUc1MPtNGXPryP8Om3ApKiT1go

To claim this, I am signing this object: