I have an issue when trying to print a PDF file using Java. Here is my code: PdfReader readFtp = new …