JournalPrintJob JournalPrintJob JournalPrintJob JournalPrintJob JournalPrintJob Class

Definition

Represents a set of printing instructions that you want to run on the journal printer station.

public : sealed class JournalPrintJob : IPosPrinterJob
struct winrt::Windows::Devices::PointOfService::JournalPrintJob : IPosPrinterJob
public sealed class JournalPrintJob : IPosPrinterJob
Public NotInheritable Class JournalPrintJob Implements IPosPrinterJob
// 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 create a new print job for the journal printer, call ClaimedJournalPrinter.CreateJob. The created print job object is valid as long as the ClaimedJournalPrinter object that created it is valid.

Version history

Windows version SDK version Value added
1903 18362 FeedPaperByLine
1903 18362 FeedPaperByMapModeUnit
1903 18362 Print(String,PosPrinterPrintOptions)

Methods

ExecuteAsync() ExecuteAsync() ExecuteAsync() ExecuteAsync() ExecuteAsync()

Runs the print job on the journal printer station asynchronously.

FeedPaperByLine(Int32) FeedPaperByLine(Int32) FeedPaperByLine(Int32) FeedPaperByLine(Int32) FeedPaperByLine(Int32)

Adds an instruction to the print job to feed paper by line on the journal printer station.

FeedPaperByMapModeUnit(Int32) FeedPaperByMapModeUnit(Int32) FeedPaperByMapModeUnit(Int32) FeedPaperByMapModeUnit(Int32) FeedPaperByMapModeUnit(Int32)

Adds an instruction to the print job to feed paper by map mode unit on the journal printer station.

Print(String) Print(String) Print(String) Print(String) Print(String)

Adds an instruction to the print job to print the specified text on the journal printer station.

Print(String, PosPrinterPrintOptions) Print(String, PosPrinterPrintOptions) Print(String, PosPrinterPrintOptions) Print(String, PosPrinterPrintOptions) Print(String, PosPrinterPrintOptions)

Adds an instruction to the print job to print the specified text and options on the journal printer station.

PrintLine() PrintLine() PrintLine() PrintLine() PrintLine()

Adds an instruction to the print job to print a newline character on the journal printer station.

PrintLine(String) PrintLine(String) PrintLine(String) PrintLine(String) PrintLine(String)

Adds an instruction to the print job to print the specified line of text on the journal printer station.

See also