Epson TM-J2000 Specifications Page 17

  • Download
  • Add to my manuals
  • Print
  • Page
    / 119
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 16
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
14
SHEET
13
3.5. BiOpenMonPrinter
[Function]
This opens the printer for which the status is being monitored.
[Format]
int BiOpenMonPrinter (int nType, LPSTR pName):
[Argument]
int nType
This specifies the type of name specified in pName. One of the following two types is specified.
TYPE_PORT The port name is specified in pName.
TYPE_PRINTER The printer name is specified in pName.
LPSTR pName
This specifies the printer that is opened. The specification is as follows, depending on the nType value.
If the nType is TYPE_PORT, it specifies the port name to which the printer is connected.
(Example: “COM1”, “COM2”, “LPT1”, ···)
If the nType is TYPE_PRINTER, the printer name is specified.
(Example: “EPSON TM-H6000 Receipt,” ···)
[Return Value]
If opening of the specified printer was successful, the handle value (greater than zero) by which that printer is identified is
returned. If there is an error, the following error codes (less than zero) are returned.
ERR_TYPE nType parameter error
ERR_OPENED The specified printer has already been opened.
ERR_NO_PRINTER The specified printer driver does not exist.
ERR_NO_TARGET An unsupported printer was specified.
(The printer’s power is not On or the cable connections are faulty, etc.)
ERR_NO_MEMORY Memory is insufficient.
ERR_PARAM Parameter error.
[Explanation]
Before using an API function other than this function, it is necessary that this function be executed first.
The number of the printer that is able to open at a time is to 8 units.
Use of this function when the printer is in the Offline state, and the functions that can be used up to the time when the
Online state is restored are limited.
[Note]
The handle value obtained is valid only in the same thread.
[Supported printer]
TM-T88II(R), TM-T88III, TM-T90, TM-L90, TM-H5000II, TM-U590, TM-U675, TM-H6000, TM-H6000II, TM-J8000,
TM-J2000/2100, TM-J7000/7100, M-H3000(R), TM-U230, TM-U210, TM-U325, TM-U950, TM-U295, TM-L60II
Page view 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 118 119

Comments to this Manuals

No comments