Sample Applications A-33
C# Scan/Print Sample
//'**********************************************************
//'* Project: Platinum Scan-N-Print Sample (CSharp.NET) *
//'* 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: *
//'* Scan and Print Demo for the M6039 Ultra Platinum. *
//'* Files will be loaded into the \paxar folder on the *
//'* Platinum *
//'* Notes: Need to add References to: *
//'* Microsoft.WindowsCE.Form *
//'* 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 System.Data;
using System.Runtime.InteropServices;
// Needed for RegisterWindowMsg
using Ultra;
// Needed for Scanning & Printing
using System.IO;
namespace ScanNPrintCS