How to create report with PHP

by 7 replies
11
Hi warriors,
I have a web project from my boss. He have a registration form that already have columns on paper. And when someone join to be a member from his website, my script have to print data to this form. I use FPDF to implement this, but the print result not fit on paper columns.
I have meausure space between line and characters, but only work for line1,2. After that they are not fit on the columns again.
Do anybody here know how to solve this ? Please let me know. And thank you before for answers.
#programming #create #php #report
  • you can read and use the class from this tutorial in working with multi-columns in fpdf.. Multi-columns
    • [ 2 ] Thanks
    • [2] replies
    • Awesome man, works like a charm!
    • Thank you Johnny for your reference, it useful for me. How about the space between rows?
      As I mentioned above. After printing the line 1 and line 2, line 3 will not be exactly in its place again. I use a dot matrix printer to print them. Because the application forms is 3 layer.
  • your tutorial solved the problem
  • If you can provide the link of your site then it will be easier to tell wheather it is enough or you need to do some more special to make it count.
  • Thanks for the very helpful tutorial. it helped me to solve my problem.
  • If you want to learn how to create PHP, here the link as your reference :

    Generate PDF report from php - Stack Overflow
  • Banned
    [DELETED]

Next Topics on Trending Feed

  • 11

    Hi warriors, I have a web project from my boss. He have a registration form that already have columns on paper. And when someone join to be a member from his website, my script have to print data to this form. I use FPDF to implement this, but the print result not fit on paper columns. I have meausure space between line and characters, but only work for line1,2. After that they are not fit on the columns again.