It could be switching tray because of a mismatch between the printer, driver or application setting. Make sure that they match exactly. Please take a look at this article for trouble shooting steps to resolve paper mismatch in tray 1.
Be sure to click Kudos for those who have helped you.
Select Accept as Solution for posts that have helped to solve your issue(s)!