FiscalPrinter.PrintReport Method (DateTime, DateTime)
Prints a report of the fiscal EPROM contents on the receipt that occurred between two dates.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim startDate As DateTime
Dim endDate As DateTime
Dim fiscalPrinter1 As FiscalPrinter
fiscalPrinter1.PrintReport(startDate, endDate)
Syntax
'Declaration
Overloads Public MustOverride Sub PrintReport( _
ByVal startDate As DateTime, _
ByVal endDate As DateTime _
)
public abstract void PrintReport(
DateTime startDate,
DateTime endDate
);
public: abstract Void PrintReport(
DateTime^ startDate,
DateTime^ endDate
);
public abstract void PrintReport(
DateTime startDate,
DateTime endDate
);
public abstract function PrintReport(
startDate : DateTime,
endDate : DateTime
) : Void;
Parameters
- startDate
Start date.
- endDate
End date.
Remarks
PrintReport is always performed synchronously.
PrintReport returns void if successful, and can throw the following exceptions:
Value |
Description |
Busy |
Cannot perform while output is in progress. (Can be returned only if AsyncMode is FALSE.) |
Illegal |
|
ExtendedErrorWrongState |
The Fiscal 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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace