共用方式為


PosPrinterBase.PrintTwoNormalImpl Method

Definition

Method implemented by service objects to process PrintTwoNormal requests.

protected virtual Microsoft.PointOfService.BaseServiceObjects.PrintResults PrintTwoNormalImpl (Microsoft.PointOfService.PrinterStation stations, Microsoft.PointOfService.BaseServiceObjects.PrinterState printerState, string data1, string data2);
abstract member PrintTwoNormalImpl : Microsoft.PointOfService.PrinterStation * Microsoft.PointOfService.BaseServiceObjects.PrinterState * string * string -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
override this.PrintTwoNormalImpl : Microsoft.PointOfService.PrinterStation * Microsoft.PointOfService.BaseServiceObjects.PrinterState * string * string -> Microsoft.PointOfService.BaseServiceObjects.PrintResults
Protected Overridable Function PrintTwoNormalImpl (stations As PrinterStation, printerState As PrinterState, data1 As String, data2 As String) As PrintResults

Parameters

stations
PrinterStation

The printer stations to be used. Possible values are defined by the PrinterStation enumeration. Valid values are: PrinterStation.TwoReceiptJournal, PrinterStation.TwoSlipJournal, or PrinterStation.TwoSlipReceipt.

printerState
PrinterState

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

data1
String

The characters to be printed on the first station. May consist of printable characters and escape sequences as listed in the PosPrinter topic. The characters must all fit on one printed line, so that the printer may attempt to print on both stations simultaneously.

data2
String

The characters to be printed on the second station. (Restrictions are the same as data1.) If this string is the empty string (“”), then print the same data as data1. On some printers, using this format may give additional increased print performance.

Returns

Applies to