pdfSetTextPageBreaks

Enable/disable page break characters between pages.
void pdfSetTextPageBreaks(int pageBreaks)
By default, XpdfText will insert a page break (form feed) character at the end of each page. If this function is called with a zero argument, pages will be extracted with no separator between them.

This setting is global - it applies to all PDF handles.

C:
pdfSetTextPageBreaks(0);