Pdf Creation using PHP
Posted by: ryuragnas (---.vic.westnet.com.au)
Date: December 27, 2006 05:35AM

I would like to know how I could create a pdf for a hypothetical transport company using your fabulous program.

I am trying to create it with a header that consists of the date and job number and the logo, a two column body under that for Pick Up and Delivery Details, a fairly big body for a description of goods, a place to sign for the Pick Up/ Delivery of goods, and a section with start time, end time, travel time, break time, total time, hourly rate, notes and other things. Is there a way?

And great work with the program, I couldn't get the separate programs to work together.

Thanks very much

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: Rivernet1 (---.du.volcano.net)
Date: December 28, 2006 08:52PM

You're gonna need more than just PHP...

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: ryuragnas (---.vic.westnet.com.au)
Date: December 28, 2006 11:57PM

Such as??? Please help.

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: Rivernet1 (---.du.volcano.net)
Date: December 29, 2006 12:42AM

Are you just creating a blank/template, or are you going to have your system populate the fields?

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: ryuragnas (---.vic.westnet.com.au)
Date: December 29, 2006 12:54AM

I'm trying to have it populate the fields

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: Rivernet1 (---.du.volcano.net)
Date: December 29, 2006 12:55AM

The you're gonna need an engine to hold a database. MySQL would be the trick since it's already included in WAMP.

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: ryuragnas (---.vic.westnet.com.au)
Date: December 29, 2006 12:58AM

I've got MySQL and my databases are set up, and when I go to export them to pdf, it looks like ****.

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: Rivernet1 (---.du.volcano.net)
Date: December 29, 2006 02:41AM

Is there a link I can see? OR the raw data from the database I can look over?

How are you inputting the data?
How is it being called on?

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: ryuragnas (---.vic.westnet.com.au)
Date: December 29, 2006 03:03AM

I'm inputting the data via phpmyadmin's input fields, into a summary, which then feeds that to the other tables for sorting. I have yet to input data, but that is only minor. Its really hard to explain, as I have Aspergous Syndrome.

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: Rivernet1 (---.du.volcano.net)
Date: December 29, 2006 03:26AM

So if the data containers are blank - how are you testing it with null strings?

Input a few lines of data and see what the output looks like.

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: ryuragnas (---.vic.westnet.com.au)
Date: January 02, 2007 02:12AM

well, it just comes up as the tables spread out over a page, with ALL the data that's been entered into the db in the columns, each job takes a row.

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: yfastud (72.236.169.---)
Date: January 02, 2007 03:39PM

The question is "did you enable PDFLib yet?"

Check this article:

[www.sitepoint.com]

Have fun

[www.jlbn.com] (testing web server)
[test.jlbn.com] (testing codes)
[forum.jlbn.com] (testing phpBB2)
[forums.jlbn.com] (testing phpBB3)
[mail.jlbn.com] (testing mailserver)
[ftp.jlbn.com] (testing ftp server)
[www.jlbn.com] (testing flashes)
[www.jlbn.com] (testing images)
[joomla.jlbn.com] (testing Joomla 1.0.10)
[fusion.jlbn.com] (testing phpFusion 6.01.6)
[nuke.jlbn.com] (testing phpNuke 7.9)
[nukep.jlbn.com] (testing phpNuke Platinum 7.6.b.4v2)
[pnuke.jlbn.com] (testing PostNuke 0.800-MS2)
[nukevo.jlbn.com] (testing phpNuke Evolution 2.0.1)



Post Edited (01-02-07 15:45)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: ryuragnas (---.vic.westnet.com.au)
Date: January 04, 2007 01:16AM

How does someone edit the pdf pages so as to look like what they want? If I send a drawing to someone, would they be able to advise me on what to do? Also, were I to create my own scripts, where would I put them in the WAMP directory? This is what's confusing me, as I haven't fully worked with PHP/MySQL/Apache/etc before. I did a Introduction to Web Development last year, where I was in a group with 4 others, and the lecturer only mentioned PHP/MySQL/Apache/etc as one of the application groups people utilise for the web.

Any help would be appreciated.

Options: ReplyQuote
Re: Pdf Creation using PHP
Posted by: Razorblade (151.81.5.---)
Date: January 04, 2007 12:16PM

Hi,
try to use FPDF.
It's a free php class that don't use pdflib.
[www.fpdf.org]
Bye!

Options: ReplyQuote


Sorry, only registered users may post in this forum.