ClaimedReceiptPrinter ClaimedReceiptPrinter ClaimedReceiptPrinter ClaimedReceiptPrinter ClaimedReceiptPrinter Class

Definition

Represents a receipt printer station that has been claimed for use.

public : sealed class ClaimedReceiptPrinter : ICommonClaimedPosPrinterStation
struct winrt::Windows::Devices::PointOfService::ClaimedReceiptPrinter : ICommonClaimedPosPrinterStation
public sealed class ClaimedReceiptPrinter : ICommonClaimedPosPrinterStation
Public NotInheritable Class ClaimedReceiptPrinter Implements ICommonClaimedPosPrinterStation
// This class does not provide a public constructor.
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)

Remarks

To get a ClaimedReceiptPrinter object, use the ClaimedPosPrinter.Receipt property.

Properties

CharactersPerLine CharactersPerLine CharactersPerLine CharactersPerLine CharactersPerLine

Gets or sets the number of characters the receipt printer station can print per line of text.

ColorCartridge ColorCartridge ColorCartridge ColorCartridge ColorCartridge

Gets or sets the color cartridge that the receipt printer station should use when it prints.

IsCartridgeEmpty IsCartridgeEmpty IsCartridgeEmpty IsCartridgeEmpty IsCartridgeEmpty

Gets whether the cartridge of the receipt printer station is currently out of ink or toner.

IsCartridgeRemoved IsCartridgeRemoved IsCartridgeRemoved IsCartridgeRemoved IsCartridgeRemoved

Gets whether the cartridge of the receipt printer station is currently removed.

IsCoverOpen IsCoverOpen IsCoverOpen IsCoverOpen IsCoverOpen

Gets whether the cover of the receipt printer station is currently open.

IsHeadCleaning IsHeadCleaning IsHeadCleaning IsHeadCleaning IsHeadCleaning

Gets whether the receipt printer station is currently cleaning its print head.

IsLetterQuality IsLetterQuality IsLetterQuality IsLetterQuality IsLetterQuality

Gets or sets whether the receipt printer station prints with high quality or high speed.

IsPaperEmpty IsPaperEmpty IsPaperEmpty IsPaperEmpty IsPaperEmpty

Gets whether the receipt printer station needs paper.

IsPaperNearEnd IsPaperNearEnd IsPaperNearEnd IsPaperNearEnd IsPaperNearEnd

Gets whether the receipt printer station is almost out of paper.

IsReadyToPrint IsReadyToPrint IsReadyToPrint IsReadyToPrint IsReadyToPrint

Gets whether the receipt printer station is on and accepting print jobs.

LineHeight LineHeight LineHeight LineHeight LineHeight

Gets or sets the current height of the printed line for the receipt printer station, in the units that the ClaimedPosPrinter.MapMode property specifies.

LineSpacing LineSpacing LineSpacing LineSpacing LineSpacing

Gets or sets the spacing of each single-high print line for the receipt printer station, in the units that the ClaimedPosPrinter.MapMode property specifies. This spacing includes both the height of printed line and of the white space between each pair of lines.

LinesToPaperCut LinesToPaperCut LinesToPaperCut LinesToPaperCut LinesToPaperCut

Gets the number of lines that must be advanced before cutting the receipt paper.

LineWidth LineWidth LineWidth LineWidth LineWidth

Gets the current width of the printed line for the receipt printer station, in the units that the ClaimedPosPrinter.MapMode property specifies.

PageSize PageSize PageSize PageSize PageSize

Gets the size of paper that the claimed receipt printer station currently uses.

PrintArea PrintArea PrintArea PrintArea PrintArea

Gets the print area for the receipt printer station, expressed in the unit of measurement that the ClaimedPosPrinter.MapMode property specifies.

SidewaysMaxChars SidewaysMaxChars SidewaysMaxChars SidewaysMaxChars SidewaysMaxChars

Gets the maximum number of characters that the receipt printer station can print on each line in sideways mode.

SidewaysMaxLines SidewaysMaxLines SidewaysMaxLines SidewaysMaxLines SidewaysMaxLines

Gets the maximum number of lines that the receipt printer station can print in sideways mode.

Methods

CreateJob() CreateJob() CreateJob() CreateJob() CreateJob()

Creates a new print job for the receipt printer station.

ValidateData(String) ValidateData(String) ValidateData(String) ValidateData(String) ValidateData(String)

Determines whether a data sequence, possibly including one or more escape sequences, is valid for the receipt printer station, before you use that data sequence when you call the ReceiptPrintJob.Print and ReceiptPrintJob.ExecuteAsync methods.

See also