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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What are you using to print source code these days?

4 点作者 W-Stool超过 1 年前
I was an old school guy who always printed his reams of source code out on a 132 character dot matrix printer - green bar paper, everything. These days this is just not possible. What is the current thinking of printing source code if this is important to you?

5 条评论

dossy超过 1 年前
&gt; These days this is just not possible.<p>Why not?<p>I still format my code to an 80 column width.<p>I can still use `pr` to paginate my source for printing, and use `enscript` to produce a PostScript document of it, then `ps2pdf` to convert that to PDF, then I can spool that PDF to any printer.<p>And, on my home network, I have a HP LaserJet 2300dn and I can actually just shove the plain text output from `pr` straight to the JetDirect port on 9100&#x2F;tcp.<p>What exactly is the obstacle that&#x27;s preventing you from printing out your source code?
评论 #37383882 未加载
simonblack超过 1 年前
Very rarely these days do I print source-code.<p>But on the odd occasions that I do, I print the code with a monospaced font directly to .PDF.<p>I then transfer that .PDF to a large-format Kindle (like the Scribe).<p>When I don&#x27;t need that anymore I delete it from the Kindle, but retain a copy of the .PDF for future use if necessary.
GianFabien超过 1 年前
I rarely print out source code. Only when I want to carefully study some tricky code written by others. I use LibreOffice Writer, landscape with suitable sized font. Sometimes I leave space to the side for my scribbling, notes, lines, etc. Print on a laser printer.
pncnmnp超过 1 年前
Maybe tangential, but what kind of source code did you all print out? Anything memorable? Also, what were the reasons for printing them out?
评论 #37376030 未加载
ftxbro超过 1 年前
sometimes you can print academic papers that have pseudocode in them it&#x27;s like source code pseudocode is basically python anyway