Printer Status On Apd; Opos - Epson TM-P60 Technical Reference Manual

With peeler
Hide thumbs Also See for TM-P60:
Table of Contents

Advertisement

❏ When an error status is sent to the host PC, the host PC can display an error message or
solution message for operator (with beeping).
❏ When "Paper end" status is sent to the host PC, the host PC can display a message for the
operator to replace roll paper (with beeping).

4.4.1 Printer Status on APD

When you use APD to get printer's status, you have to install "Status API" and use it. Refer to
"Status API User's Manual" and the sample program of Status API for details.

4.4.2 OPOS

Note
This section describes the summary of status handling. Refer to "OPOS ADK Application Development
Guide General Functions" for details.
4.4.2.1 Checking the printer state
The state of the printer can be checked through properties supported by the printer. For
example, if the user wants to check if the printer cover is open, the CoverOpen property can be
used.
If OPOSPOSPrinter1.CoverOpen = True Then
MsgBox "Cover is open!"
End If
This and many other events can also be checked by firing a StatusUpdateEvent.
[Event management]
Private Sub OPOSPOSPrinter1_StatusUpdateEvent(ByVal Data As Long)
If Data = PTR_SUE_COVER_OPEN Then
MsgBox "Cover is open!"
End If
End Sub
StatusUpdateEvent can return information on the following items.
STATUS INFORMATION
PTR_SUE_COVER_OPEN
PTR_SUE_COVER_OK
PTR_SUE_REC_EMPTY
PTR_SUE_REC_PAPEROK
PTR_SUE_IDLE
Rev. B
TM-P60 with Peeler Technical Reference Guide
Cover is open.
Cover is closed.
Receipt paper is out.
Receipt paper is OK.
Printer State is idle.
Application Development Information 4-5

Advertisement

Table of Contents
loading

Table of Contents