question

NirilChauhan-0958 avatar image
0 Votes"
NirilChauhan-0958 asked NirilChauhan-0958 edited

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

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-print
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers