×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Need advice with printing on check stock

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

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

Quote (LyndonOHRC)

I've tried positioning the elements but no luck.

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

Suggestion: You should be purchasing blank check security paper from a proper supplier then create the ENTIRE check image programmatically and use MICR ink in a laser printer to create the check. Then the only issue you would have would be to do a general centering alignment on the output. Often the check would require special font(s) which are usually available (MICR character set). Also, there are some firms that offer software that provide an API to accept data and format the check to your design.

Hope this helps. thumbsup2

RE: Need advice with printing on check stock

(OP)
We are using pre-printed check stock.

Lyndon

RE: Need advice with printing on check stock

Was there interest in discussing/resolving positioning?

GIGO

RE: Need advice with printing on check stock

(OP)
Yes, I think I figured it out. Will know more when I get a large data set.

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close