Select your printer model

Parameters are refined by the selected printer.

addRecovery method


Add a command to recover the printer from an error condition to the command buffer.

When a recoverable error occurs with the printer, executing the addRecovery method recovers the printer from the error and makes it ready for printing.

The execution result of the addRecovery method is same as that of recover method. It is recommended to use the recover method to recover the printer from an error condition.

Syntax

 
addRecovery();

Return value

Return value

Object type

Printer object

Printer

Exception

Exception

Object type

Parameter " ... " is invalid

Error

Supplementary explanation

  • Enable the forced transmission mode (force property) when using this method.
  • After recovering from a recoverable error, the buffer of the printer is reset.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for JavaScript

Jump to the top