ClaimedSlipPrinter Class
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.
Represents a slip printer station that has been claimed for use.
public ref class ClaimedSlipPrinter sealed
public ref class ClaimedSlipPrinter sealed : ICommonClaimedPosPrinterStation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ClaimedSlipPrinter final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ClaimedSlipPrinter final : ICommonClaimedPosPrinterStation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ClaimedSlipPrinter
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ClaimedSlipPrinter : ICommonClaimedPosPrinterStation
Public NotInheritable Class ClaimedSlipPrinter
Public NotInheritable Class ClaimedSlipPrinter
Implements ICommonClaimedPosPrinterStation
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
To get a [ClaimedSlipPrinter object, use the ClaimedPosPrinter.Slip property.
Properties
CharactersPerLine |
Gets or sets the number of characters the slip printer station can print per line of text. |
ColorCartridge |
Gets or sets the color cartridge that the slip printer station should use when it prints. |
IsCartridgeEmpty |
Gets whether the cartridge of the slip printer station is currently out of ink or toner. |
IsCartridgeRemoved |
Gets whether the cartridge of the slip printer station is currently removed. |
IsCoverOpen |
Gets whether the cover of the slip printer station is currently open. |
IsHeadCleaning |
Gets whether the slip printer station is currently cleaning its print head. |
IsLetterQuality |
Gets or sets whether the slip printer station prints with high quality or high speed. |
IsPaperEmpty |
Gets whether the slip printer station needs paper. |
IsPaperNearEnd |
Gets whether the slip printer station is almost out of paper. |
IsReadyToPrint |
Gets whether the slip printer station is on and accepting print jobs. |
LineHeight |
Gets or sets the current height of the printed line for the slip printer station, in the units that the ClaimedPosPrinter.MapMode property specifies. |
LinesNearEndToEnd |
Gets the number of lines that the slip printer station can print after the ClaimedSlipPrinter.IsPaperNearEnd property is set to true but before the printer reaches the end of the slip. |
LineSpacing |
Gets or sets the spacing of each single-high print line for the slip 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. |
LineWidth |
Gets the current width of the printed line for the slip printer station, in the units that the ClaimedPosPrinter.MapMode property specifies. |
MaxLines |
Gets the maximum number of lines that the slip printer station can print on a form. |
PageSize |
Gets the size of paper that the claimed slip printer station currently uses, in the units that the ClaimedPosPrinter.MapMode property specifies. |
PrintArea |
Gets the print area for the slip printer station, expressed in the unit of measurement that the ClaimedPosPrinter.MapMode property specifies. |
PrintSide |
Gets the side of the sheet on which the claimed slip printer station is currently printing. |
SidewaysMaxChars |
Gets the maximum number of characters that the slip printer station can print on each line in sideways mode. |
SidewaysMaxLines |
Gets the maximum number of lines that the slip printer station can print in sideways mode. |
Methods
ChangePrintSide(PosPrinterPrintSide) |
Changes the side of the sheet on which the claimed slip printer station is currently printing. |
CloseJaws() |
Closes the mechanism that holds the slip in place while the slip printer station is printing, typically after the user inserts or removes the slip. |
CreateJob() |
Creates a new print job for the slip printer stiation. |
InsertSlipAsync(TimeSpan) |
Waits for the user to insert a slip into the slip printer station. |
OpenJaws() |
Opens the mechanism that holds the slip in place while the slip printer station is printing, typically before the user inserts or removes the slip. |
RemoveSlipAsync(TimeSpan) |
Waits for the user to remove a slip from the slip printer station. |
ValidateData(String) |
Determines whether a data sequence, possibly including one or more escape sequences, is valid for the slip printer station, before you use that data sequence when you call the SlipPrintJob.Print and SlipPrintJob.ExecuteAsync methods. |