Share via


FiscalPrinter.SetStoreFiscalId Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Sets the store fiscal ID.

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

Syntax

'Declaration
Public MustOverride Sub SetStoreFiscalId ( _
    id As String _
)
public abstract void SetStoreFiscalId (
    string id
)
public:
virtual void SetStoreFiscalId (
    String^ id
) abstract
public abstract void SetStoreFiscalId (
    String id
)
public abstract function SetStoreFiscalId (
    id : String
)

Parameters

  • id
    Fiscal identifier.

Remarks

This value is retained by the printer even after power failures. This ID is automatically printed by the printer after the fiscal receipt header lines.

SetStoreFiscalId is supported only if CapSetStoreFiscalID is true. SetStoreFiscalId can be called only while DayOpened is false.

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

Value

Description

Illegal

One of the following errors occurred:

  • The printer does not support setting the store fiscal identifier (see the CapSetStoreFiscalId property).

  • The printer has already begun the fiscal day (see the DayOpened property).

  • The id parameter is invalid.

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
CapSetStoreFiscalId
DayOpened