FiscalPrinter.PrintDuplicateReceipt Method (POS for .NET v1.12 SDK Documentation)
2/27/2008
Prints a duplicate of a buffered transaction.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub PrintDuplicateReceipt
public abstract void PrintDuplicateReceipt ()
public:
virtual void PrintDuplicateReceipt () abstract
public abstract void PrintDuplicateReceipt ()
public abstract function PrintDuplicateReceipt ()
Remarks
PrintDuplicateReceipt is supported only if CapDuplicateReceipt is true.
PrintDuplicateReceipt succeeds if both the CapDuplicateReceipt and DuplicateReceipt properties are true.
PrintDuplicateReceipt resets the DuplicateReceipt property to false.
PrintDuplicateReceipt may cause a PosControlException to be thrown with one of the following ErrorCodes:
Value |
Description |
Busy |
Cannot perform while output is in progress. (Can be returned only if AsyncMode is false.) |
Illegal |
One of the following errors occurred:
|
ExtendedErrorWrongState |
The printer is not in the Monitor state. |
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