Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I insert scanned pre-printed document as underlay of a report?

Status
Not open for further replies.

LeoB

Technical User
Aug 22, 2001
4
US

I'm currently in VFP 5.0. I need to scan a pre-printed document (i.e. a government form), dump it into the printer without ejecting, then dump in the data to fill in the blanks of the form.

I currently build such forms in a cumbersome software that converts into PCL code, which goes into the printer with the fread() command and the data goes on top. I need something more efficient.

Do I need VFP 6.0?

LeoB
 
Leob

Save your scanned document to either .bmp, .gif, or .jpg format, whichever gives you the best visual result.

Create a new report, set the Page Header and Page Footer values to be zero, and the Detail band value to be , as near as possible, the north/south dimension of your scanned document.

Add a Picture/ActiveX report object. Drag it to full report size, set the "Picture from file" reference to be your scanned document, and select "Scale picture, retain shape", (isometric).

Place fields, (transparent format mode), in appropriate positions, and populate your report object field's expression with table fields.

You can then run the report, printing your table data on the scanned image background.

VFP 5.0 should be fine.

Chris :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top