move pdf formatter print to formatter with other type param