I've created a new user profile field with the short name of license that I need to get to print on the Certificate.
I've tried ALL the suggestions without success. So I'm starting from scratch asking for help--hoping someone will have pitty on this beginner.
The closest I've gotten is using this code but apparently I need some additional code that will tell this line where to get the data.
cert_printtext(150, 255, 'C', 'Helvetica', '', 15, utf8_decode(get_string('license', 'certificate').': '.$USER->license));