Completed Script
Call Strset // Call print data function.
_strset(databuf0, "") // Clear data buffer 0.
// Print and delimiter (return new line).
_strset(databuf0, 0x0d) // Print and return to start of line.
_strcat(databuf1, databuf0) // Append data buffer 0 to end of data buffer
1.
_strset(databuf0, "") // Clear data buffer 0.
_strset(databuf0, 0x0a) // New line.
_strcat(databuf1, databuf0) // Append data buffer 0 to end of data buffer
1.
_strlen([t:0000], databuf1) // Get data length and store in temporary address.
// Send data to serial port.
IO_WRITE_EX([p:EXT_SIO], databuf1, [t:0000]) // Send the amount indicated
by temporary address from buffer 1.
Function Summary
Append a "line feed" to
allow for continuous printer output.
Send the print data to the printer.