kemibe Posted March 4, 2009 Share Posted March 4, 2009 Hi all Wondering if anyone knows of any libraries. Where by a file of pretty much any type can be converted to a PDF. So basically for instance. My end product would be a script where PHP will list the folder contents of a given windows folder (which i can do). Then as a user clicks on a particular file (e.g doc,dwg,xls etc). PHP will 'on the fly' create and open a pdf version of that file allowing the user to save this pdf file. Its main use will be a part of a document control product allowing users to ONLY have access to pdf versions of all files. thanks Keegan Quote Link to comment https://forums.phpfreaks.com/topic/148012-converting-any-type-of-file-to-pdf/ Share on other sites More sharing options...
corbin Posted March 5, 2009 Share Posted March 5, 2009 As far as I know of, there is not a library that can do that. And if there is, I doubt it's free. There are a lot of libraries that can make pdfs, but I don't know of any that can convert from doc, dwg, xls and so on to PDF. Quote Link to comment https://forums.phpfreaks.com/topic/148012-converting-any-type-of-file-to-pdf/#findComment-776873 Share on other sites More sharing options...
kemibe Posted March 5, 2009 Author Share Posted March 5, 2009 yeh, thats what i though. i was thinking of basically ensuring that the User have CutePDF printer installed and then it is just a matter of calling a print function to the CutePDF printer. But i dont know how to do that either :s or if it is possible Quote Link to comment https://forums.phpfreaks.com/topic/148012-converting-any-type-of-file-to-pdf/#findComment-776880 Share on other sites More sharing options...
corbin Posted March 5, 2009 Share Posted March 5, 2009 If you did that, you would lose the ability of "allowing users to ONLY have access to pdf versions of all files." Quote Link to comment https://forums.phpfreaks.com/topic/148012-converting-any-type-of-file-to-pdf/#findComment-776903 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.