I need to know where the page breaks are in the output file?
gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=txtwrite -sOutputFile=output.txt input.PDF
**Sorry about my english.
There are no page breaks in the output file. Use -sOutputFile=output%d.txt to get each page in a separate file.