Hello world/Line printer: Difference between revisions

→‎{{header|Factor}}: "lpr" utf8 [ "Hello World!" print ] with-process-writer
m (→‎{{header|JavaScript}}: Added note about implementation being Node.js specific)
(→‎{{header|Factor}}: "lpr" utf8 [ "Hello World!" print ] with-process-writer)
Line 111:
 
=={{header|Factor}}==
Prints through Unix "lpr" command.
{{incorrect|Factor|Outputs to stdout, not a line printer.}}
 
<lang factor>( scratchpad ) USE: io.encodings.utf8
( scratchpad ) USE: io.launcher
( scratchpad ) "lpr" utf8 [ "Hello World!" print ] with-process-writer</lang>
IN: hello-world
 
: hello ( -- ) "Hello World!" print ;
 
MAIN: hello</lang>
 
when you want a fully working program or in the listener:
 
<lang factor>"Hello World!" print</lang>
 
=={{header|Groovy}}==
Anonymous user