Creating PDF documents from database records
Posted: Tue Jun 12, 2012 8:49 pm
Today I was avoiding real work and developed this flow for creating PDF documents from jobs stored in a database.
The "GetOrders" script periodically queries an SQL database for any new orders. When it finds a new order, it retrieves the information from the database, in this case the name and birthday of the customer, and creates an XML file for Apago's PDF Constructor for building a customized PDF birthday card with the customer's name and age.
Happy 45th Birthday!
Joe Blaney
After creating the greeting card, it marks the order in the database as completed so it doesn't get reprocessed.
Dwight Kelly
Apago, Inc.
dkelly@apago.com
The "GetOrders" script periodically queries an SQL database for any new orders. When it finds a new order, it retrieves the information from the database, in this case the name and birthday of the customer, and creates an XML file for Apago's PDF Constructor for building a customized PDF birthday card with the customer's name and age.
Happy 45th Birthday!
Joe Blaney
After creating the greeting card, it marks the order in the database as completed so it doesn't get reprocessed.
Dwight Kelly
Apago, Inc.
dkelly@apago.com