I'm sorry I've been meaning to come back and reply to this. I appreciate the suggestions. Unfortunately none of the tips mentioned have helped.
It's very weird as it starts making a clicking noise right before it goes off track. This only happens with small 4x6 photos which have the opportunity to shift when coming out of the printer due to their smaller size. I did wonder if it could be the photo paper I was using, but it really is completely flat. I'm at a loss. I hate to have to buy a new printer as this one isn't that old really and works completely fine otherwise.