Printing from Metro app creates document name "Document target printing job" in the print queue, how do I change this to something more meaningful? RRS feed

  • Question

  • When I print something from my Metro application, the document name that ends up in the print queue is "Document target printing job" and I can't find anything that is able to change this.  The closest thing that I think is supposed to change it is PrintTaskInitializingRequest.InitializePrintTask(source, title), and I use it as such:


    var printContent = document.getHTMLPrintDocument();    
    printTask = event.request.initializePrintTask(printContent, "Calendar");

    But it still ends up with the name "Document target printing job".  Even the provided Air Craft application results in the same document name.

    Is there any way to change the name?




    • Edited by jfryc Tuesday, October 25, 2011 11:18 PM
    Tuesday, October 25, 2011 10:34 PM


  • This is a known bug.  Once fixed your code should behave the way you would expect!


    Jeff Sanders (MSFT)
    Wednesday, October 26, 2011 4:22 PM