FiscalPrinter.BeginFixedOutput Method (POS for .NET v1.14 SDK Documentation)
3/2/2014
Starts nonfiscal fixed text printing on a printer station.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub BeginFixedOutput ( _
station As FiscalReceiptStation, _
documentType As Integer _
)
public abstract void BeginFixedOutput (
FiscalReceiptStation station,
int documentType
)
public:
virtual void BeginFixedOutput (
FiscalReceiptStation station,
int documentType
) abstract
public abstract void BeginFixedOutput (
FiscalReceiptStation station,
int documentType
)
public abstract function BeginFixedOutput (
station : FiscalReceiptStation,
documentType : int
)
Parameters
- station
The printer station to be used. Can be either Receipt or Slip.
- documentType
Identifier of a document stored in the printer.
Remarks
BeginFixedOutput is supported only if CapFixedOutput is true.
If the station parameter is Slip, the slip paper must be inserted into the slip station by using Begin/EndInsertion before it calls BeginFixedOutput.
Each fixed output is printed by using the PrintFixedOutput method. If BeginFixedOutput is successful, the PrinterState property is changed to FixedOutput. The EndFixedOutput method ends fixed output modality and resets PrinterState.
BeginFixedOutput may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Description |
Busy |
Cannot perform while output is in progress. |
Illegal |
One of the following errors occurred:
|
ExtendedErrorWrongState |
The printer’s current state does not allow this state transition. |
ExtendedErrorSlipEmpty |
There is no paper in the slip station. |
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
EndFixedOutput
PrintFixedOutput