Difference between revisions of "@pnutPrinter"

From Community Pnut.io Wiki
Jump to: navigation, search
m
m (Hardware)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
Lines are 18 characters wide. Ending with "<code>*</code>" will preserve white space. (Think: ASCII art.)
 
Lines are 18 characters wide. Ending with "<code>*</code>" will preserve white space. (Think: ASCII art.)
 +
 +
==Hardware==
 +
 +
The printer is run by a Raspberry Pi attached to a receipt printer and a webcam, with a light.
 +
 +
The light turns on when the room is too dark, shown here: https://beta.pnut.io/@33MHz/posts/688180.
 +
 +
The actual printer: https://www.amazon.com/gp/product/B011KF6GW4.
 +
 +
An early prototype of the Python code: https://gist.github.com/33mhz/69ca1a6a01093754aeb59f6bcb4236b5. It has since been rewritten in PHP using websocket/"streams".
  
 
==Commands==
 
==Commands==
  
 
Tag a post with <code>#pnutPrinter</code>. If posting ASCII art, end the post with an asterisks (<code>*</code>) and limit your art to a width of 18 characters.
 
Tag a post with <code>#pnutPrinter</code>. If posting ASCII art, end the post with an asterisks (<code>*</code>) and limit your art to a width of 18 characters.
 +
 +
==Developer==
 +
 +
[[@33MHz]]
  
 
==Links==
 
==Links==

Latest revision as of 20:36, 23 October 2019

@pnutPrinter is a 58mm receipt printer that will print and then take a picture and post the text of posts with the #pnutPrinter tag.

Immortalize your post by tagging it with #pnutPrinter.

Lines are 18 characters wide. Ending with "*" will preserve white space. (Think: ASCII art.)

Hardware

The printer is run by a Raspberry Pi attached to a receipt printer and a webcam, with a light.

The light turns on when the room is too dark, shown here: https://beta.pnut.io/@33MHz/posts/688180.

The actual printer: https://www.amazon.com/gp/product/B011KF6GW4.

An early prototype of the Python code: https://gist.github.com/33mhz/69ca1a6a01093754aeb59f6bcb4236b5. It has since been rewritten in PHP using websocket/"streams".

Commands

Tag a post with #pnutPrinter. If posting ASCII art, end the post with an asterisks (*) and limit your art to a width of 18 characters.

Developer

@33MHz

Links