I been trying to convert PDF file to plaintext. $pdf2ps filename.pdf output.ps $ps2ascii filename.ps output.txt Output: txt file. But the problem is there's nothing inside the file. It's all garbage like lots of @@@@.