html2ps : Unable to fork on PHP
| From: | Krushna Kumar | Date: | Wed, 07 Nov 2001 12:51:37 +0000 |
| Subject: | html2ps : Unable to fork on PHP | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-windows+get-10254@lists.php.net to get a copy of this message | ||
I am getting error on generating html2ps. If someone can help me, I would be grateful. We are using
Windows 98/PWS/PHP/Postscript/
This program is for converting an HTML to PDF. The process involves conversion from html to ps and
then from ps to pdf. I have installed postscript and html2ps.
Error
-------
Warning: Unable to fork [d:/html2ps/html2ps -f html2ps_config -o C:\WINDOWS\TEMP\TMPF0A4.TMP.ps
C:\WINDOWS\TEMP\TMPF0A4.TMP] in E:\projects\pdfgener\rusty\index.php on line 60
Warning: Unable to fork [d:/gs/ps2pdf C:\WINDOWS\TEMP\TMPF0A4.TMP.ps
C:\WINDOWS\TEMP\TMPF0A4.TMP.pdf] in E:\projects\pdfgener\rusty\index.php on line 61
Code used
----------------
Line 60: system("$html2ps_path -f $html2ps_config -o $tmpfname.ps $tmpfname");
Line 61: system("$ps2pdf_path $tmpfname.ps $tmpfname.pdf");
Regards
krushna Kumar