Solved

Printing multiple page results in a batch format

Posted on 2008-10-12
1
202 Views
Last Modified: 2013-12-13
I am creating an online insurance application website.  My problem lies in the administration area where the administrator needs to print a batch of applications that have been submitted in exactly the same format as a paper form except that the individual insured information would be included in each field.  I have created the selection criteria page for the administrator which simply stores a value of "print" in the status field of the MySQL record for each application to be printed.  The objective is to allow the administrator to print to his/her local printer all application forms in the format as displayed at https://www.swsapp.com/p7_form.php?appcode=011660 without having to view and submit each page individually - the appcode parameter would be different for each application to print in the batch.  Does anyone have some specifics on how this might be accomplished?
0
Comment
Question by:spferaro
1 Comment
 

Accepted Solution

by:
spferaro earned 0 total points
ID: 22703244
I never received a response to this post, but I did find a solution that served the purpose extremely well.  There are three APIs from two vendors that serve to provide a very unique reporting function.  The first is FPDF, an API that uses PHP to create PDF files.  The second and third are FPDI and FPDF_TPL, both from Setasign, a German company that provides an outstanding product - and support beyond anything I have encountered in a long time.  FPDF_TPL proivides a templating function to FPDF and FPDI is an extended class of FPDF_TPL.  Using these three APIs, I was able to create exactly what I was looking for in just a few hours versus the days I expected to spend.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question