summaryrefslogtreecommitdiff
path: root/print/SimplePipelineFilter/README.md
blob: 7c5a0cc52f9ab1fa565391ae4755edd88598ad6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
page_type: sample
description: "This sample shows how to use the print pipeline's filter interfaces."
languages:
- cpp
products:
- windows
---

<!---
    name: Print Pipeline Simple Filter
    platform: DLL
    language: cpp
    category: Print
    description: This sample shows how to use the print pipeline's filter interfaces.
    samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=617944
--->

# Print Pipeline Simple Filter

The printing system supports a print filter pipeline. The pipeline is run when a print job is consumed by the print spooler and sent to the device.

This sample shows how to use the print pipeline's filter interfaces.

The filters in the print pipeline consume a certain data type and produce a certain data type. This information is specified in the pipeline configuration file on a per printer driver basis. The WDK print filter sample contains two filter samples: one that consumes and produces XPS data type, and the other one consumes and produces opaque byte stream. For more information, see the [XpsDrv](http://msdn.microsoft.com/en-us/windows/hardware/gg463364) whitepaper.