Print middleware, allows to print private lsyers