FiscalPrinter.PrintReport Method (Int32)
Prints a report of the fiscal EPROM contents on the receipt that occurred starting at the specified point.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim startNumber As Integer
Dim fiscalPrinter1 As FiscalPrinter
fiscalPrinter1.PrintReport(startNumber)
Syntax
'Declaration
Overloads Public MustOverride Sub PrintReport( _
ByVal startNumber As Integer _
)
public abstract void PrintReport(
int startNumber
);
public: abstract Void PrintReport(
Int32 startNumber
);
public abstract void PrintReport(
int startNumber
);
public abstract function PrintReport(
startNumber : int
) : Void;
Parameters
- startNumber
Integer identifying the starting record in fiscal printer memory from which to begin printing.
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