Add JATPrint() function
Merge branch 'master' into hairy