Convert Files Into Pdf

Posted on -
  1. Convert File Pdf Into Word
  2. Convert File Into Pdf Form

VBA code, PDF saved as different file type, Adobe Professional.

I want to convert the php file into pdf file, i don't know how to convert it. can any one help me?

magnamagna
Pdf

closed as not a real question by akjoshi, Toronto Raptors, kiamlaluno, j0k, PopsJul 14 '12 at 16:49

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. Free online multiplayer pool game. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

4 Answers

It depends on what you actually need 'converting'. If you want to create a PDF from PHP then there are of lots of libraries to allow you to do it. You can also build a HTML page and have that convert to a PDF too. Here are a couple to take a look at

Rich StandbrookRich Standbrook

from what you described I understood that you want to convert a php file to a pdf file

to do that:

first install a virtual printer that handles pdf (for example, install adobe reader - it's free, it will automatically install an 'Adobe PDF' printer)

then open the file in any editor and do a print, but from the printers dialog, select the 'Adobe PDF' printer. it will save your file as a pdf

if you open the php file in an editor that supports source formatting (coloring etc) like Notepad++ for example, printing it to pdf will keep the formatting

Convert File Pdf Into Word

Andrei SAndrei S

Convert File Into Pdf Form

You can do it through a shellcommand with wkhtmltopdf. This can allow you to get the html printed from the php to be converted into a pdf which then can be downloaded (or displayed).

SondreSondre

You can use http://www.freepdfconvert.com/ to convert it online to pdf but you must save the .php file as .txt first.

T1000T1000

Not the answer you're looking for? Browse other questions tagged phphtmlcsspdf or ask your own question.