printing option added: fifth parameter draw/nodraw