_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
TSP100 Sample Program of Get Printer Status for Visual C++ 6.0
    For Star Line Mode
                                                                07/24/2009

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

================
  Introduction
================
This sample program provides you to get the printer status of Star TSP100
POS Printer.

This sample program offers you its source file, so that you can use it as
you like for your software.


==========================
  Installation and usage
==========================
// Setting the environment variables
This sample program needs to set the environment variables.

    To set "Path" environment variables, 
        Right click the "My Computer" icon -> Select the "Properties"
        -> "Advanced" tab -> Click "Environment Variables" button.

Add the folder path (*1) which contains the software
for TSP100 in "Path" environment variables.

*1.The folder path should be like bellow.
     'C:\Program Files\StarMicronics\TSP100\Software\[yyyymmdd]'
   [yyyymmdd] is a Date folder associated with the date
   (For example, 20090724).
   In Software folder, there are multiple Date folders.
   Please specify the latest Date folder as the Variable Path.
   For example, there are two Date folders, [20070528] and [20090724],
   are existing. The Variable Path should be specified as 
     'C:\Program Files\StarMicronics\TSP100\Software\20090724'.
   The drive letter should be assigned base on the current status of
   your computer.

// Installation
Extract the contents of the ZIP archive to any directory.

// Usage
Run the "GetStatus.exe". 
This sample program displays the all printer status supported by TSP100.

    <Result of this program>
    ===============================================
    1->coverOpen
    1->offline
    0->compulsionSwitch
    0->overTemp
    0->cutterError
    1->paperEmpty
    1->etbAvailable
    etbCounter     = 1
    rawLength      = 9
    raw            = 23 06 28 00 00 08 00 02 00

    Press: 'R'(Retry) or 'E'(Exit)
    ===============================================

NOTE: This software was programed for the following printer icon name
      (printer queue name).
        "Star TSP100 Cutter (TSP143)"

      If you are using other printer icon names, change
      the source file "GetStatus.cpp" as follows.

      e.g. If the printer icon name is "Star TSP100 Cutter (TSP143)_1",
           "GetStatus.cpp", line 8 will be below.

            #define TSP100_PRINTER_NAME _T("Star TSP100 Cutter (TSP143)_1")


=============
  Copyright
=============
 (C)Star Micronics Co., Ltd. All rights reserved.
