Citizen Systems 1.8 manual OutPutID Property/ OutputCompleteEvent Event

Models: 1.8

1 61
Download 61 pages 21.93 Kb
Page 47
Image 47
OutPutID Property/ OutputCompleteEvent Event

CITIZEN OPOS DRIVER 1.8 Application Development Guide

OutPutID Property/ OutputCompleteEvent Event

Identifier of asynchronous output started just before is retained and incremented by +1 with the following output.

<Visual Basic installation example: Output subroutine>

Dim i as Integer

Dim Result As Long

Dim PrintStation As Long

For i = 0 to 10

DoEvents

Result = OPOSPrinter.PrintNormal(PrintStation, "TEST PRINT" + Str(i) + Chr$(&HD) + Chr$(&HA)) Next i

<Visual Basic installation example: Event acquisition subroutine>

Private Sub OPOSPrinter_OutputCompleteEvent(ByVal OutputID As Long)

Debug.Print "OutputCompleteEvent -> " + Str(OutputID)

End Sub

<Output result>

OutputCompleteEvent -> 1

OutputCompleteEvent -> 2

OutputCompleteEvent -> 3

OutputCompleteEvent -> 4

OutputCompleteEvent -> 5

OutputCompleteEvent -> 6

OutputCompleteEvent -> 7

OutputCompleteEvent -> 8

OutputCompleteEvent -> 9

OutputCompleteEvent -> 10

OutputCompleteEvent -> 11

CapRecEmptySensor/ RecEmpty Property

When "Active Paper Sensor” is set to “PaperNearEnd” (Registry: "PaperSensor"="001"), Paper Out sensor becomes non-active state. Accordingly, the value of the CapRecEmptySensor property is set to “FALSE” and the value of the RecEmpty property remains in the “FALSE “state even in the Paper End condition. Here, StatusUpdateEvents (PTR_SUE_REC_EMPTY) is not reported.

(Configuration Utility)

47

Page 47
Image 47
Citizen Systems 1.8 manual OutPutID Property/ OutputCompleteEvent Event, CapRecEmptySensor/ RecEmpty Property