Sample PrintTicket File for PIN Printing
Important
We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.
For more information, see the Print support app design guide.
Here is a sample PrintTicket file to show how to specify PIN printing.
<?xml version="1.0"?>
<psf:PrintTicket xmlns:psf="https://schemas.microsoft.com/windows/2003/08/printing/printschemaframework"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="https://www.w3.org/2001/XMLSchema" version="1"
xmlns:psk="https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords"
xmlns:pskv11=" https://schemas.microsoft.com/windows/2013/05/printing/printschemakeywordsv11">
<psf:ParameterInit name="pskv11:JobPasscodeString">
<psf:Value xsi:type="xsd:string">123456</psf:Value>
</psf:ParameterInit>
<psf:Feature name="pskv11:JobPasscode">
<psf:Option name="psk:On" />
</psf:Feature>
</psf:PrintTicket>
For more information about protected printing, see Driver support For Protected Printing.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin