pdf output working on server, no base64