FiscalPrinter.PrintRecTaxId Method (POS for .NET v1.14 SDK Documentation)
3/2/2014
Prints the customer's tax identification on the station defined by the FiscalReceiptStation property.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub PrintRecTaxId ( _
taxId As String _
)
public abstract void PrintRecTaxId (
string taxId
)
public:
virtual void PrintRecTaxId (
String^ taxId
) abstract
public abstract void PrintRecTaxId (
String taxId
)
public abstract function PrintRecTaxId (
taxId : String
)
Parameters
- taxId
Customer identification with identification characters and tax number.
Remarks
This method is only supported when the fiscal printer is in the Fiscal Receipt Ending state.
This method is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.
PrintRecTaxId may cause a PosControlException to be thrown with one of the following values:
Value |
Description |
Busy |
Cannot perform while output is in progress. (Can be returned only if AsyncMode is false.) |
Illegal |
The fiscal printer does not support printing tax identifications. |
ExtendedErrorWrongState |
The printer is not in the FiscalReceipt state. |
ExtendedErrorCoverOpen |
The printer cover is open. (Can be returned only if AsyncMode is false.) |
ExtendedErrorJournalEmpty |
The journal station is out of paper. (Can be returned only if AsyncMode is false.) |
ExtendedErrorReceiptEmpty |
The receipt station is out of paper. (Can be returned only if AsyncMode is false.) |
ExtendedErrorSlipEmpty |
The slip station was specified, but a form is not inserted. (Applies only if AsyncMode is false.) |
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
FiscalReceiptStation