I built a receipt printer for GitHub issues
aschmelyun.com
aschmelyun.com
Oddly enough I have recently been drawing geometric designs, and then got the idea to draw them with a drawing ro bot. The current process is :
1. Draw design with ruler and compass
2. Photograph paper
3. Edge-detect image in Inkscape
4. Draw over the edge detected lines and save to SVG
5. Possibly convert to a graph, and run the Chinese postman algorithm over it
6. Convert graph to turtle commands and send to robot
So not far off. Also step 2 often involves a wooden surface...
I still refuse to believe this is true.
That use-case died with the invention of virus-defined wfh.
I loved working with engineers and using their plotter for that. Had a ton of space to actually write things out and draw connections.
It was only ever used for faxes to and from Japan.
Eventually it was decorated with Japanese art and etc.
Exasperated, I asked him why he couldn't just send me the raw XML file instead of putting screenshots in a Word document. Turns out the document was on another system he had to remote into (with Citrix, I think? I don't remember what was used back then) and he wasn't "allowed" to copy files off that machine.
I wonder if there's any tool that can achieve the same effect.
I wonder if that's sarcasm, because it obviously should be possible with a simple call to e.g. convert/imagemagick.
Of course, people who do the printing/scaning would need a simplified GUI to use it.
A quick search on $searchengine showed that e.g. win2pdf has an option to generate an image-only pdf.
The market seems to be covered. Maybe there's room for some advanced variant that adds wrinkles, a minimal rotation, and some coffee-stains.
Although I keep a few signatures ready in Preview, these do not suffice. I need a tool that makes the signature look like it was created with a blue ink ballpoint.
https://www.pca.state.mn.us/green-chemistry/bpa-thermal-pape...
Those blue receipt papers seem okay though: https://www.koehlerpaper.com/en/products/Thermal-paper/Blue4...
"If you must give paper receipts, look for “phenol-free” paper, which is safer for human health and has fewer environmental effects. Three types that do not contain BPA or BPS and are competitively priced contain either ascorbic acid (vitamin C), urea-based Pergafast 201, or a technology without developers, Blue4est. The latter uses a coating that reveals an underlying dark layer when heat is applied."
Or so they said on AliExpress.
> The chemicals have been shown to be hazardous to reproductive systems in humans and animals and are linked with obesity and attention disorders.
Cons: fancy paper, fades over time, destroyed by even minor heat.
We switched from dot matrix receipts to thermal a few years ago and there were several very vocal complaints about the relative impermanence of a thermal receipt.
There was essentially no reasonable distance at which we could store the to-go pizzas from their accompanying thermal receipts where information the receipts contained would be recoverable.
Also, the cynic in me says that thermal paper is exceptionally fragile and this benefits return policies. Thermal receipt paper falls apart readily when wet, bleaches quickly, and of course turns black if exposed to too much heat.
It also uses paper in rolls, without requiring spools, and no ink/toner/ribbons to replace which would be both more complicated and take longer.
The only logical next step here is to get that metal spike thing, so you can stab closed issues on completion.
/s
https://www.istockphoto.com/photo/dozens-of-food-and-drink-r...
It should play an MP3 of a line cook in a busy diner shouting, "Order up!", and then he can stick it on a rotating order wheel hanging above his desk.
EDIT: One of these things: https://www.webstaurantstore.com/choice-stainless-steel-orde...
Although I’ve always had problems with sharp corners. For instance, if I’m reading in a chair and there’s a small table next to me and the corner is sharp, I can’t handle it and have to cover it (like set a book so it’s hanging over the edge). It bugs my eyes for some reason. Same if I’m watching TV and there’s furniture with sharp corners near the TV.
I really hate that this affects me so much, so mostly sharing in case someone else deals with this or knows what’s going on.
Sounds like it sucks. Take care of yourself!
https://www.amazon.com/Winco-Order-Rack-Aluminium-24/dp/B01E...
For those who haven't been around kitchen culture, it's common to joke about having nightmares about the sound of the ticket printer.
You can get Fuji printers which use Instax film, or Canon makes a similar one they call the Selphy, or there's the Zink printer line as well.
I know this was a fun project but I hope we can capture more physical interactions in the future, and not just in VR.
If someone starts minting NFTs for issues I’m in your corner tho
I ended up trolling the system by simply adding post-it notes to post-it notes for subtasks as a protest against the fact that I could never keep any useful detail against them and the tasks themselves ranged between gigantic and functionally unsolvable (it was infrastructure work, so "done" didn't really exist).
You need a printer with integrated cutter, the Epson TM-88 used here will work. You can directly print and stick. For our use case the 80mm width was a tad too small. If you're printing "landscape" on the thermal printer, the text is not big enough to fit a ticket title in a reasonably sized sticky note. It works, but it's not really readable from more than a few meters.
The paper is from MaxStick (no affiliation). Depending on your use case, pick a glue pattern without full coverage (e.g. center adhesive), so you can easily move the paper without having to pry your fingernails under an edge.
(I did buy a cheap receipt printer on eBay though and managed to burn it out in the first 10 minutes of printing. ProTip: a receipt printer with the width specified in inches is likely to be a quality printer by a reputable manufacturer, one specified in mm is likely to be a piece of junk from China.)
Adding a QR code would help a lot in terms of making a cyber-physical object where you could close the ticket by pointing at it...
is the intention I think. Not a fair distinction imho, but to each their own.
https://safebooru.donmai.us/posts/2477177
I do almost all this work with inkjet printers and rasterize it all myself.
(I wrote my own text rendering engine for vertical CJK text, not because I was unhappy with the results I got printing characters with uniformly square metrics but because I wanted western characters and dingbats I introduced to look good. Sooner or later I'll probably write my own text rendering engine for horizontal roman text because I haven't met a kerning engine I really like and because there are many typographical details like ordinals (e.g. 5ᵗʰ) that I'd like to have better control of.)
A Zebra or NCR sold in the US will be marketed with English units, the same printer is probably marketed in the E.U. with metric units.
The people selling the off brand printer might not know or could care less what units are used in the area it is being marketed in, which is a tracer for them not caring about any other quality attributes of the product.
A decade ago I worked on a project to deploy a couple hundred of these to a restaurant chain as part of a POC for an online ordering program for pickup orders. The requirement for each franchisee was to acquire a static IP and configure one of these printers to bind that static address using a network card that replaced the serial connection. The online interface from the vendor was configured with that static address and sent text over TCP to print the incoming orders. The printer than just printed whatever it received.
The project was initially deployed without any whitelisting or authentication (at the vendors behest) so for a couple months these printers were printing a mixture of garbage and scan attempts from random devices connecting. It was quite humorous at the time but scares the hell out of me given the other things that were on that internal network. The project failed for other reasons, but it looks like that particular vendor is still around.
Also if you hold feed while power on you get a interactive menu, printed on paper. Probably works on Epson printers also
There is an embedded twitter video, but it seems more aligned with the spirit of the project to use the traditional visual aids :)
"Just `chmod 777` it" as the universal solution to permission issues is usually solving the wrong problem.
The printer in particular could open up all kinds of generative and variable interactions or play pieces in a game while still preserving the physical tracking of the game. Maybe with some plastic holders you could even turn the printouts into rough cards...
And bonus, your pi doesn’t need to be exposed to the world.
Then could scan with your phone to bring the issue up for immediate triage. I imagine lots of issues can be closed right away (or very quickly).
> For the tickets themselves, a QR code could be added to link directly to the issue on GitHub. You could also add in more details from the issue itself like tags and severity.
But it is also possible to print images. You can also configure them as standard printers and print via any common printing system (cups, windows spooler, …)
Quick question though. Why go through all the hassle with the custom udev rule and dialout group if you are just using sudo to run the script after all?
In action: https://www.youtube.com/watch?v=sOBhAbXNgUI
IIRC, he actually used it on coop for awhile with a physical ticket spike to store completed tickets on. It's pretty cool to see when the issue volume is just right.
I did end up reusing the printer to turn it into a Game Boy Printer, though! ...And I make sure to only print pictures I plan on keeping. ;)
If you responded to a message with a printer emoji she (Her name was Tilly) would print the message (could even print images/first frame of gifs) in black and white.
I also wish there was a metal spike to put closed issues on as mentioned in another comment, lol. Just makes sense.
I have ADHD so when something isn't in front of me I can easily forget it exists. a physical stack of todos is absolutely perfect for me.
thank you for submitting this. I have already ordered a thermal printer and have begun work on a similar setup.
this is going to help me so much!
Also, not speaking for others but I enjoyed it because it's a great example of the hacker mindset and their willingness to write a blogpost to share it with others made my day slightly better.
And I'm particularly disappointed because I've been looking to actually build a thermal printer and your clickbait title got my hopes up.