Compartilhar via


PosPrinterBase.PrintBarCodeImpl Method

Definition

Overloads

PrintBarCodeImpl(PrinterStation, String, BarCodeSymbology, Int32, Int32, Int32, BarCodeTextPosition, PrinterState)

Implemented by service objects to process PrintBarCode requests.

PrintBarCodeImpl(PrinterStation, String, BarCodeSymbology, Int32, Int32, Int32, BarCodeTextPosition)

Method implemented by the service object to process PrintBarCode requests.

PrintBarCodeImpl(PrinterStation, String, BarCodeSymbology, Int32, Int32, Int32, BarCodeTextPosition, PrinterState)

Implemented by service objects to process PrintBarCode requests.

protected virtual Microsoft.PointOfService.BaseServiceObjects.PrintResults PrintBarCodeImpl(Microsoft.PointOfService.PrinterStation station, string data, Microsoft.PointOfService.BarCodeSymbology symbology, int height, int width, int alignment, Microsoft.PointOfService.BarCodeTextPosition textPosition, Microsoft.PointOfService.BaseServiceObjects.PrinterState state);
abstract member PrintBarCodeImpl : Microsoft.PointOfService.PrinterStation * string * Microsoft.PointOfService.BarCodeSymbology * int * int * int * Microsoft.PointOfService.BarCodeTextPosition * Microsoft.PointOfService.BaseServiceObjects.PrinterState -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
override this.PrintBarCodeImpl : Microsoft.PointOfService.PrinterStation * string * Microsoft.PointOfService.BarCodeSymbology * int * int * int * Microsoft.PointOfService.BarCodeTextPosition * Microsoft.PointOfService.BaseServiceObjects.PrinterState -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
Protected Overridable Function PrintBarCodeImpl (station As PrinterStation, data As String, symbology As BarCodeSymbology, height As Integer, width As Integer, alignment As Integer, textPosition As BarCodeTextPosition, state As PrinterState) As PrintResults

Parameters

station
PrinterStation
data
String
symbology
BarCodeSymbology

Bar code symbol type to use.

height
Int32
width
Int32
alignment
Int32

Placement of the bar code.

textPosition
BarCodeTextPosition

Placement of the readable character string. Possible values are defined by the BarCodeTextPosition enumeration.

state
PrinterState

Returns

Applies to

PrintBarCodeImpl(PrinterStation, String, BarCodeSymbology, Int32, Int32, Int32, BarCodeTextPosition)

Method implemented by the service object to process PrintBarCode requests.

protected virtual Microsoft.PointOfService.BaseServiceObjects.PrintResults PrintBarCodeImpl(Microsoft.PointOfService.PrinterStation station, string data, Microsoft.PointOfService.BarCodeSymbology symbology, int height, int width, int alignment, Microsoft.PointOfService.BarCodeTextPosition textPosition);
abstract member PrintBarCodeImpl : Microsoft.PointOfService.PrinterStation * string * Microsoft.PointOfService.BarCodeSymbology * int * int * int * Microsoft.PointOfService.BarCodeTextPosition -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
override this.PrintBarCodeImpl : Microsoft.PointOfService.PrinterStation * string * Microsoft.PointOfService.BarCodeSymbology * int * int * int * Microsoft.PointOfService.BarCodeTextPosition -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
Protected Overridable Function PrintBarCodeImpl (station As PrinterStation, data As String, symbology As BarCodeSymbology, height As Integer, width As Integer, alignment As Integer, textPosition As BarCodeTextPosition) As PrintResults

Parameters

station
PrinterStation

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

data
String

The bar code data to be printed.

symbology
BarCodeSymbology

Bar code symbol type to use. Possible values are defined by the BarCodeSymbology enumeration.

height
Int32

Bar code height. Expressed in the unit of measure indicated by the MapMode property

width
Int32

Bar code width.

alignment
Int32

Placement of the bar code..

textPosition
BarCodeTextPosition

Placement of the readable character string. Possible values are defined by the BarCodeTextPosition enumeration.

Returns

Applies to