WORD Cprnout( ch )
WORD ch;
Opcode
5 (0x05)
Availability
Parameters
ch is a WORD value, however, only the lower 8 bits are sent to the output stream. The upper eight bits should be 0.
Binding
move.w ch,-(sp)
move.w #$5,-(sp)
trap #1
addq.l #4,sp
Return Value
Cprnout() returns a non-zero value if the function successfully wrote the character to the printer or 0 otherwise.
Comments
No input translation is performed with this call. Therefore, you must send an ASCII 13 and ASCII 10 to force a new line.
See Also