FiscalPrinter.PrintPowerLossReport Method
2/27/2008
Prints on the receipt a report of a power failure that resulted in a loss of data that is stored in the CMOS of the printer.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub PrintPowerLossReport
public abstract void PrintPowerLossReport ()
public:
virtual void PrintPowerLossReport () abstract
public abstract void PrintPowerLossReport ()
public abstract function PrintPowerLossReport ()
Remarks
PrintPowerLossReport is supported only if CapPowerLossReport is true.
PrintPowerLossReport is always performed synchronously.
PrintPowerLossReport may cause a PosControlException to be thrown with one of the following ErrorCodes:
Value |
Description |
Busy |
Cannot perform while output is in progress. |
Illegal |
The printer does not support power loss reports (see the CapPowerLossReport property). |
ExtendedErrorWrongState |
The printer's current state does not allow this state transition. |
ExtendedErrorCoverOpen |
The printer cover is open. |
ExtendedErrorJournalEmpty |
The journal station is out of paper. |
ExtendedErrorReceiptEmpty |
The receipt station is out of paper. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace