FiscalPrinter.GetData Method (POS for .NET v1.14 SDK Documentation)
3/2/2014
Retrieves data and counters from the printer’s fiscal module.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Function GetData ( _
dataItem As FiscalData, _
optArgs As Integer _
) As FiscalDataItem
public abstract FiscalDataItem GetData (
FiscalData dataItem,
int optArgs
)
public:
virtual FiscalDataItem GetData (
FiscalData dataItem,
int optArgs
) abstract
public abstract FiscalDataItem GetData (
FiscalData dataItem,
int optArgs
)
public abstract function GetData (
dataItem : FiscalData,
optArgs : int
) : FiscalDataItem
Parameters
- dataItem
The specific FiscalData item to retrieve.
- optArgs
For some dataItem types this additional argument may be needed. Contact the Service Object vendor's documentation for more information.
Return Value
A FiscalDataItem that contains the information retrieved.
Remarks
If CapMultiContractor is true, line counters depend on the contractor defined by the ContractorId property.
GetData may cause a PosControlException to be thrown with one of the following ErrorCodes:
Value |
Description |
Busy |
Cannot perform while output is in progress. |
Illegal |
The dataItem specified 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
FiscalData Enumeration
FiscalDataItem Structure