POSPRINT DEMO VBX  v0.1 by PCSS (C) 1995

This software is shareware.  Your support is encouraged to continue
development efforts. Registration entitles you to use of this VBX
with your applications free of royalty.

What is POSPRINT VBX for?
-------------------------
It easily adds receipt printer support to your application.
For use in cash register like receipts, reports etc...
You can now easily print an ascii file to a receipt printer connected on one
of the computer's comm port.
POSPRINT VBX features...
       * Allow printing of an ascii file in the background via a serial port.
       * Reporting of print job completion percentage .
       * Allows print job abort.
       * Printer status reporting.
       * Support of Comm Ports 1-4 (Windows driver for ports 3-4 NOT needed).
       * Animated printer icon.

What does POSPRINT VBX do?
--------------------------
It will perform the following:
 Tests the existence of the input file.
 Attempts to open the comm port for printing.
 Attempts to print the input file in the background..

Which Printers?
--------------
        Citizen 560
        Generic Printer CTS/DTR flowcontrol
        Star Micronics 200/300 Series
        Verifone Printer 250

How do you use it?
------------------
 1) Create the ascii file to be printed...
     Example:   outfile$ = "C:\RECEIPT.DAT"
                Open outfile$ For Output As #1

 2) Write the data to the file...
     Example:   Print #1, "**** ACME FOOD STORE ****"
                Etc...
     Note: The following example shows adding print attributes to a line.
                Print #1, chr(CZ_ENH_CHAR_SET) & "** HAVE A NICE DAY! **"

 3) Close the file...
     Example:   Close #1

 4) Set the InputFileName to the filename.
     Example:   Posprint1.InputFileName = outfile$

 (Look at the Visual Basic PRTDEMO.MAK project for some ideas.)
 Add the POSPRINT.VBX to your project.
 Add the POSPRINT.BAS file also to your project (OPTIONAL, has a few defines).
 Then pass the filename of ascii file to print to the InputFileName property.
 (Note: The shareware version has a run-time limitation.)

How does POSPRINT VBX do it?
----------------------------
  By a one line code - "posprint.InputFileName = source"
  The "source" contains the name of the file to print.
    Example: posprint1.InputFileName = "path\filename.ext"

What are POSPRINT VBX's features?
---------------------------------
 Runtime Print Control Properties:
   PrintAbort            - Aborts print in process. Set this flag to any
                           integer value to abort the print in process.
   InputFileName         - Starts background print of the filename.

 Communication Configuration Properties:
   ComPort               - Select the comm port for the serial printer.
   BaudRate              - Select the comm port's baud rate.
   DataBits              - Select the comm port's data bits.
   Parity                - Select the comm port's parity.
   StopBits              - Select the comm port's stop bits.

 Print Configuration Properties:
   PrinterType           - Select the appropriate printer type
   PrintAutoFormFeed     - ENABLE/DISABLE Automatic form feeding after
                           print is complete.
   PrinterStatusCheck    - ENABLE/DISABLE Printer status check prior to
                           print is started.
                           (Valid for the Verifone Printer 250)

 Runtime Returned integer properties:
   Ret_PrintPercent      - Integer which updates the percentage of
                           printing complete. (useful for updating gauges)
   Ret_PrintStatus       - Integer which reports print status during and
                           after print has completed or failed.

 Runtime Returned text properties:
   Ret_ErrorText         - Text which details the error which occured

 Non Standard Events:
   PrintDone             - Print complete without errors
   PrinterError          - Error occurred during printing
   PrintPercentChange    - Occurs when the percentage of the printed data has
                           changed. (Useful for updating gauges)
   PrintAborted          - Occurs when after a print job is aborted


------------------------------------------------------------------------------
For Email access send inquires or comments to
 Compuserve ID: 70274,3673

Released version will be available in the near future.
------------------------------------------------------------------------------