Difference between revisions of "@pnutPrinter"
m |
m (→Hardware) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Immortalize your post by tagging it with <code>#pnutPrinter</code>. | Immortalize your post by tagging it with <code>#pnutPrinter</code>. | ||
− | Lines are 18 characters wide. Ending with "*" 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>. | + | 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 21: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.)
Contents
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.