Added setting to expand UPC-E to UPC-A for BCS2 scanner.
This commit is contained in:
parent
ebec983b9b
commit
ca238f5c58
|
@ -1896,7 +1896,7 @@ static Boolean ScannerSettingsFormHandleEvent(EventPtr event)
|
||||||
{
|
{
|
||||||
Boolean handled = false;
|
Boolean handled = false;
|
||||||
FormPtr form;
|
FormPtr form;
|
||||||
Char settings[7] = {0};
|
Char settings[10] = {0};
|
||||||
|
|
||||||
switch (event->eType) {
|
switch (event->eType) {
|
||||||
|
|
||||||
|
@ -1920,12 +1920,9 @@ static Boolean ScannerSettingsFormHandleEvent(EventPtr event)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ScannerSettingsPushRattailSettings:
|
case ScannerSettingsPushRattailSettings:
|
||||||
/* BCS2LibChangeSettings(gBCS2RefNum, BCS2ManualTrigger, 3); */
|
|
||||||
/* BCS2LibChangeSettings(gBCS2RefNum, BSC2EnableNOREAD, 3); */
|
|
||||||
/* BCS2LibChangeSettings(gBCS2RefNum, "R40R34", 6); */
|
|
||||||
|
|
||||||
StrCopy(settings, BCS2ManualTrigger);
|
StrCopy(settings, BCS2ManualTrigger);
|
||||||
StrCat(settings, BSC2EnableNOREAD);
|
StrCat(settings, BSC2EnableNOREAD);
|
||||||
|
StrCat(settings, BCS2ExpandUPC_E);
|
||||||
BCS2LibChangeSettings(gBCS2RefNum, settings, StrLen(settings));
|
BCS2LibChangeSettings(gBCS2RefNum, settings, StrLen(settings));
|
||||||
handled = true;
|
handled = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue