Share via


FiscalPrinter.PrintXReport Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Prints a report of all the daily fiscal activities on the receipt.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub PrintXReport
public abstract void PrintXReport ()
public:
virtual void PrintXReport () abstract
public abstract void PrintXReport ()
public abstract function PrintXReport ()

Remarks

No data is written to the fiscal EPROM as a result of this method invocation.

PrintXReport is supported only if CapXReport is true.

PrintXReport is always performed synchronously.

PrintXReport may cause a PosControlException to be thrown with one of the following values:

Value

Description

Busy

Cannot perform while output is in progress.

Illegal

The printer does not support X reports (see the CapXReport 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