Chapter 5: 2x20 Customer Display (7446-K453) 5-29
default: printf("\n Error!!");cur_homeB();goto
ComPort_Select;break;
}
charcount1=0;
charcount2=0;
ch=1;
data = _COM_CHR8 | _COM_STOP1 | _COM_NOPARITY | _COM_9600 ;
_bios_serialcom(_COM_INIT, ComPort , data) ;
cur_homeA();
printf("\n Press any key to show (F10 to quit) ") ;
printf(ComData);
printf("\n \n");
/*_bios_serialcom(_COM_SEND,ComPort,0x1b);
_bios_serialcom(_COM_SEND,ComPort,0x47);
for(tempLoop=0;tempLoop<1920;t+)
{
_bios_serialcom(_COM_SEND,ComPort,0x58);
}*/
do
{
if(kbhit()) //check if hit any key
{
c=getch();
if (c==68 && d==0)
goto programmend;
printf("\n Input Data ==== %d ==== %c",c,c);
_bios_serialcom(_COM_SEND,ComPort,c);
}
/*if(charcount1<20)
{ _bios_serialcom(_COM_SEND,ComPort,string[charcount1]);
printf("\n%c--%i--",;
cha+;
}
else
{
if(charcount2<20)
{ _bios_serialcom(_COM_SEND,ComPort,string2[charcount2]);
cha+;}
else
{ charcount1=0;
charcount2=0;}
}
delay(500);*/
//d=c;
Summary of Contents for 7446
Page 1: ...NCR RealPOS 30 7446 Release 2 1 User Guide 2 B005 0000 1551 Issue E...
Page 90: ......
Page 98: ...3 8 Chapter 3 Setup...
Page 148: ...A 10 Appendix A Cables...