That makes perfect sense, thank you!

- tres.finocchi...@gmail.com


On Wed, Aug 23, 2023 at 2:25 PM Tilman Hausherr <thaush...@t-online.de>
wrote:

> AFAIK -cp and -jar can't be mixed. Here's what I just tried and it worked:
>
> java -cp "pdfbox-app-2.0.29.jar;lib/*" org.apache.pdfbox.tools.PrintPDF
> -printerName "Microsoft Print to PDF" XXXX\jpeg2000.pdf
>
> Tilman
>
> On 23.08.2023 20:03, Tres Finocchiaro wrote:
> > Hi,
> >
> > I'm trying to print a PDF with JPEG2000 image in it.  According to the
> > docs, this should be as easy as adding JAI core and JAI JPEG2000
> libraries
> > to my classpath, but for some reason it's not working.
> >
> > Here's my command:
> >
> > java -cp "./jai-*.jar" -jar pdfbox-app-2.0.29.jar PrintPDF jpeg2000.pdf
> >
> >
> > What am I doing wrong?
> >
> > PDF:
> > https://github.com/qzind/tray/files/12421913/jpeg2000.pdf
> >
> > Note, I've also asked this question on Stackoverflow here:
> > https://stackoverflow.com/questions/76963762
> >
> > - tres.finocchi...@gmail.com
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>

Reply via email to