Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to print a pdf document programitically. whenever i print the document only the first page gets printed.. following is my code..

C#
ProcessStartInfo info = new ProcessStartInfo(Path);
           info.Verb = "Print";
            info.CreateNoWindow = true;
            info.WindowStyle = ProcessWindowStyle.Hidden;
            Process printDwg = new Process();
            printDwg.StartInfo = info;
            printDwg.Start();


wats wrong with my code..
please help
Posted
Updated 11-Mar-15 0:11am
v2

1 solution

 
Share this answer
 
Comments
vikaskallidantheyil 12-Mar-15 3:30am    
same thing i had done... but it is printing only the first page of the document.
[no name] 12-Mar-15 4:24am    
k..ref this : http://www.rasteredge.com/how-to/csharp-imaging/pdf-print/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900