EasyManuals Logo
Home>Epson>Printer>U220B - TM Two-color Dot-matrix Printer

Epson U220B - TM Two-color Dot-matrix Printer Technical Reference Guide

Epson U220B - TM Two-color Dot-matrix Printer
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #96 background imageLoading...
Page #96 background image
5-2 Application Development Information Rev. D
5.1.2 OPOS
Note
This section describes the summary of status handling. Refer to “OPOS ADK Application Development
Guide General Functions” for details.
5.1.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.
This and many other events can also be checked by firing a StatusUpdateEvent.
StatusUpdateEvent can return information on the following items.
STATUS INFORMATION
When the FlagWhenIdle property is set to TRUE, PTR_SUE_IDLE is sent to inform the
application that the printer is idle. Other than when data is being sent, the printer is in an idle
state, so if FlagWhenIdle is TRUE, an event will be fired when printing is finished. After the
event is fired, FlagWhenIdle will be set to FALSE. By using this value, the information below can
be found out.
*Finding out when multiple asynchronous print jobs have finished printing. When multiple
asynchronous print jobs have been sent to the printer, it is possible to know when they have
finished printing. After setting the AsyncMode property to TRUE and running the PrintNormal
PTR_SUE_COVER_OPEN Cover is open.
PTR_SUE_COVER_OK Cover is closed.
PTR_SUE_REC_EMPTY Receipt paper is out.
PTR_SUE_REC_NEAREMPTY Receipt paper is near the end. (The near end detector is
factory option. When the printer does not have one, the status
does not occur.)
PTR_SUE_REC_PAPEROK Receipt paper is OK.
PTR_SUE_IDLE Printer State is idle.
If OPOSPOSPrinter1.CoverOpen = True Then
MsgBox ìCover is open!î
End If
[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

Table of Contents

Other manuals for Epson U220B - TM Two-color Dot-matrix Printer

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Epson U220B - TM Two-color Dot-matrix Printer and is the answer not in the manual?

Epson U220B - TM Two-color Dot-matrix Printer Specifications

General IconGeneral
BrandEpson
ModelU220B - TM Two-color Dot-matrix Printer
CategoryPrinter
LanguageEnglish

Related product manuals