Paxar 6039 Printer User Manual


 
Sample Applications A-43
//--Barcode Type
switch (nBarType)
{
case -1:
objForm.txtScanType.Text = "No Scan";
objForm.txtScanLength.Text = "0";
break;
case 0:
objForm.txtScanType.Text = "Unknown";
break;
case 1:
objForm.txtScanType.Text = "Code 39";
break;
case 2:
objForm.txtScanType.Text = "Codabar";
break;
case 3:
objForm.txtScanType.Text = "Code 128";
break;
case 4:
objForm.txtScanType.Text = "Discrete 2 of 5";
break;
case 5:
objForm.txtScanType.Text = "IATA 2 of 5";
break;
case 6:
objForm.txtScanType.Text = "Interleaved 2 of 5";
break;
case 7:
objForm.txtScanType.Text = "Code 93";
break;
case 8:
objForm.txtScanType.Text = "UPC A";
break;
case 9:
objForm.txtScanType.Text = "UPC E";
break;
case 10:
objForm.txtScanType.Text = "EAN 8";
break;
case 11:
objForm.txtScanType.Text = "EAN 13";
break;
case 14:
objForm.txtScanType.Text = "MSI Plessey";
break;