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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Printing via an HTTP request to a thermal receipt printer

7 点作者 christophe971将近 11 年前
Hi there!<p>I would like to send a POST request to a thermal printer, but everything sucks so far... Does anyone have any suggestions on which one is the best one?<p>And also any libraries that would be helpful. Thanks so much guys!<p>I&#x27;m considering these:<p>* http:&#x2F;&#x2F;www.adafruit.com&#x2F;products&#x2F;600<p>* http:&#x2F;&#x2F;littleprinter.com&#x2F;<p>* a standard Star&#x2F;Epson printer (I don&#x27;t want to use these because it&#x27;s costly and I&#x27;m a startup)<p>Thanks again !!!

3 条评论

m0nty将近 11 年前
I use these things every day (I work retail). We use Star TSP700 [Mk I or Mk II] printers with CUPS. The PPD files are available for download from the Star Micronics website. Some of my time is spent hacking the PPDs to adjust paper sizes, resolution etc, but at least I have that option. The printers have an ethernet port, and some of them come with USB.
评论 #7783446 未加载
tomardern将近 11 年前
I&#x27;ve just developed a way to communicate with a Toshiba printer. <a href="http://www.toshibatec-eu.co.uk/Europe/en/products/printers/overview_printers/_products/b-ev4d_b-ev4t/" rel="nofollow">http:&#x2F;&#x2F;www.toshibatec-eu.co.uk&#x2F;Europe&#x2F;en&#x2F;products&#x2F;printers&#x2F;o...</a><p>I ended up using <a href="http://www.bartenderbarcodesoftware.com/" rel="nofollow">http:&#x2F;&#x2F;www.bartenderbarcodesoftware.com&#x2F;</a> to create the stickers, intercepting the request to the printer with WireShark, then finally re-creating the request using PHP sockets.<p>It&#x27;s not easy!
oelmekki将近 11 年前
Can&#x27;t cups be of any use, here ?