Set text extraction mode to "line printer".
void pdfSetTextLinePrinterMode(int linePrinter)
linePrinteris non-zero, sets the text extraction mode to "line printer". In line printer mode, text is placed into a grid of fixed-width, fixed-height cells. This is particularly well suited for extracting text from PDF files created from line printer-style text, i.e., with a single monospaced font. By default, XpdfText will attempt to compute an appropriate character pitch and line spacing, but those can also be explicitly provided - see
This setting is global - it applies to all PDF handles.