Cross: Printing with STAR receipt printer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony

    #1

    Cross: Printing with STAR receipt printer

    I am printing tickets with star tsp700 (743c) on the LPT1 with VB.NET
    program (I olso use C#). I use OCX control of STAR company. If I turn off
    printer or unplug cable, program for printing is blocked and it is ok (he
    will not mark this ticket as printed because program is on hold). After
    turning on the printer, program continue printing and at the end, he write
    to DB that transaction.

    Problem is when printer is on, but paper is out. Than printer gets data to
    buffer, buffer is small and data is gone (First In First Out). When printer
    is on and paper is out, my program recognize it like everithing is ok.
    Program is not blocked, data is "sent to printer", transaction is written to
    DB... How can I recognize paper out with Star POS printer component (OCX). I
    am trying to use NearEnd and similar properties but I can not get info about
    paper out. Does somebody know how to fix this problem? Thanks!


Working...