Click here to Skip to main content
13,559,389 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have the code:
PrintDialog printDialog1 = new PrintDialog();
            printDialog1.UseEXDialog = true;
            printDialog1.AllowSomePages = true;
            printDialog1.AllowSelection = true;
            printDialog1.AllowPrintToFile = false;
            printDialog1.AllowCurrentPage = true;

            printDialog1.Document = printDocument1;

            if (printDialog1.ShowDialog() == DialogResult.OK)

I need to print only some pages, ex. page no. 3.
How to fix the code?
Posted 24-Feb-13 1:58am

1 solution

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04-2016 | 2.8.180515.1 | Last Updated 24 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100