Difference between revisions of "AMOSi:Parallel Status"
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
Spellcoder (talk | contribs) (converted list with bit meaning into a table + Removed left over double spaces) |
||
Line 2: | Line 2: | ||
− | Returns | + | Returns information about the parallel port. Each possibility is represented by a single bit in the result. |
Line 9: | Line 9: | ||
</pre></code> | </pre></code> | ||
− | Bit | + | |
+ | <table> | ||
+ | <tr><th>Bit</th><th>Function</th></tr> | ||
+ | <tr><td>0</td><td>Printer selected</td></tr> | ||
+ | <tr><td>1</td><td>Paper out</td></tr> | ||
+ | <tr><td>2</td><td>Printer busy</td></tr> | ||
+ | <tr><td>3</td><td>Direction (read=0 / write=1)</td></tr> | ||
+ | </table> |
Latest revision as of 01:52, 20 November 2007
an example can be found on AMOSPro_Examples:Examples/H-8/Help_81.AMOS
Returns information about the parallel port. Each possibility is represented by a single bit in the result.
s=Parallel Status
Bit | Function |
---|---|
0 | Printer selected |
1 | Paper out |
2 | Printer busy |
3 | Direction (read=0 / write=1) |