ClaimedSlipPrinter
ClaimedSlipPrinter
ClaimedSlipPrinter
ClaimedSlipPrinter
Class
Definition
Represents a slip printer station that has been claimed for use.
public : sealed class ClaimedSlipPrinter : IClaimedSlipPrinter, ICommonClaimedPosPrinterStationpublic sealed class ClaimedSlipPrinter : IClaimedSlipPrinter, ICommonClaimedPosPrinterStationPublic NotInheritable Class ClaimedSlipPrinter Implements IClaimedSlipPrinter, ICommonClaimedPosPrinterStation// You can use this class in JavaScript.
- Attributes
| 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 ClaimedSlipPrinter object, use the ClaimedPosPrinter.Slip property.
Properties
CharactersPerLine CharactersPerLine CharactersPerLine CharactersPerLine
Gets or sets the number of characters the slip printer station can print per line of text.
public : unsigned int CharactersPerLine { get; set; }public uint CharactersPerLine { get; set; }Public ReadWrite Property CharactersPerLine As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The number of characters the slip printer station can print per line of text.
ColorCartridge ColorCartridge ColorCartridge ColorCartridge
Gets or sets the color cartridge that the slip printer station should use when it prints.
public : PosPrinterColorCartridge ColorCartridge { get; set; }public PosPrinterColorCartridge ColorCartridge { get; set; }Public ReadWrite Property ColorCartridge As PosPrinterColorCartridge// You can use this property in JavaScript.
- Value
- PosPrinterColorCartridge PosPrinterColorCartridge PosPrinterColorCartridge PosPrinterColorCartridge
An enumeration value that identifies the color cartridge that the slip printer station should use when it prints.
- See Also
IsCartridgeEmpty IsCartridgeEmpty IsCartridgeEmpty IsCartridgeEmpty
Gets whether the cartridge of the slip printer station is currently out of ink or toner.
public : PlatForm::Boolean IsCartridgeEmpty { get; }public bool IsCartridgeEmpty { get; }Public ReadOnly Property IsCartridgeEmpty As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the cartridge of the slip printer station is currently out of ink or toner; otherwise, false.
IsCartridgeRemoved IsCartridgeRemoved IsCartridgeRemoved IsCartridgeRemoved
Gets whether the cartridge of the slip printer station is currently removed.
public : PlatForm::Boolean IsCartridgeRemoved { get; }public bool IsCartridgeRemoved { get; }Public ReadOnly Property IsCartridgeRemoved As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the cartridge of the slip printer station is currently removed; otherwise, false.
IsCoverOpen IsCoverOpen IsCoverOpen IsCoverOpen
Gets whether the cover of the slip printer station is currently open.
public : PlatForm::Boolean IsCoverOpen { get; }public bool IsCoverOpen { get; }Public ReadOnly Property IsCoverOpen As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the cover of the slip printer station is currently open; otherwise, false.
IsHeadCleaning IsHeadCleaning IsHeadCleaning IsHeadCleaning
Gets whether the slip printer station is currently cleaning its print head.
public : PlatForm::Boolean IsHeadCleaning { get; }public bool IsHeadCleaning { get; }Public ReadOnly Property IsHeadCleaning As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the slip printer station is currently cleaning its print head; otherwise, false.
IsLetterQuality IsLetterQuality IsLetterQuality IsLetterQuality
Gets or sets whether the slip printer station prints with high quality or high speed.
public : PlatForm::Boolean IsLetterQuality { get; set; }public bool IsLetterQuality { get; set; }Public ReadWrite Property IsLetterQuality As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the slip printer station prints with high quality. False if the slip printer station with high speed.
IsPaperEmpty IsPaperEmpty IsPaperEmpty IsPaperEmpty
Gets whether the slip printer station needs paper.
public : PlatForm::Boolean IsPaperEmpty { get; }public bool IsPaperEmpty { get; }Public ReadOnly Property IsPaperEmpty As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the slip printer station needs paper; otherwise, false.
IsPaperNearEnd IsPaperNearEnd IsPaperNearEnd IsPaperNearEnd
Gets whether the slip printer station is almost out of paper.
public : PlatForm::Boolean IsPaperNearEnd { get; }public bool IsPaperNearEnd { get; }Public ReadOnly Property IsPaperNearEnd As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the slip printer station is almost out of paper; otherwise, false.
IsReadyToPrint IsReadyToPrint IsReadyToPrint IsReadyToPrint
Gets whether the slip printer station is on and accepting print jobs.
public : PlatForm::Boolean IsReadyToPrint { get; }public bool IsReadyToPrint { get; }Public ReadOnly Property IsReadyToPrint As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the slip printer station is on and accepting print jobs; otherwise, false.
LineHeight LineHeight LineHeight 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.
public : unsigned int LineHeight { get; set; }public uint LineHeight { get; set; }Public ReadWrite Property LineHeight As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The current height of the printed line for the slip printer station, in the units that the ClaimedPosPrinter.MapMode property specifies.
- See Also
LinesNearEndToEnd LinesNearEndToEnd LinesNearEndToEnd 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.
public : unsigned int LinesNearEndToEnd { get; }public uint LinesNearEndToEnd { get; }Public ReadOnly Property LinesNearEndToEnd As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
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.
- See Also
LineSpacing LineSpacing LineSpacing 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.
public : unsigned int LineSpacing { get; set; }public uint LineSpacing { get; set; }Public ReadWrite Property LineSpacing As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The spacing of each single-high print line for the slip printer station, in the units that the ClaimedPosPrinter.MapMode property specifies.
LineWidth LineWidth LineWidth LineWidth
Gets the current width of the printed line for the slip printer station, in the units that the ClaimedPosPrinter.MapMode property specifies.
public : unsigned int LineWidth { get; }public uint LineWidth { get; }Public ReadOnly Property LineWidth As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The current width of the printed line for the slip printer station, in the units that the ClaimedPosPrinter.MapMode property specifies.
- See Also
MaxLines MaxLines MaxLines MaxLines
Gets the maximum number of lines that the slip printer station can print on a form.
public : unsigned int MaxLines { get; }public uint MaxLines { get; }Public ReadOnly Property MaxLines As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The maximum number of lines that the slip printer station can print on a form.
- See Also
PageSize PageSize PageSize PageSize
Gets the size of paper that the claimed slip printer station currently uses, in the units that the ClaimedPosPrinter.MapMode property specifies.
public : Size PageSize { get; }public Size PageSize { get; }Public ReadOnly Property PageSize As Size// You can use this property in JavaScript.
PrintArea PrintArea PrintArea PrintArea
Gets the print area for the slip printer station, expressed in the unit of measurement that the ClaimedPosPrinter.MapMode property specifies.
public : Rect PrintArea { get; }public Rect PrintArea { get; }Public ReadOnly Property PrintArea As Rect// You can use this property in JavaScript.
The print area for the slip printer station, expressed in the unit of measurement that the ClaimedPosPrinter.MapMode property specifies.
PrintSide PrintSide PrintSide PrintSide
Gets the side of the sheet on which the claimed slip printer station is currently printing.
public : PosPrinterPrintSide PrintSide { get; }public PosPrinterPrintSide PrintSide { get; }Public ReadOnly Property PrintSide As PosPrinterPrintSide// You can use this property in JavaScript.
The side of the sheet on which the claimed slip printer station is currently printing.
SidewaysMaxChars SidewaysMaxChars SidewaysMaxChars SidewaysMaxChars
Gets the maximum number of characters that the slip printer station can print on each line in sideways mode.
public : unsigned int SidewaysMaxChars { get; }public uint SidewaysMaxChars { get; }Public ReadOnly Property SidewaysMaxChars As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The maximum number of characters that the slip printer station can print on each line in sideways mode.
- See Also
SidewaysMaxLines SidewaysMaxLines SidewaysMaxLines SidewaysMaxLines
Gets the maximum number of lines that the slip printer station can print in sideways mode.
public : unsigned int SidewaysMaxLines { get; }public uint SidewaysMaxLines { get; }Public ReadOnly Property SidewaysMaxLines As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The maximum number of lines that the slip printer station can print in sideways mode.
- See Also
Methods
ChangePrintSide(PosPrinterPrintSide) ChangePrintSide(PosPrinterPrintSide) ChangePrintSide(PosPrinterPrintSide) ChangePrintSide(PosPrinterPrintSide)
Changes the side of the sheet on which the claimed slip printer station is currently printing.
public : void ChangePrintSide(PosPrinterPrintSide printSide)public void ChangePrintSide(PosPrinterPrintSide printSide)Public Function ChangePrintSide(printSide As PosPrinterPrintSide) As void// You can use this method in JavaScript.
The side of the sheet on which the claimed slip printer station is currently printing.
CloseJaws() CloseJaws() CloseJaws() 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.
public : void CloseJaws()public void CloseJaws()Public Function CloseJaws() As void// You can use this method in JavaScript.
- See Also
CreateJob() CreateJob() CreateJob() CreateJob()
Creates a new print job for the slip printer stiation.
public : SlipPrintJob CreateJob()public SlipPrintJob CreateJob()Public Function CreateJob() As SlipPrintJob// You can use this method in JavaScript.
The new print job for the slip printer station.
- See Also
InsertSlipAsync(TimeSpan) InsertSlipAsync(TimeSpan) InsertSlipAsync(TimeSpan) InsertSlipAsync(TimeSpan)
Waits for the user to insert a slip into the slip printer station.
public : IAsyncOperation<PlatForm::Boolean> InsertSlipAsync(TimeSpan timeout)public IAsyncOperation<bool> InsertSlipAsync(TimeSpan timeout)Public Function InsertSlipAsync(timeout As TimeSpan) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
- timeout
- TimeSpan TimeSpan TimeSpan TimeSpan
The interval of time that the operation should wait for the user to insert the slip before exiting.
An asynchronous operation that returns true if the user inserts the slip within the specified time span, and returns false otherwise.
- See Also
OpenJaws() OpenJaws() OpenJaws() 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.
public : void OpenJaws()public void OpenJaws()Public Function OpenJaws() As void// You can use this method in JavaScript.
- See Also
RemoveSlipAsync(TimeSpan) RemoveSlipAsync(TimeSpan) RemoveSlipAsync(TimeSpan) RemoveSlipAsync(TimeSpan)
Waits for the user to remove a slip from the slip printer station.
public : IAsyncOperation<PlatForm::Boolean> RemoveSlipAsync(TimeSpan timeout)public IAsyncOperation<bool> RemoveSlipAsync(TimeSpan timeout)Public Function RemoveSlipAsync(timeout As TimeSpan) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
- timeout
- TimeSpan TimeSpan TimeSpan TimeSpan
The interval of time that the operation should wait for the user to remove the slip before exiting.
An asynchronous operation that returns true if the user removes the slip within the specified time span, and returns false otherwise.
ValidateData(String) ValidateData(String) ValidateData(String) 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.
public : PlatForm::Boolean ValidateData(PlatForm::String data)public bool ValidateData(String data)Public Function ValidateData(data As String) As bool// You can use this method in JavaScript.
- data
- PlatForm::String String String String
The data sequence that you want to validate before you use it with the SlipPrintJob.Print method. This sequence may include printable data and escape sequences.
If the sequence is not valid, and you use it with SlipPrintJob.Print anyways, the job fails when you run it with SlipPrintJob.ExecuteAsync. You cannot remove a print instruction that uses an invalid data sequence after you add the instruction to the job with SlipPrintJob.Print.
True if the data passes validation; otherwise false.