FiscalPrinter.SetPosId Method
2/27/2008
Sets the POS and cashier identifiers.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub SetPosId ( _
posId As String, _
cashierId As String _
)
public abstract void SetPosId (
string posId,
string cashierId
)
public:
virtual void SetPosId (
String^ posId,
String^ cashierId
) abstract
public abstract void SetPosId (
String posId,
String cashierId
)
public abstract function SetPosId (
posId : String,
cashierId : String
)
Parameters
- posId
Identifier for the POS system.
- cashierId
Identifier of the cashier.
Remarks
These values are printed when each fiscal receipt is closed.
SetPosId is supported only if CapSetPosId is true. SetPosId can be called only while DayOpened is false.
SetPosId may throw a PosControlException with the following ErrorCode:
Value |
Description |
Illegal |
One of the following errors occurred:
|
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
CapSetPosId
DayOpened