Having trouble initializing printer

And this explains the template tags etc.