GPS Format not readable

You said that it works if you issue the commands manually. Do all the commands you send manually get the same responses as they do when the sketch sends them?