changed h2.cmdPrint to work