Solved

Printing multiple page results in a batch format

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Installer 5 38
PHP strings vs array errors 13 33
What's the best way to programatically have a MySQL DB update another MySQL DB 4 67
Email called spam 5 36
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 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