Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to use print queue to send a collection of visuals for printing?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COcan you perhaps paste the code that you have and maybe there is a way someone can see how to accomplish this based on seeing your existing logic. in your code do you have any reference to Duplex for example Printer.Duplex = 2 Printer.Print "Testing Page 1
      singulars
    2. COHere is the blocks of code I am using for printing.In the button click,I'll get the array of parameters and I am changing the source of the Frame in the WPF page with different user controls depending on the array parameter: <pre class="prettyprint"> private void ButtonPrintAll_Click(object sender, RoutedEventArgs e) { //Creating the print dialog //Show print Dialog if(printDialog.ShowDialog()) { for(int i = 0; i < arrayParameterts.Count; i++) { frmMainContent.Source = new Uri(arrayParameterts[i], UriKind.Relative); frmMainContent.UpdateLayout(); } } }</pre>
      singulars
    3. COIn the frame rendered event, I am printing the layout as a visual void frmMainContent_ContentRendered(object sender, EventArgs e) { //Get the printer capbilities PrintCapabilities printerCapabilities = printDialog.PrintQueue.GetPrintCapabilities(pDialog.PrintTicket); //Print the visual printDialog.PrintVisual(this, "My Printouts"); } I am sending one print out at a time. So, the printer is not printing in duplex. I need to send them at once so that the prints two sides of the page. I am sorry for all the bad formatting. I am new and not sure how I can do the syntax highlighting.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload