If nothing works, just try leaving a small delay (few milliseconds) between the lines you are trying to print.
Good Luck!