Why is there an error when I put my SD card into my printer?

I have an HP printer, and whenever i put my SD card into my printer to print photos, it says there's an error. The printer did perfectly fine with my other SD card. The SD card that doesn't work, works fine on my computer. Please help me solve this!
Update: I have a mac, so its different with files.
6 answers 6