Changed plugin to print PDF documents