Share via


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

3/2/2014

Prints a report of the fiscal EPROM contents on the receipt that occurred between two end points.

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

Syntax

'Declaration
Public MustOverride Sub PrintReport ( _
    reportType As ReportType, _
    startNum As String, _
    endNum As String _
)
public abstract void PrintReport (
    ReportType reportType,
    string startNum,
    string endNum
)
public:
virtual void PrintReport (
    ReportType reportType, 
    String^ startNum, 
    String^ endNum
) abstract
public abstract void PrintReport (
    ReportType reportType, 
    String startNum, 
    String endNum
)
public abstract function PrintReport (
    reportType : ReportType, 
    startNum : String, 
    endNum : String
)

Parameters

  • reportType
    The type of report to print. This will be one of the values defined by ReportType.
  • startNum
    ASCII string identifying the starting record in Fiscal Printer memory from which to begin printing.
  • endNum
    ASCII string identifying the final record in Fiscal Printer memory at which printing is to end.

Remarks

This method is always performed synchronously.

The meaning of the startNum and endNum parameters depends upon the type of report printed.

Report Type

Meaning

Date

startNum and endNum represent dates in the format "ddmmyyyyhhmmm", where:

ddday of the month (01-31)mmmonth (01-12)yyyyyear (1997-…)hhhour (00-23)mmminutes (00-59)

EndOfDayOrdinal

startNum and endNum represent report numbers.

Ordinal

startNum and endNum represent fiscal memory record numbers.

A report will be printed that represents the period between the two numbers given.

For the EndOfDayOrdinal and Ordinal report types, If endNum is zero, a report will be generated based on startNum only.

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
ReportType