Oh... Thank you very much!
iMarcos 2012 El 02/10/2012, a las 21:15, Leleu Eric <eric.leleu....@gmail.com> escribió: > Hi, > > When you run the app jar without parameters, you have the following output > > usage: java pdfbox-app-x.y.z.jar <command> <args..> > > You have forgotten the <command>, that is PDFSplit in you case. > > java -jar pdfbox-app-1.7.1.jar PDFSplit -split 1 -startPage > 1 -endPage 2 ~/apdffile.pdf > > BR, > Eric > > 2012/10/2 Marcos Martínez <marcmediterr...@yahoo.es> > >> Hello >> >> First of all, thank you very much for develop such useful program. >> >> I'm a Mac user, with Mountain Lion OS X. I just downloaded the file >> PDFBox-app-1.7.1.jar (the standalone version). >> Usually you can run jar files using the terminal with the following syntax: >> >> java - jar appname.jar >> >> When running this command I get a message from Pdfbox indicating the usage >> and syntax. I want to split a PDF file in order to create a new single PDF >> file with the first page of the original file. According to the >> instructions and the examples in the website, I wrote: >> >> java -jar PDFBox-app-1.7.1.jar -split 1 -startPage 1 -endPage 2 >> filename.pdf >> >> But I only get again and again the message describing the usage for >> PDFBox. No action is performed. >> >> What's the problem? >> >> Thank you in advance! >> >> iMarcos >> 2012