Need advice with printing on check stock
Need advice with printing on check stock
(OP)
I'm replacing an old dos application that is used to print checks on pre-printed check stock. My server script is ColdFusion. My idea is to pass html as a variable to the <cfdocument> tag which generates a PDF document that can them be printed.
The check stock is 8.5in x 11in with three areas that I need to print data on.
The top section I call "detail area" will have a variable number of rows of details about the earning events that the check covers. There are controls in place that will keep the amount of data from exceeding available area.
The middle section will contain a variable length paragraph with a mix of dynamic data and static text. There are controls in place that will keep the amount of data from exceeding available area.
The bottom section is the actual check. I have to print the account, check amount, payee, and signature graphic in precise locations.
The Payee name and address fits in an envelope window and may be 3 or 4 rows.
Finally the signature graphic at 9.5 inches from the top
What I have so far gets me close but I still have floating due the variable amount of data in the top sections. I've tried positioning the elements but no luck.
Any help appreciated!
Lyndon
The check stock is 8.5in x 11in with three areas that I need to print data on.
The top section I call "detail area" will have a variable number of rows of details about the earning events that the check covers. There are controls in place that will keep the amount of data from exceeding available area.
The middle section will contain a variable length paragraph with a mix of dynamic data and static text. There are controls in place that will keep the amount of data from exceeding available area.
The bottom section is the actual check. I have to print the account, check amount, payee, and signature graphic in precise locations.
The Payee name and address fits in an envelope window and may be 3 or 4 rows.
Finally the signature graphic at 9.5 inches from the top
What I have so far gets me close but I still have floating due the variable amount of data in the top sections. I've tried positioning the elements but no luck.
Any help appreciated!
Lyndon
CODE
<loop through checks> <div style="page-break-after: always; "> <div> Print Listing Here from .75 to 4.25 </div> <div> Print paragraph here from 4.75 to 7.125 </div> <div> Check <div> Acct# 9in down 3.125 left Code# 9in down 4.5 left $Amount 9in down 7in left </div> <div> payee name 9.5 down .75 left address1 address2 [if exists] city st zip </div> <div> Sig.jpg 9.5 down 6.25 left </div> </div> </div> //page-break </loop through checks>
Lyndon
RE: Need advice with printing on check stock
I see no evidence of this so it is difficult to show which positioning is incorrect...just that there is no positioning.
RE: Need advice with printing on check stock
Hope this helps.
RE: Need advice with printing on check stock
Lyndon
RE: Need advice with printing on check stock
GIGO
RE: Need advice with printing on check stock
I divided the job into bands of <divs> and gave each a height in inches. That has given me the most accuracy so far.
Lyndon