Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

print "Hello, World!"

Yes, really. Print it with a hardware printer 🖨 to create a hard copy.

Send the necessary commands/data to your printer such that the following text is printed on a piece of paper:

Hello, World!

You may use any local- or network-connected printer that is available to you.

If your printer allows, you should use 8pt or greater text in black ink on white paper.

The text should appear on its own line. It may be left or right positioned as you wish.

Digital photographic/video/GIF evidence of submissions will be helpful.

If your hardware cannot do paper, but allows other exotic hardcopy production such as 3D printing, CNC machining, or printing at the atomic level, then I will happy to accept such interesting submissions.


To clarify, the question asks "Send the necessary commands/data to your printer". The implication of this is that no further user input should be required. Opening a print dialog is not sufficient. Existing answers that do this as of 10:48am PST 31st Dec 2016 will be grandfathered (but not upvoted by me).

Answer*

Draft saved
Draft discarded
Cancel
5
  • 1
    \$\begingroup\$ um.. so what's that link? Is it a language invented by you? \$\endgroup\$ Commented Dec 30, 2016 at 22:47
  • 1
    \$\begingroup\$ @eis Yes, I made QBIC. The link is a Google Drive folder with all the code in it - I suck at GitHub... It's an interpreter atop of QBasic (QBIC stands for Quick Basic's Interpreter for Codegolf) and it runs in DosBox. Check out the Showcase-thread for some examples (or just open my profile's answers-page, 75% is in QBIC). WIP, so syntax and tokens occasionally get shifted. \$\endgroup\$ Commented Dec 30, 2016 at 22:50
  • \$\begingroup\$ The OP used a capital "W" to avoid builtin "hello world" (see also).: building your own builtin command for the job is not code golfing, or you could make it "0 bytes" with a builtin default behavior for that. \$\endgroup\$ Commented Jan 2, 2017 at 4:45
  • 3
    \$\begingroup\$ @Cœur: that hardly works nowadays, most newer golfing languages use the capital W precisely because it's standard on PPCG, and it's highly likely that the command was added with no knowledge of this particular challenge (just a guess that more "Hello, World!" challenges would be submitted in the future) \$\endgroup\$ Commented Jan 2, 2017 at 11:01
  • \$\begingroup\$ @Cœur Welcome to PPCG! You may be surprised to learn that you're not the first person to whom that particular concern has occurred. Here's a good place to start reading: meta.codegolf.stackexchange.com/q/4867/11261 And further, people who enjoy code golfing spend a lot of time thinking about loopholes: meta.codegolf.stackexchange.com/q/1061/11261 \$\endgroup\$ Commented Jan 3, 2017 at 4:32

AltStyle によって変換されたページ (->オリジナル) /