Skip to content

Printing Cyrstal report from button

always gull

Asked Mar 31, 2009, 10:41 AM EDT3 answers
Share
LinkedInX
Hi I have a problem, i am printing a crystal report using printToprinter method. my problem is i don't know how many pages this reports is going to print. So i don't know what is going to be my last page. Is any one can help me

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    Hi,

    Pass the end page and begin page as zero.

    Thanks,

    Aru

    0
  • 0
    Thanks for the reply but problem is, i don't know what will be the last page of my report. And how can i get it at run time and pass it.
    0
  • 0

    Hi,

    as per my knowledge we could not know the last page of the report.

    By giving the last page number parameter "0" will print alll the pages that report has.

     

    Thanks,

    Aru

    0