Share via


PosPrinterBase.PrintImmediateImpl Method

Definition

Overloads

PrintImmediateImpl(PrinterStation, String)
Obsolete.

Method implemented by service objects to process PrintImmediate requests.

PrintImmediateImpl(PrinterStation, String, PrinterState)

This method is called from PrintBitmap and can process either asynchronous or synchronous events without specialized code.

PrintImmediateImpl(PrinterStation, String)

Caution

Please use PrintImmediateImpl(Microsoft.PointOfService.PrinterStation, string, Microsoft.PointOfService.PrinterState) instead.

Method implemented by service objects to process PrintImmediate requests.

[System.Obsolete("Please use PrintImmediateImpl(Microsoft.PointOfService.PrinterStation, string, Microsoft.PointOfService.PrinterState) instead.", true)]
protected virtual Microsoft.PointOfService.BaseServiceObjects.PrintResults PrintImmediateImpl (Microsoft.PointOfService.PrinterStation station, string data);
[<System.Obsolete("Please use PrintImmediateImpl(Microsoft.PointOfService.PrinterStation, string, Microsoft.PointOfService.PrinterState) instead.", true)>]
abstract member PrintImmediateImpl : Microsoft.PointOfService.PrinterStation * string -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
override this.PrintImmediateImpl : Microsoft.PointOfService.PrinterStation * string -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
Protected Overridable Function PrintImmediateImpl (station As PrinterStation, data As String) As PrintResults

Parameters

station
PrinterStation

The PrinterStation to which the data is to be written.

data
String

The data to be written to the printer.

Returns

Attributes

Applies to

PrintImmediateImpl(PrinterStation, String, PrinterState)

This method is called from PrintBitmap and can process either asynchronous or synchronous events without specialized code.

protected virtual Microsoft.PointOfService.BaseServiceObjects.PrintResults PrintImmediateImpl (Microsoft.PointOfService.PrinterStation station, string data, Microsoft.PointOfService.BaseServiceObjects.PrinterState state);
abstract member PrintImmediateImpl : Microsoft.PointOfService.PrinterStation * string * Microsoft.PointOfService.BaseServiceObjects.PrinterState -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
override this.PrintImmediateImpl : Microsoft.PointOfService.PrinterStation * string * Microsoft.PointOfService.BaseServiceObjects.PrinterState -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
Protected Overridable Function PrintImmediateImpl (station As PrinterStation, data As String, state As PrinterState) As PrintResults

Parameters

station
PrinterStation

The printer station to be used. Possible values are defined by the PrinterStation enumeration. Valid values are: PrinterStation.Journal, PrinterStation.Receipt, or PrinterStation.Slip.

data
String

The characters to be printed. May consist of printable characters, escape sequences, carriage returns (13 decimal), and new line / line feed (10 decimal).

state
PrinterState

The state of the printer at the time of the original call to PrintImmediate.

Returns

Applies to