Try Google for itextsharp

On Nov 27, 2009 12:52 AM, "SalvaMalaga" <[email protected]> wrote:

Hello my problem is that i am using a PDF printer to convert an html
to PDF. I got it but i still have the last problem. Befor printing
the .PS file, i am getting the "choose printer screen" waiting for
accepting the printing. I would like to skip this process and print
ahead.

The code i am using is:

           Process printProcess = new Process();

           printProcess.StartInfo.FileName = file;
           //printProcess.StartInfo.Verb = "print";
           printProcess.StartInfo.Verb = "printto";
           printProcess.StartInfo.Arguments = "\"Ghostscript PDF\"";
           printProcess.StartInfo.WindowStyle =
ProcessWindowStyle.Hidden;
           printProcess.StartInfo.CreateNoWindow = true;
           printProcess.StartInfo.UseShellExecute = true;

           printProcess.Start();

As you can see i am using a command line process (printto). So the
solution would be do some kind of silent printing...maybe i am missing
any argument???

Thabks in advance

Reply via email to