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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Creating a Virtual Printer Using Node.js [video]

75 点作者 watson超过 9 年前

7 条评论

ackfoo超过 9 年前
It would be so helpful if the author would make a simple statement at the beginning of the video about what this does and why it is useful. Over ten minutes into the video, we have no idea. Read the project description on Github, still no idea.<p>Why not start with, &quot;This project creates a virtual printer that advertises itself with Bonjour and writes a postscript file to local storage.&quot; Follow that with a simple statement about why that is cool and what you can do with the file, which is still not apparent.<p>Obfuscation has become the norm.
评论 #10778477 未加载
brudgers超过 9 年前
Github: <a href="https:&#x2F;&#x2F;github.com&#x2F;watson&#x2F;ipp-printer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;watson&#x2F;ipp-printer</a>
评论 #10779808 未加载
nicky0超过 9 年前
Is this any different to &quot;Save as PDF&quot;?
评论 #10779489 未加载
blisterpeanuts超过 9 年前
I&#x27;ve just recently discovered NodeJS -- heard about it for years, of course. I was able to create a web server for one of my group&#x27;s web apps in about 5 lines of code. It&#x27;s a bit weird to wrap one&#x27;s mind around it at first, but then it starts to make a lot of sense.<p>This IPP server is cool, though I&#x27;m not sure what uses it has yet. Maybe just a handy way to print to disk without having to choose a folder and file name. Or use as a proxy to redirect print requests to different printers depending on size or type of print job. Or a way to queue up print requests until off-hours. This is just off the top of my head and I&#x27;ll bet there are other cool uses as well.
creshal超过 9 年前
Printers and Javascript, a match made in hell.
评论 #10778426 未加载
评论 #10778315 未加载
评论 #10778376 未加载
评论 #10779505 未加载
评论 #10778357 未加载
mrweasel超过 9 年前
That had absolutely nothing to do with making printers great (again).<p>Printers suck a putting stuff on paper, doing a digital copy via a printer protocol doesn&#x27;t fix that. It&#x27;s neat and there might be some interesting use cases, but it doesn&#x27;t fix what&#x27;s wrong with printers.<p>I&#x27;m not even sure that printers where ever that great. Printers seems like devices that sort of peaked 40 years ago. Since then they have gradually decreased in quality. Printing 1000+ pages a day seems to be a little much to ask from many printers, they simply wear out to quickly. The whole process of looping paper around inside something that fits on a desk (sort of), combined with cheap plastic parts is a receipt for disaster.<p>Software-wise the manufacture should stop trying to add more feature that no one while ever use and instead work on making &quot;cancel print job&quot; actually work. The number of times a printer (driver?) has chosen to pick the wrong paper-tray is mind boggling. Why are there even multiple trays, we only ever need to print on standard A4 paper? Sadly picking a printer where the hardware quality will support the volume also result in feature bloat.<p>I really hate printers, and no amount of Javascript will make them any better.
评论 #10779257 未加载
mtharrison超过 9 年前
This is really cool