Press escape to exit fullscreen


Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Click capture
to take a screenshot

ThermalPrinter library

This is a library to facilitate printing on the thermal printer sold from Adafruit. It supports printing text, barcodes, and images. Almost all functions are documented except the ones used for converting color or grayscale images to black and white. The function "printImageWithEffect()" converts the supplied image to grayscale, resizes it to one third of the printer resolution, calculates for each pixel the amount of gray and transforms it to a 3x3 grid of pixels which has some pixels black and some white effectively making it look more or less black. Enyoj
{{$t('',["mouse, keyboard"])}}
{{$t('',["visualization, fractal, mouse"])}}
{{$t('general.learnMoreAbout')}} Creative Commons
  • {{v.title}}

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}