generate code: print