This is basically the same thing though. The problem was not in printing the values.
The problem is that when the processing sketch runs all of the data being sent from the serial port gets mis formatted. If you watch the Serial Monitor from arduino you can see it gets all shifted.
Moving the print statement still gives the same problems.