Try these http://aspalliance.com/514_CodeSnip_Printing_PDF_from_NET.all http://stackoverflow.com/questions/21908/silent-printing-in-a-web-application
On Fri, Nov 27, 2009 at 4:22 PM, SalvaMalaga <[email protected]> wrote: > ItextSharp is very strict. I have not very complex html files but, > still, many of the tags dont appear. I have many different files to > print that are changing cointinuosly so i cannot grant that all the > info is appearing. I tried with a pdf printer using ghostscript but i > still have the "asking for confirmation" step that does not allow me > to automatically print the file. So i am running out of ideas. the > last thing is using a php page that uses itext to pass from html to > pdf. > > If you have any ohter idea, please let me know > > On Nov 27, 7:12 am, Budi Sentosa <[email protected]> wrote: > > 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 >
