Paxar 6039 Printer User Manual


 
Sample Applications A-45
case 137:
objForm.txtScanType.Text = "UPC E + 5";
break;
case 138:
objForm.txtScanType.Text = "EAN 8 + 5";
break;
case 139:
objForm.txtScanType.Text = "EAN 13 + 5";
break;
case 144:
objForm.txtScanType.Text = "UPC E1 + 5";
break;
} //switch (nBarType)
objForm.txtScanData.Text = "";
} // if (msg.WParam.ToInt32() == SM_SCANSTATUS)
} // if (msg.Msg == unScanMsgID)
// call the base class WndProc for default message handling
base.WndProc(ref msg);
}
// protected override void WndProc(ref
// Microsoft.WindowsCE.Forms.Message msg)
//************************************************************
//* PrintLabel
//* Description
//* Prints Label for some of the Barcodes Scanned
//* Label Size: 2020 (2.0" x 2.0")
//* Label Data:
//* M6039 Platinum
//* Barcode Type
//* Barcode + Human Readable
//************************************************************
public void PrintLabel()
{
string strFCN1 = "~201"; // Code 128 Function Code F1
string strType; // Barcode Type
string fmtC39 = "{F,1,A,R,E,200,200,\"C39\"|"+
"C,150,49,0,50,8,8,A,L,0,0,\"M6039 Platinum\",1|" +
"T,1,22,V,6,1,0,1,1,1,O,C,0,0|" +
"B,2,20,V,23,2,4,12,100,8,C,0|" +
"T,3,22,V,133,1,0,1,1,1,O,C,0,0|}";