Share via


PdlPassthroughTarget Class

Definition

Represents a print job PDL pass-through stream.

public ref class PdlPassthroughTarget sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PdlPassthroughTarget final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PdlPassthroughTarget : System.IDisposable
Public NotInheritable Class PdlPassthroughTarget
Implements IDisposable
Inheritance
Object Platform::Object IInspectable PdlPassthroughTarget
Attributes
Implements

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Properties

PrintJobId

Gets the print spooler job id for the current print job.

Methods

Close()

Closes the stream. Call Close before calling Submit.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetOutputStream()

Retrieves the output stream, which will be passed to the printer.

Submit()

Indicates that the PDL stream is finished. Call Close before calling Submit, otherwise the print job will fail.

Applies to