Share via


FiscalPrinter.BeginFiscalReceipt Method

2/27/2008

Starts fiscal printing to the receipt station.

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

Syntax

'Declaration
Public MustOverride Sub BeginFiscalReceipt ( _
    printHeader As Boolean _
)
public abstract void BeginFiscalReceipt (
    bool printHeader
)
public:
virtual void BeginFiscalReceipt (
    bool printHeader
) abstract
public abstract void BeginFiscalReceipt (
    boolean printHeader
)
public abstract function BeginFiscalReceipt (
    printHeader : boolean
)

Parameters

  • printHeader
    Indicates whether to print the header lines currently.

Remarks

If printHeader and the CapIndependentHeader property are both true, all defined header lines are printed before control is returned. Otherwise, header lines are printed when the first item is sold.

If BeginFiscalReceipt is successful, the PrinterState property is changed to FiscalReceipt.

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

Value

Description

Busy

Cannot perform while output is in progress.

ExtendedErrorWrongState:

The printer’s current state does not allow this state transition.

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
EndFiscalReceipt
CapIndependentHeader