FijiERP Posted July 11, 2022 Share Posted July 11, 2022 Hi I have written python scripts to convert excel to pdf and when running directly via command prompt it works fine. I tried to use php all functions to use this python script but it doesnt do anything. Same goes using com and other libraries it doesnt work with php (wamp). I even when to service configurations to change wamp to interact with desktop and even did admin login on it. Still not working. Have anyone has successfully done it with php. I even used tcpdf and others. But cant product right results. I dont want to also design everything again. All i want is php should read the excel file and just convert it to pdf. Someone can help me to give permissions to php as i feel this is the issue or a working solution. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/315025-using-wamp-to-convert-excel-to-pdf/ Share on other sites More sharing options...
requinix Posted July 12, 2022 Share Posted July 12, 2022 Make sure you have error logging enabled everywhere - and, of course, are checking those logs. That includes making sure the command to run your Python script is putting its and stderr to someplace you can see. Quote Link to comment https://forums.phpfreaks.com/topic/315025-using-wamp-to-convert-excel-to-pdf/#findComment-1598154 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.