made it possible to disable html printing