Windows 10 How to send parameters to uwp print dialog app from command line

  • Thread starter Thread starter daibatzu
  • Start date Start date
D

daibatzu

Guest
I am trying to use the new print dialog box for windows 10 in my app to print photos. To open this dialog box, I am using the command:

explorer.exe shell:AppsFolder\Windows.PrintDialog_cw5n1h2txyewy!Microsoft.Windows.PrintDialog
I am getting Windows.PrintDialog_cw5n1h2txyewy from the powershell command GetAppX-Package. This points me to the install location (C:\Windows\PrintDialog) from where I can now get the manifest. Inside the manifest is the AppId which is Microsoft.Windows.PrintDialog. My command runs successfully and opens the dialog box. However it says "Nothing was sent to print. Open a document and print again" which is correct as I have not sent any file.

My question is, does anyone know how I can send a file or list of files to this command?

Many Thanks

More...
 
Back
Top