Lexmark M5255
From the control panel, navigate to:
Settings > Paper > Tray Configuration > Paper Size/Type > select a paper source
For non-touch-screen printer models, press to navigate through the settings.
Set the paper size and type.
Guide for Setting Up Universal Print in Lexmark Universal Print Ready Printers
Do you experience recurring paper jams? Load paper properly and check if the printer detects the correct paper size.