pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blake McBride <blake1...@gmail.com>
Subject Re: How to reset text on a new page?
Date Wed, 09 Mar 2016 03:35:38 GMT
I should have stated that I am using 2.x.

Thanks.

On Tue, Mar 8, 2016 at 9:31 PM, Blake McBride <blake1024@gmail.com> wrote:

> Hi,
>
> I get that one starts text with contentStream.beginText() and ends text
> with contentStream.endText().  And I get that one gets a new page with doc
> .addPage(page).  But when I use all this to print two pages, I end up
> with two pages each with the same text (the merge of the contents of the
> two pages).  How can I clear the page contents for a new page?  (I didn't
> see an example that printed two pages in the examples.)
>
> Thanks!
>
> Blake McBride
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message