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

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

Advertisement

Roll Paper cover status
FEED button status
Error status
The statuses are useful for the following situations.
❏ 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
Rev. D
Roll paper cover is open or closed
Paper feed button is pressed or not
Various error information (Off-line / On-line), (detail of the error;
Mechanical error, autocutter error, auto-recovery error,
unrecoverable error)
Cover is open.
Application Development Information 4-5
TM-P60 Technical Reference Guide

Advertisement

Table of Contents
loading

Table of Contents