content_image/981411.jpg
The code in this book can be copied into a Notepad document and saved as the following file: 

C:\Datacap\FastComplaints\dco_FastComplaints\rules\FastComplaintsCustom .rrx 

Alternatively, download the sample file that is associated with this book as a downloadable material. 

Place the sample file in the following folder: 

C:\Datacap\FastComplaints\dco_FastComplaints\rules 

When the complaint form was developed, we specifically placed our bar codes in a location next to the signature zone. This was done to enable their location to be captured and used as anchors to determine our signature zone. 

When bar code detection runs, it creates several page-level variables holding the bar code locations. By using these values, we can dynamically locate our signature even if the size of the form changes. 

Figure 9-43 depicts how this works: 

GLYPH<SM590000> Use the bar code 0s Upper Y coordinates to determine the signature zone Upper Y coordinate. 

GLYPH<SM590000> Use the image left value to determine the signature zone Upper X coordinate. 

GLYPH<SM590000> Use the bar code 1 Lower Y coordinate to determine the signature zone Lower Y coordinate. 

GLYPH<SM590000> Use the bar code 1 Upper X coordinate top determine the signature zone Lower X coordinate. 

<img src='content_image/981411.jpg'>

