1 Reply Latest reply on Nov 20, 2008 10:19 AM by (Rudolf_Tillian)

    Avoid dialog window

      Hi:
      I want to send a print order to a Adobe PDF Printer. i´d like to do this in background but i don´t know how get don't show the dialog to set the target of the generated file.
      My code is:

      PrinterSettings objPS = new PrinterSettings();
      objPS.PrinterName = "Adobe PDF";
      objPS.PrintFileName = @"C:\PDF Generation\Source.doc";

      PrintDocument pd = new PrintDocument();
      pd.PrinterSettings = objPS;
      pd.Print();

      anybody can help me?

      Thanks in advance