First attempt at a pdf printer