

When I did an listing of the /home/oracle/.adobe/Acrobat/9.0/Temp/ directory, all the files are zero byte size. From the trace file, I saw these lines before the segmentation fault happened. To further troubleshoot this issue, I used the strace command like so cat /pdf_file | strace -f -o /tmp/acroread.$$.trace acroread -toPostScript. The I proceeded to test the other 2 commands cat /path/to/pdf_file | acroread -toPostScript and I saw the output Segmentation fault. Printing a normal file, such as /etc/hosts, using this command lp -dprintername /etc/hosts works, and we can see the printout at the printer. But we are getting the error lp: stdin is empty so no job has been sent. The command we are using is cat /path/to/pdf_file | acroread -toPostScript | lp -dprintername. Recently there is a requirement to submit PDF files to printers to be printed out. Our customer has a Linux server (Redhat), which runs Java web applications.
