Solved

Printing multiple page results in a batch format

Posted on 2008-10-12
1
201 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now