Re: Problems combining files with form fields

2015-05-06 Thread John Hewson
It’s been moved to PDFPrinter. We have a new printing API which is quite flexible. — John > On 6 May 2015, at 10:15, Gilad Denneboom wrote: > > I'm noticing that in the 2.0.0 snapshot there's no print method on the > PDDocument class. Has it been replaced by something else, or simply not > imp

Re: Problems combining files with form fields

2015-05-06 Thread Gilad Denneboom
I'm noticing that in the 2.0.0 snapshot there's no print method on the PDDocument class. Has it been replaced by something else, or simply not implemented yet? On Tue, May 5, 2015 at 4:56 PM, Gilad Denneboom wrote: > Thanks, it seems to work correctly using a snapshot of 2.0.0 ... > > On Tue, M

Re: Assigning a font to an AcroForm field

2015-05-06 Thread Maruan Sahyoun
Hi, Am 06.05.2015 um 18:09 schrieb phi...@free.fr: > > Hello, > > in one of my programs, I assign a TTF barcode font to an AcroForm. > > How can I assign it to a particular field (the one containing the barcode)? The font will have a COSName in the AcroForm Resources dictionary. You'd need to

Assigning a font to an AcroForm field

2015-05-06 Thread phiroc
Hello, in one of my programs, I assign a TTF barcode font to an AcroForm. How can I assign it to a particular field (the one containing the barcode)? Many thanks. Philippe final PDResources res = new PDResources(); res.addFont(font0); finalDocAcroForm.setDefaultResources(res); -