TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

I built a receipt printer for GitHub issues

811 点作者 horsellama大约 3 年前

54 条评论

alttab大约 3 年前
You should get a camera and write an OCR scanner that automatically scans the receipts as they are printed, then pushes it into a DB so you can view all your issues via a simple web application, replete with tracking, reminders, and then an e-mail integration that e-mails the opener of the issue when you put a comment on the receipt that's printed and rescanned.
评论 #30805747 未加载
评论 #30808256 未加载
评论 #30805679 未加载
评论 #30807255 未加载
评论 #30805700 未加载
评论 #30805314 未加载
scottlamb大约 3 年前
This is a fun idea, but I&#x27;ve read thermal paper is surprisingly nasty stuff. [Edit: unless it&#x27;s advertised as &quot;phenol-free&quot;.] It&#x27;s not just paper. It contains plastics (BPA or BPS) that you absorb through your skin when handling it. I&#x27;d avoid working with receipts at my desk all day. (I&#x27;d also avoid being a grocery store cashier...)<p><a href="https:&#x2F;&#x2F;www.pca.state.mn.us&#x2F;green-chemistry&#x2F;bpa-thermal-paper" rel="nofollow">https:&#x2F;&#x2F;www.pca.state.mn.us&#x2F;green-chemistry&#x2F;bpa-thermal-pape...</a>
评论 #30804596 未加载
评论 #30804365 未加载
评论 #30804487 未加载
评论 #30804766 未加载
评论 #30804711 未加载
评论 #30806748 未加载
评论 #30810470 未加载
评论 #30804762 未加载
jaredlt大约 3 年前
I enjoyed the response on Twitter <a href="https:&#x2F;&#x2F;twitter.com&#x2F;aschmelyun&#x2F;status&#x2F;1507043742167060487?t=lBzBixa23A64laDfPwKf_w&amp;s=19" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;aschmelyun&#x2F;status&#x2F;1507043742167060487?t=...</a>
评论 #30807888 未加载
julianlam大约 3 年前
&gt; Wrapping up and next steps<p>The only logical next step here is to get that metal spike thing, so you can stab closed issues on completion.
评论 #30806525 未加载
评论 #30807259 未加载
评论 #30806498 未加载
评论 #30804686 未加载
评论 #30807209 未加载
gotaquestion大约 3 年前
This is a really funny read for a Friday morning.<p>It should play an MP3 of a line cook in a busy diner shouting, &quot;Order up!&quot;, and then he can stick it on a rotating order wheel hanging above his desk.<p>EDIT: One of these things: <a href="https:&#x2F;&#x2F;www.webstaurantstore.com&#x2F;choice-stainless-steel-order-wheel-ticket-holder-16-clips-with-pedestal-base&#x2F;176CHKWHL16.html" rel="nofollow">https:&#x2F;&#x2F;www.webstaurantstore.com&#x2F;choice-stainless-steel-orde...</a>
评论 #30805014 未加载
评论 #30805283 未加载
评论 #30804116 未加载
评论 #30805046 未加载
incanus77大约 3 年前
These printers are fun. I got one from a hardware swap meet a few years back and used the same software to work it into a public art project I did a bit later. You could listen to or record your own “dream” story to a kiosk, and upon leaving one, you’d get a paper receipt. It was a fun, tangible interaction that gave a bit of permanence to something purely audio.<p><a href="https:&#x2F;&#x2F;justinmiller.io&#x2F;services&#x2F;dreamdial1.jpg" rel="nofollow">https:&#x2F;&#x2F;justinmiller.io&#x2F;services&#x2F;dreamdial1.jpg</a>
评论 #30804601 未加载
daenz大约 3 年前
There&#x27;s something about a physical reference to information that you can&#x27;t quite capture digitally. You can hand it to someone. You can use it as a prop to express your happiness or frustration. You can destroy.<p>I know this was a fun project but I hope we can capture more physical interactions in the future, and not just in VR.
评论 #30807492 未加载
评论 #30805757 未加载
评论 #30806151 未加载
JackMcMack大约 3 年前
A long time ago we tried to do something similar with a jira kanban board. We were using thermal printer paper with a repositional adhesive, like post-it notes.<p>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&#x27;re printing &quot;landscape&quot; 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&#x27;s not really readable from more than a few meters.<p>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.<p><a href="https:&#x2F;&#x2F;maxstick.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;maxstick.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;wannessels&#x2F;stickyprint" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wannessels&#x2F;stickyprint</a>
PaulHoule大约 3 年前
I thought about doing something like this so I could turn the tickets I work on into paper tickets but never quite got around to it.<p>(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.)<p>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...
评论 #30805859 未加载
EsotericAlgo大约 3 年前
These printers also have an expansion network card.<p>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.<p>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.
评论 #30806439 未加载
blt大约 3 年前
If the author is here - please include pictures of the printer and output in the article!<p>There is an embedded twitter video, but it seems more aligned with the spirit of the project to use the traditional visual aids :)
评论 #30804643 未加载
zdw大约 3 年前
Rather than the chmod of the printers &#x2F;dev node, the user could probably be added to the `lp` group to grant the correct permissions.<p>&quot;Just `chmod 777` it&quot; as the universal solution to permission issues is usually solving the wrong problem.
评论 #30804784 未加载
评论 #30804729 未加载
ianbicking大约 3 年前
Kind of tangential, but I think it could be a lot of fun to make a &quot;boardgame&quot; computer that has a thermal printer, some number displays, and some buttons. It wouldn&#x27;t try to run the whole game, but would only assist. It could print out scoresheets or special tokens, roll dice, keep track of a few numbers, that sort of thing. Maybe a barcode&#x2F;QR scanner so you could round trip, like scan a printout and then choose an option as described on that printout.<p>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...
评论 #30806537 未加载
评论 #30805183 未加载
leipert大约 3 年前
I would recommend switching to their Events API. Webhooks are great until they aren’t. Querying the Events API means you are able to resume if GitHub, your network or your Raspberry Pi was down.<p>And bonus, your pi doesn’t need to be exposed to the world.
评论 #30805526 未加载
评论 #30806150 未加载
评论 #30805763 未加载
tevon大约 3 年前
This is awesome, I&#x27;d add a QR code with the link to the bottom (if possible on printer).<p>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).
评论 #30805463 未加载
评论 #30804843 未加载
评论 #30806465 未加载
TazeTSchnitzel大约 3 年前
Fun fact: code page 437 didn&#x27;t die with DOS. It&#x27;s still what receipt printers default to, judging by all the mojibake variations on ”Tack för besöket, välkommen åter!” I&#x27;ve seen in daily life in Sweden.
toomuchtodo大约 3 年前
Throw a QR code on there with a link to the issue to close the loop!
评论 #30804481 未加载
kevincox大约 3 年前
I had one of these as well that you could print just by writing to a device file. I&#x27;m sure it had fancier formats for graphics and stuff but it was fun to just use some ascii art to get something printed.
briandoll大约 3 年前
Very cool, reminded me of one of our fist winners of the first GitHub Data Challenge, where someone made a daily newspaper out of their GitHub feed using a thermal printer: <a href="https:&#x2F;&#x2F;github.com&#x2F;alx&#x2F;Le-Github" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alx&#x2F;Le-Github</a> via <a href="https:&#x2F;&#x2F;github.blog&#x2F;2012-06-12-github-data-challenge-winners&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.blog&#x2F;2012-06-12-github-data-challenge-winners...</a>
0x0大约 3 年前
This is super cool!<p>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?
tpict大约 3 年前
Building one of these is probably easier than wrangling the GitHub notifications settings into having a meaningful signal:noise
评论 #30804720 未加载
semireg大约 3 年前
This is awesome. I&#x27;m a solo dev and I created an electron app named Label LIVE. I recently added an HTTP API so you can fire off label jobs using a POST request (or retrieve label PNGs via GET). What Label LIVE affords is a WYSIWYG imaging pipeline that can target many different thermal printers at the correct DPI, or generate&#x2F;submit PDFs to a printer (system or network). If you mention this note and your project, I&#x27;ll send you a free license for &quot;testing.&quot; :D (and no, no direct Linux-Desktop support yet, sorry!) Read more at <a href="https:&#x2F;&#x2F;label.live&#x2F;guides&#x2F;automated-label-printing-integration-with-production-processes" rel="nofollow">https:&#x2F;&#x2F;label.live&#x2F;guides&#x2F;automated-label-printing-integrati...</a>
runeks大约 3 年前
I wrote some software with two other guys for a restaurant in Copenhagen. I did the backend for an automated seat allocation system, while other guys wrote a web app for browsing and ordering menu items. The restaurant insisted that the orders be printed as paper slips, while the guys had imagined a PC running the ticket system software (that the chefs would interact with). In the end they did exactly what the linked post describes (but for another ticket system — Zendesk IIRC): an RPi connected to a thermal ticket printer, using some open source library for converting from the ticket data fetched from the API to the format required by the printer.
wwwigham大约 3 年前
Oh man, a friend of mine did exactly the same thing back in college, but using a tessel instead of a rpi: <a href="https:&#x2F;&#x2F;github.com&#x2F;JRJurman&#x2F;automated-ticket-printer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JRJurman&#x2F;automated-ticket-printer</a><p>In action: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=sOBhAbXNgUI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=sOBhAbXNgUI</a><p>IIRC, he actually used it on coop for awhile with a physical ticket spike to store completed tickets on. It&#x27;s pretty cool to see when the issue volume is just right.
post_break大约 3 年前
I have a receipt printer I was using for grocery lists. I still haven&#x27;t found a good use for it yet. I love how extremely fast it is though and it has auto cut. Maybe I can use it for a ticket system at work.
评论 #30804544 未加载
iamjackg大约 3 年前
I bought all the equipment to do something like this a while ago, and wanted to set up a script that would print a daily briefing every morning. Then I realized that I would basically be generating tons of garbage for an absolutely frivolous purpose, so I never did it.<p>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. ;)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;iamjackg&#x2F;esp32-phomemo-gameboy-printer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;iamjackg&#x2F;esp32-phomemo-gameboy-printer</a>
teknopaul大约 3 年前
In other news: a guy I know seriously had the bright idea of DJ music events for deaf people. He is looking for funding if anyone fancies a punt on the ridiculous.
warmfusion大约 3 年前
I did something like this but linked it to Slack and put the printer in our office.<p>If you responded to a message with a printer emoji she (Her name was Tilly) would print the message (could even print images&#x2F;first frame of gifs) in black and white.<p><a href="https:&#x2F;&#x2F;hackaday.io&#x2F;project&#x2F;21191-tilly-the-slack-printer" rel="nofollow">https:&#x2F;&#x2F;hackaday.io&#x2F;project&#x2F;21191-tilly-the-slack-printer</a>
analog31大约 3 年前
Thanks for this. It motivates me to finally get my Dymo label printer under Linux control. My last remaining use of Windows is printing out serial number stickers for my side project. The numbers are just plain text, so it shouldn&#x27;t be hard to switch over, but seeing this work is a nice reminder to get it working.
glacials大约 3 年前
This is cool and quirky, but if the core problem is really just “when you email me I might forget to reply” I’d first look at reducing noise, not adding signal. For all its weird preachy branding, the idea of inbox zero is a great for implicitly turning emails into todo items.
Felger大约 3 年前
Printing GitHub issues on receipt ? Are you trying to compete with the FED&#x27;s money printing rate ?
hacknews20大约 3 年前
Cool! Side note, did you know a lot if these receipts contain PBA? In an experiment it was proved that people who handle many receipts, like Cashiers at tills, with PBA in them have much higher levels in their blood.
teeray大约 3 年前
I hope he has a metal spike to spear them all onto when he’s closed them
jddil大约 3 年前
Fantastic idea, I hope we see a resurgence in this type of tactile, physical tech.<p>I also wish there was a metal spike to put closed issues on as mentioned in another comment, lol. Just makes sense.
notimpotent大约 3 年前
Your Side Projects link to Github in the first sentence is 404.
评论 #30804700 未加载
tootie大约 3 年前
I did this at work once. We had receipt printers for a kiosk thing we were building and I printed Jira tickets on it. Nobody thought it was funny except me.
fmakunbound大约 3 年前
I once tried a thermal paper print experiment for completed pomodoros to see if sense of accomplishment was improved with something physical.
jbverschoor大约 3 年前
And then you hang it on your kanban board ;-)
评论 #30804461 未加载
geniium大约 3 年前
When I read this I want to instantly go on one of your github and create an &quot;test printer&quot; issue :evil-grins:
tirrex大约 3 年前
This should be improved further. Add a scanner to read handwritten answer and post it as the response.
iamahackerguy大约 3 年前
You should get a camera and write an OCR scanner that automatically scans the receipts as they are printed, then pushes it into a DB so you can view all your issues via a simple web application, replete with tracking, reminders, and then an e-mail integration that e-mails the opener of the issue when you put a comment on the receipt that&#x27;s printed and rescanned.
naikrovek大约 3 年前
this is flipping awesome.<p>I have ADHD so when something isn&#x27;t in front of me I can easily forget it exists. a physical stack of todos is absolutely perfect for me.<p>thank you for submitting this. I have already ordered a thermal printer and have begun work on a similar setup.<p>this is going to help me so much!
daneel_w大约 3 年前
I don&#x27;t mean to critique the creation, but nobody would bat an eye at an identical solution printing the issues on a normal A4 desktop printer. The lyrical praise and the raving reviews entirely hinge on the gimmicky and &quot;comic&quot; detail of a receipt printer being used instead. Is the hacker community really this under-stimulated?
评论 #30807390 未加载
评论 #30807754 未加载
peter303大约 3 年前
I wouldnt be surprised if this applies to other Hondas than listed, e.g. FIT, Accord ...
blurker大约 3 年前
The title of this article is clickbait. You didn&#x27;t build a receipt printer, you bought and used one.<p>And I&#x27;m particularly disappointed because I&#x27;ve been looking to actually build a thermal printer and your clickbait title got my hopes up.
fractalf大约 3 年前
Very kool! Good job :)
chagaif大约 3 年前
I&#x27;d love to have something like this
mottiden大约 3 年前
This is so good. I love it!
scode2大约 3 年前
What is the point of setting up the udev group if you&#x27;re just going to run php as root anyways?
CodeWriter23大约 3 年前
Pics or it didn’t happen
dqpb大约 3 年前
Nice. Any time you submit a bug, you give the maintainer a little bit of cancer.
评论 #30804509 未加载
ryatkins大约 3 年前
Yeah PHP! You rock!
dcchambers大约 3 年前
This is amazing.
mirchiseth大约 3 年前
imagine denial of paper attack