PosPrinter.ValidateData(PrinterStation, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a data sequence, possibly including one or more escape sequences, is valid for the specified station, before it calls the PrintImmediate, PrintNormal, or PrintTwoNormal methods.
public abstract void ValidateData (Microsoft.PointOfService.PrinterStation station, string data);
abstract member ValidateData : Microsoft.PointOfService.PrinterStation * string -> unit
Public MustOverride Sub ValidateData (station As PrinterStation, data As String)
Parameters
- station
- PrinterStation
The printer station to be used. Possible values are defined by the PrinterStation enumeration. Valid values are as follows: PrinterStation.Journal, PrinterStation.Receipt, or PrinterStation.Slip.
- data
- String
The data to be validated. May include printable data and escape sequences. See Remarks in this topic.