V4 Printer Driver - Retrieve user specific configurations from the property bag

Niril Chauhan 1 Reputation point
2021-10-21T05:51:21.287+00:00

I am trying to create a sample v4 printer driver using the v4 printer driver template in visual studio, I have chosen custom rendering filter as driver rendering type.

In this, I am looking for retrieving user specific selected settings XML (PrintTicket) from the property bag, I have tried to get "XPS_FP_USER_PRINT_TICKET" property but getting default configurations template instead of the user selected.

Herewith, I have attached response XML file which I have got.

But I looking for,
e.g.
<psf:Feature name="psk:PageMediaSize">
<psf:Option name="psk:A4">
<psf:ScoredProperty name="psk:MediaSizeWidth">
<psf:Value xsi:type="xsd:integer">215900</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:MediaSizeHeight">
<psf:Value xsi:type="xsd:integer">279400</psf:Value>
</psf:ScoredProperty>
</psf:Option>
</psf:Feature>

Please assist me on this for retrieving user specific selected configurations.

Thank you.142344-default-printticket.xml

Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
640 questions
0 comments No comments
{count} votes