IReceiptOrSlipJob IReceiptOrSlipJob IReceiptOrSlipJob IReceiptOrSlipJob IReceiptOrSlipJob Interface

Definition

Represents actions common to jobs for receipt and slip printer stations.

public : interface IReceiptOrSlipJob : IPosPrinterJob
struct winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob : IPosPrinterJob
public interface IReceiptOrSlipJob : IPosPrinterJob
Public Interface IReceiptOrSlipJob Implements IPosPrinterJob
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Inheritance
IReceiptOrSlipJobIReceiptOrSlipJobIReceiptOrSlipJobIReceiptOrSlipJobIReceiptOrSlipJob
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

DrawRuledLine(String, PosPrinterLineDirection, UInt32, PosPrinterLineStyle, UInt32) DrawRuledLine(String, PosPrinterLineDirection, UInt32, PosPrinterLineStyle, UInt32) DrawRuledLine(String, PosPrinterLineDirection, UInt32, PosPrinterLineStyle, UInt32) DrawRuledLine(String, PosPrinterLineDirection, UInt32, PosPrinterLineStyle, UInt32) DrawRuledLine(String, PosPrinterLineDirection, UInt32, PosPrinterLineStyle, UInt32)

Adds an instruction to the print job to print a drawn, ruled line on the paper of the receipt or slip printer station.

ExecuteAsync ExecuteAsync ExecuteAsync ExecuteAsync ExecuteAsync

Runs the print job on the printer station asynchronously.

(Inherited from IPosPrinterJob)
Print(String) Print(String) Print(String) Print(String) Print(String)

Adds an instruction to the print job to print the specified text.

(Inherited from IPosPrinterJob)
PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment)

Adds an instruction to the print job to print a barcode on the receipt or slip printer station with the specified data and symbology.

PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32)

Adds an instruction to the print job to print a barcode on a receipt or slip printer station with the specified data, symbology, and custom alignment.

PrintBitmap(BitmapFrame, PosPrinterAlignment) PrintBitmap(BitmapFrame, PosPrinterAlignment) PrintBitmap(BitmapFrame, PosPrinterAlignment) PrintBitmap(BitmapFrame, PosPrinterAlignment) PrintBitmap(BitmapFrame, PosPrinterAlignment)

Adds an instruction to the print job to print the specified bitmap with the specified standard horizontal placement on the receipt or slip printer station.

PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32) PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32) PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32) PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32) PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32)

Adds an instruction to the print job to print the specified bitmap with the specified width and a standard horizontal placement on the receipt or slip printer station.

PrintCustomAlignedBitmap(BitmapFrame, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32)

Adds an instruction to the print job to print the specified bitmap at the specified distance from the leftmost print column on the receipt or slip printer station.

PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32) PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32)

Adds an instruction to the print job to print the specified bitmap with the specified width and at the specified distance from the leftmost print column on the receipt or slip printer station.

PrintLine PrintLine PrintLine PrintLine PrintLine

Adds an instruction to the print job to print a newline character.

(Inherited from IPosPrinterJob)
PrintLine(String) PrintLine(String) PrintLine(String) PrintLine(String) PrintLine(String)

Adds an instruction to the print job to print the specified line of text.

(Inherited from IPosPrinterJob)
PrintSavedBitmap(UInt32) PrintSavedBitmap(UInt32) PrintSavedBitmap(UInt32) PrintSavedBitmap(UInt32) PrintSavedBitmap(UInt32)

Adds an instruction to the print job to print a bitmap on the receipt or slip printer station by using the information that you saved about the bitmap and how to print it when you called the SetBitmap or SetCustomAlignedBitmap method.

SetBarcodeRotation(PosPrinterRotation) SetBarcodeRotation(PosPrinterRotation) SetBarcodeRotation(PosPrinterRotation) SetBarcodeRotation(PosPrinterRotation) SetBarcodeRotation(PosPrinterRotation)

Sets the rotation of the barcode on the page for the receipt or slip printer station.

SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment)

Saves information about a bitmap and a standard horizontal placement that you want to use to print that bitmap on the receipt or slip printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32) SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32)

Saves information about a bitmap, along with the width and a standard horizontal placement that you want to use to print that bitmap on the receipt or slip printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)

Saves information about a bitmap and the distance from the leftmost print column at which you want to print that bitmap on the receipt or slip printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32) SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)

Saves information about a bitmap, along with the width and the distance from the leftmost print column that you want to use to print that bitmap on the receipt or slip printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

SetPrintArea(Rect) SetPrintArea(Rect) SetPrintArea(Rect) SetPrintArea(Rect) SetPrintArea(Rect)

Sets the area of the page on which the receipt or slip printer station can print the job.

SetPrintRotation(PosPrinterRotation, Boolean) SetPrintRotation(PosPrinterRotation, Boolean) SetPrintRotation(PosPrinterRotation, Boolean) SetPrintRotation(PosPrinterRotation, Boolean) SetPrintRotation(PosPrinterRotation, Boolean)

Sets the rotation of the text or image on the page for the receipt or slip printer station.

See also