Share via


FiscalPrinter.PrintPeriodicTotalsReport Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Prints a report of totals for a range of dates on the receipt.

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

Syntax

'Declaration
Public MustOverride Sub PrintPeriodicTotalsReport ( _
    startingDate As DateTime, _
    endingDate As DateTime _
)
public abstract void PrintPeriodicTotalsReport (
    DateTime startingDate,
    DateTime endingDate
)
public:
virtual void PrintPeriodicTotalsReport (
    DateTime startingDate, 
    DateTime endingDate
) abstract
public abstract void PrintPeriodicTotalsReport (
    DateTime startingDate, 
    DateTime endingDate
)
public abstract function PrintPeriodicTotalsReport (
    startingDate : DateTime, 
    endingDate : DateTime
)

Parameters

  • startingDate
    Starting date of report to print.
  • endingDate
    Ending date of report to print.

Remarks

PrintPeriodicTotalsReport is always performed synchronously.

PrintPeriodicTotalsReport may cause a PosControlException to be thrown with the following ErrorCode:

Value

Description

Busy

Cannot perform while output is in progress

ExtendedErrorWrongState:

The printer’s current state does not allow for this state transition.

ExtendedErrorJournalEmpty:

The journal station is out of paper.

ExtendedErrorReceiptEmpty:

The receipt station is out of paper.

ExtendedErrorBadDate:

One of the date parameters is invalid.

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