Hi
Welcome to the HP Support Community. I'd be happy to assist you with the printing issue.
To better assist you - What's the size and type of the card you are using?
The printer supports up to 200 g/m² (110-lb index maximum) and the paper tray can hold up to 30 cards.
Please refer to this document - HP Printers - Creating Custom Paper Sizes
Hope this helps! Keep me posted.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!
Have a great day!