integrated print into button

WARNING: Untested.