There's not much to go on here for anyone trying to help.
Is your print formatting instructions table in SQL Server 2005?
Please provide:
1. Table definition of formatting table as CREATE TABLE statement
2. Data as INSERT statements
3. What is driving the SELECT query and page printing (Reporting Services, VB, PHP, ASP, ...)
4. Where does the data for the letter come from? Another table? If so please provide CREATE and INSERTs and the SELECT
5 What the letter looks like
6. The business logic of what is supposed to happen
Thanks,
Peter