Share via


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

3/2/2014

Prints a line of fiscal text to the slip station.

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

Syntax

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

Parameters

  • documentLine
    String to be printed on the fiscal slip.

Remarks

PrintFiscalDocumentLine is supported only if CapSlpFiscalDocument is true.

PrintFiscalDocumentLine is performed synchronously if AsyncMode is false, and asynchronously if AsyncMode is true.

PrintFiscalDocumentLine may cause a PosControlException to be thrown with one of the following ErrorCodes:

Value

Description

Busy

Cannot perform while output is in progress. (Can be returned only if AsyncMode is false.)

Illegal

The printer does not support fiscal documents (see the CapSlpFiscalDocument property).

ExtendedErrorWrongState:

The printer is not in the FiscalDocument state.

ExtendedErrorCoverOpen:

The printer cover is open.(Can be returned only if AsyncMode is false.)

ExtendedErrorSlipEmpty:

The slip station was specified, but a form is not inserted.(Can be returned 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
FiscalPrinter.BeginFiscalDocument Method
FiscalPrinter.EndFiscalDocument Method