You might want to try printing on an adhesive film that you can stick to your acrylic. That’s what I did to make this night light:
What I used was this stuff for color laser printers that I got on Amazon. It’s pricey (I see the price is even higher than when I bought it a few years ago) but it really works well.
https://www.amazon.com/dp/B00AVWK3RW/ref=cm_sw_em_r_mt_dp_C46238MFP9TVY5RTHMFM
If you’re sticking it into cakes, you’d probably want to seal it with some food-safe sealer though.