Map print function