sample has only LF.
error handler.
add comPrint.