Added setting to expand UPC-E to UPC-A for BCS2 scanner.

This commit is contained in:
Lance Edgar 2013-01-27 10:18:45 -08:00
parent ebec983b9b
commit ca238f5c58

View file

@ -1896,7 +1896,7 @@ static Boolean ScannerSettingsFormHandleEvent(EventPtr event)
{
Boolean handled = false;
FormPtr form;
Char settings[7] = {0};
Char settings[10] = {0};
switch (event->eType) {
@ -1920,12 +1920,9 @@ static Boolean ScannerSettingsFormHandleEvent(EventPtr event)
break;
case ScannerSettingsPushRattailSettings:
/* BCS2LibChangeSettings(gBCS2RefNum, BCS2ManualTrigger, 3); */
/* BCS2LibChangeSettings(gBCS2RefNum, BSC2EnableNOREAD, 3); */
/* BCS2LibChangeSettings(gBCS2RefNum, "R40R34", 6); */
StrCopy(settings, BCS2ManualTrigger);
StrCat(settings, BSC2EnableNOREAD);
StrCat(settings, BCS2ExpandUPC_E);
BCS2LibChangeSettings(gBCS2RefNum, settings, StrLen(settings));
handled = true;
break;