Hello world/Line printer: Difference between revisions
Replaced "writeln" which no longer exists with "writeLine".
(add RPL) |
(Replaced "writeln" which no longer exists with "writeLine".) |
||
Line 764:
Assuming that the line printer is attached to /dev/lp0:
<syntaxhighlight lang="nim">var lp = open("/dev/lp0", fmWrite)
lp.
lp.close()</syntaxhighlight>
|