d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > N Help With Positioning Php Formular To Pdf > Php Formular Im Pdf Positionieren
Add Reply New Topic New Poll
Member
Posts: 3,579
Joined: Feb 1 2009
Gold: 400.50
Jun 1 2015 05:13am
Hi,

i created a formular and at the end i press the button "save as pdf". PDF will be created afterwards, but the text inside is horrible, everything is in an extra line to the bottom.
I want to create a quotation with a nice header at the top left, a logo at the top right, a context and some informations at the bottom.

For example: http://www.steffelsoft.de/vcad/images/vcAngebot.gif

Somebody here who can explain that to me? Is it possible with css order directly with php?

thank you in advance
Member
Posts: 1,945
Joined: Apr 19 2007
Gold: 1,978.90
Jun 1 2015 04:18pm
I made something with this, allows you to generates PDF files from UTF-8 encoded HTML for styling etc
http://www.mpdf1.com/mpdf/index.php

hope it helps
Member
Posts: 3,579
Joined: Feb 1 2009
Gold: 400.50
Jun 3 2015 02:28am
Hey val,

thank you, i am going to check it and give you feedback than.
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jun 3 2015 07:22am
im not familiar with the "formular to pdf" program. i assume you're converting from one format to pdf? post the raw format you're converting. i assume you can also run it on the command line outside of the web app as well.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll