This is the Rexa v1 pstotext, adapted from the DEC utility pstotext. BUILD ./bin/setup RUN ./bin/totext --nogzip --file path/to/pdf_or_ps.pdf cat path/to/pdf_or_ps.pdf.pstotext.xml