net community,
I'm trying to create a UWP PSA application following the guide. However when I deploy an app locally, the virtual printer is not created. The app does not have any logic, just configuration file with dummy background tasks linked from attached config file.
Am I correctly understood the manual, that PSA v4 is able to act as virtual printer, without need to develop any printer driver, and virtual printer should be created automatically after installing such PSA app?
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="AbcVirtualPrinter.App"
desktop4:SupportsMultipleInstances="true" uap18:RuntimeBehavior="windowsApp">
<uap:VisualElements
DisplayName="AbcVirtualPrinter"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
Description="AbcVirtualPrinter"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
<Extensions>
<printsupport2:Extension Category="windows.printSupportVirtualPrinterWorkflow"
EntryPoint="AbcVirtualPrinter.VirtualPrinterBackgroundTask">
<printsupport2:PrintSupportVirtualPrinter
DisplayName="AbcVirtualPrinter"
PrinterUri="Abc-print:AbcVirtualPrinter"
PreferredInputFormat="application/postscript"
OutputFileTypes="ps;pdf"
PdcFile="Config\Abc_PDC.xml" >
<printsupport2:SupportedFormats>
<printsupport2:SupportedFormat Type="application/postscript" />
<printsupport2:SupportedFormat Type="application/pdf" MaxVersion="1.7" />
</printsupport2:SupportedFormats>
</printsupport2:PrintSupportVirtualPrinter>
</printsupport2:Extension>
<printsupport:Extension Category="windows.printSupportExtension" EntryPoint="AbcVirtualPrinter.PrintSupportExtensionBackGroundTask"/>
<printsupport:Extension Category="windows.printSupportSettingsUI" EntryPoint="AbcVirtualPrinter.App"/>
<printsupport:Extension Category="windows.printSupportJobUI" EntryPoint="AbcVirtualPrinter.App"/>
</Extensions>
</Application>
</Applications>
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745075406a4609805.html
评论列表(0条)