FiscalPrinter.DuplicateReceipt Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets a Boolean value that indicates whether all the printing commands inside a fiscal receipt are buffered and can be printed again with the PrintDuplicateReceipt method.

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

Syntax

'Declaration
Public MustOverride Property DuplicateReceipt As Boolean
public abstract bool DuplicateReceipt { get; set; }
public:
virtual property bool DuplicateReceipt {
    bool get () abstract;
    void set (bool value) abstract;
}
/** @property */
public abstract boolean get_DuplicateReceipt ()

/** @property */
public abstract void set_DuplicateReceipt (boolean value)
public abstract function get DuplicateReceipt () : boolean

public abstract function set DuplicateReceipt (value : boolean)

Remarks

If true, all the printing commands inside a fiscal receipt are buffered and can be printed again with the PrintDuplicateReceipt method; otherwise, false.

DuplicateReceipt is valid only if CapDuplicateReceipt is true.

DuplicateReceipt is set and kept current by the service object while the device is enabled.

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

Value

Description

Illegal

Setting this property is not valid for this service object (see CapDuplicateReceipt).

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