Some CD-R media has thermal printing surfaces, and yes there are both inkjet/laser printers than can print directly on to the CD, it's mechanical setup where you stack blank CDs and it loads them one by one into the printer and prints on them and puts it aside. They're not overly common, I think Epson or such has one that's pretty mainstream, but I'm not sure.
--Mark