Paxar 6039 Printer User Manual


 
Sample Applications A-7
C# Demo Sample
//'**********************************************************
//* Name: 6039 Demo Application (Demo CSharp) *
//'* Version: 1.0.0 *
//'* Date: 5/1/2006 *
//'* Development *
//'* Environment: Microsoft Visual Studio .NET 2003 *
//'* (C Sharp.NET) *
//'* Company: Paxar Americas, Inc *
//'* Copyright 2006 *
//'* Supply Size 2020 (2.0" x 2.0") *
//* Description: *
//* Setup Barcode Symbologies in the Form1_Load Event *
//* Scan/Enter UPC and Print Label with UPCA barcode *
//* References *
//* Add Reference to Ultra.dll *
//***********************************************************
using System; // For Strings
using System.Drawing;
// provides access to GDI+ basic graphics
using System.Collections;
// collections of objects, ArrayList
using System.Windows.Forms; // Forms
using Ultra; // Needed for Scanning & Printing
namespace Demo_CSharp
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Label lblScanEnterData;
private System.Windows.Forms.Button btnEnter;
private System.Windows.Forms.TextBox txtUPC;
private System.Windows.Forms.Button btnClear;