Chapter 5 - Sample Source Code; Padcom Signature Capture Sample For Dos - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

5
Sample Source Code
The following sample source code is for Microsoft compilers only. A copy of this sample code with the necessary makefiles,
along with similar sample source code and makefiles for Borland compilers, are installed during the 16 or 32 bit SDK
installation. These samples are intended for demo purposes only and do not necessarily perform useful tasks. However,
they provide a basis on which you can build complex and meaningful Point Of Sale applications.

PadCom Signature Capture Sample for DOS:

//
//=--------------------------------------------------------------------------
// Test.c
//
// A simple DOS Demo program using DOS Graphics Functions.
//
// Compiler:
//Microsoft Visual C++ 1.52
//Target: DOS Application
//Memory Model: Medium
//Include:..\..\..\padcom.h
//Library:..\libs\padcomdm.lib
//Environment:
//DOS 3.3 or better
//
// Copyright (c) Hand Held Products. All rights reserved.
//
//=--------------------------------------------------------------------------
//
#include <graph.h>
#include <conio.h>
#include "PadCom.h"
int GraphOn( void );
void GraphOff( void );
void main()
{
int x, y, p;
//=======================
5 - 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents