microsoft / microsoft/Windows-driver-samples

No JobCopiesAllDocuments feature in the xps file generated by XpsDrvSmpl

Open
#762 5 comments 0 reactions 1 assignee View on GitHub

@DavidKanz is already working on this.

Since Dec 17, 2025.

bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.