2024-10/cgi-bin/doc2pdf.sh

11 lines
214 B
Bash
Raw Permalink Normal View History

2024-10-17 06:49:16 +00:00
#!/bin/bash
PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin
HOME=/tmp
echo >> /tmp/doc2pdf.log $PATH_TRANSLATED
echo -e "Content-Type: application/pdf\n"
/usr/bin/antiword -p a4 $PATH_TRANSLATED | ps2pdf - -