microsoft / microsoft/Windows-driver-samples
No JobCopiesAllDocuments feature in the xps file generated by XpsDrvSmpl
@DavidKanz is already working on this.
Since Dec 17, 2025.
- Dominant language
- C
- Stars
- 7.8k
- Forks
- 5k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 7
Description
I develop a xps driver based on xpsdrvsmpl. When I choose to print multiple copies of a pdf file, only one copy was printed. I unzip the file and open the print ticket file Job_PT.xml and found that there is no JobCopiesAllDocuments feature (about the number of copies) in it.
However, I found that the xps file that generated by Microsoft XPS Document Writer contains this feature (See the picture below).

Does anyone know why xpsdrvsmpl didn't generate this feature? How do I modify the code to generate it?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.