9 - 12
0123456789-
3. In Japan, it is common for two fields to follow the ISBN number, the three
digit price field, and the four digit price field. The first field typically starts
with a āCā (uppercase c), followed by four digits. The second field typically
starts with a āPā or a yen symbol, followed by three or four digits, followed by
an āE.ā Program the user-defined variable āhā to comprise the āPā and the
yen symbol (represented by a backslash).
P\
4. Scan the symbol below to set up three templates to handle the ISBN
number, the three digit price field, and the four digit price field.
5. Finally, set up the ISBN check digit, which is a special position-weighted
modulo 11 checksum. The image scanner automatically invokes the ISBN
checksum for template rows that are:
1.) at least fourteen characters long,
2.) whose first four characters are the letters āISBN,ā
3.) whose last character is a check character, and
4.) when the modulo 11 check character ā0123456789Xā is programmed.
Please note that all these commands can be combined into a single serial pro-
gramming command:
OCRENA2,TMPāISBNggggggggggggctCdddd hdddEtCdddd
hddddEā,GPGā0123456789-ā,GPHāP\ā,CHKā0123456789Xā.
These commands can be encoded into the following Aztec Code symbol: