Got print to work without having to save pdf to disk