Added ability to specify printer callback for token printer