‘Hardware’ handshake is all time the best solution to a perfect transmission, if you have the option to set the machine parameters to ‘DTR/RTS’, do that.
Because the response time is close to 0, this is perfect for drip feeding. Otherwise you must use software handshake ‘Xon/Xoff’. This handshake is not as fast as hardware handshake, but it works on 98% of all machines.
Here is an ASCII chart, that you can print out:
The following is a more detailed description of the first 32 ASCII characters, often referred to as control codes.
SOH (start of heading)
STX (start of text)
ETX (end of text)
EOT (end of transmission) – Not the same as ETB
BEL (bell) – Caused teletype machines to ring a bell. Causes a beep in many common terminals and terminal emulation programs.
BS (backspace) – Moves the cursor (or print head) move backwards (left) one space.
TAB (horizontal tab) – Moves the cursor (or print head) right to the next tab stop. The spacing of tab stops is dependent on the output device, but is often either 8 or 10.
LF (NL line feed, new line) – Moves the cursor (or print head) to a new line. On Unix systems, moves to a new line AND all the way to the left.
VT (vertical tab)
FF (form feed) – Advances paper to the top of the next page (if the output device is a printer).
CR (carriage return) – Moves the cursor all the way to the left, but does not advance to the next line.
SO (shift out) – Switches output device to alternate character set.
SI (shift in) – Switches output device back to default character set.
DLE (data link escape)
DC1 (device control 1)
DC2 (device control 2)
DC3 (device control 3)
DC4 (device control 4)
NAK (negative acknowledge)
SYN (synchronous idle)
ETB (end of transmission block) – Not the same as EOT
EM (end of medium)
FS (file separator)
GS (group separator)
RS (record separator)
US (unit separator)