The ps2ascii command tries to extract the full text from a PostScript (or PDF) file. In general this works quite well, but there may be problems in the output with missing spaces where newlines were, and (depending on how the PostScript file was created) there may be some unrecognized characters. For example:

[email protected]:~ > ps2ascii will write to standard output, whereas [email protected]:~ > ps2ascii outfile.txt will write the output to a file.

Was this article helpful?

0 0

Post a comment