Jump to content

Converting any type of file to PDF


kemibe

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.