3 converting measurements to xml coordinates, 1 coordinate system and distances, 2 character placement – MagTek EC2000 99875631 User Manual

Page 3: Converting measurements to xml coordinates

Advertising
background image

Technical Bulletin (Document Number 99875631)

ExpressCard 2000 Tipping and Emboss Areas

MagTek I 1710 Apollo Court I Seal Beach, CA 90740 I Phone: (562) 546-6400 I Technical Support: (888) 624-8350

www.magtek.com

Page 3

2.3 Converting Measurements To XML Coordinates

When developing custom XML, it is often necessary to convert physical measurements in a design or
specification into EC2000 XML coordinates. This section provides details to assist with conversion.

It is important to note that the placement and scaling of the coordinate system are affected
by settings found in the

Tuning (Embossing)

page, so it is advisable to perform

measurements to find the actual coordinate system origin (0,0) for your application.

2.3.1 Coordinate System and Distances

EC2000 XML coordinates are specified in 0.01 (1/100) inch increments. For example, the distance
between the point (10,200) and the point (11,200) is 0.01 inches. The theoretical boundaries of a CR80
card are therefore from (0,0) at the upper left corner to approximately (337,212) at the lower right corner.
The exact placement of the origin depends on the EC2000’s calibration settings – primarily the Card
Offset X
and Card Offset Y settings found in

Menu

>

Settings

>

Tuning

.

Figure 2-2 - EC2000 Coordinate System

Knowing the origin and coordinate system size, it becomes straightforward to find the approximate
locations of the tipping area boundaries shown in Figure 2-1:

Left boundary at X = 25

Right boundary at X = 307

Upper boundary at Y = 117

Bottom boundary at Y = 202

2.3.2 Character Placement

The EC2000 places the upper left corner of a character at the coordinates specified in the XML. If your
design specifies character centers, you must take the nominal font height and width into account when
choosing coordinates.

For example, Figure 2-3 shows a design where the position of the first character in the Primary Account
Number (PAN) is specified by its centerpoint at a position that translates to coordinates (40, 128).
FontID1 has a nominal character height of 0.17 inches and a nominal character width of 0.10 inches, so

Advertising