共用方式為


PosPrinterBase.PrintBitmapImpl Method

Definition

Overloads

PrintBitmapImpl(PrinterStation, String, Int32, Int32)

Method implemented by service objects to process PrintBitmap requests.

PrintBitmapImpl(PrinterStation, String, Int32, Int32, PrinterState)

Method implemented by service objects to process PrintBitmap requests.

PrintBitmapImpl(PrinterStation, String, Int32, Int32)

Method implemented by service objects to process PrintBitmap requests.

protected virtual Microsoft.PointOfService.BaseServiceObjects.PrintResults PrintBitmapImpl (Microsoft.PointOfService.PrinterStation station, string fileName, int width, int alignment);
abstract member PrintBitmapImpl : Microsoft.PointOfService.PrinterStation * string * int * int -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
override this.PrintBitmapImpl : Microsoft.PointOfService.PrinterStation * string * int * int -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
Protected Overridable Function PrintBitmapImpl (station As PrinterStation, fileName As String, width As Integer, alignment As Integer) 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.

fileName
String

Name of Windows bitmap file. The file must be in uncompressed format.

width
Int32

Width of the bitmap.

alignment
Int32

Placement of the bitmap.

Returns

Applies to

PrintBitmapImpl(PrinterStation, String, Int32, Int32, PrinterState)

Method implemented by service objects to process PrintBitmap requests.

protected virtual Microsoft.PointOfService.BaseServiceObjects.PrintResults PrintBitmapImpl (Microsoft.PointOfService.PrinterStation station, string fileName, int width, int alignment, Microsoft.PointOfService.BaseServiceObjects.PrinterState state);
abstract member PrintBitmapImpl : Microsoft.PointOfService.PrinterStation * string * int * int * Microsoft.PointOfService.BaseServiceObjects.PrinterState -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
override this.PrintBitmapImpl : Microsoft.PointOfService.PrinterStation * string * int * int * Microsoft.PointOfService.BaseServiceObjects.PrinterState -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
Protected Overridable Function PrintBitmapImpl (station As PrinterStation, fileName As String, width As Integer, alignment As Integer, 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.Receipt or PrinterStation.Slip.

fileName
String

Name of Windows bitmap file. The file must be in uncompressed format.

width
Int32

Printed width of the bitmap to be performed. See Remarks below.

alignment
Int32

Placement of the bitmap. For possible values, see Remarks below.

state
PrinterState

The state of the printer at the time of the call to PrintBitmap.

Returns

Applies to