cPrintFile ignore print dialog box

 Hi ,

 

We are working in .net code to convert a snp file to PDF

when we are printing by using this method cPrintFile(sourcefile) we are getting print dialogbox to select printer name ,i dont want this print dialog box ,i tried 

 

.UseAutosave = 1

                .UseAutosaveDirectory = 1 but no use

Mine is pdfcreator default print.

 

Thanks,

Rahul

 

 

 

 Hi,

 

Can some one help me,for word document it is not showing print dialog box.