The trick was to figure out how to save the photo from the text message, then it was possible to print it from the gallery app.
The process on my phone was a little bit different than as described in this link, but the hurdle was solved by the realization that I tap and hold on the photo to select it. In my case, the "save" option was in an ellipsis drop-down menu that would appear instead of appearing as a save icon when the photo was selected. https://www.techbout.com/save-photos-mms-message-android-phone-13066/