page « PDF file « Java I/O Q&A

1. How can I remove the first page of a PDF file with Java?

I was thinking about using a library such as PDFBox but I would like your input. SOLUTION With IText

public void removeFirstPage(String input_filename, String output_filename) throws DocumentException, IOException {

2. Determine the number of pages in a PDF file

How can I determine the number of pages in a given PDF file, using a free/open source Java API?

3. how to convert a HTML web page into a PDF file using Java

i've been searching on the internet on how to convert a HTML page into a PDF file using Java. i found a lot of pointers, and in short, they don't work ...

4. Save a page as PDF or Excel file

6. total count of pages in pdf file