How to Bypass the printerDialogue?

  • Thread starter Thread starter Lars Netzel
  • Start date Start date
L

Lars Netzel

I'm printing a massive load of Crystal Reports and the PrintReport() Method
opens the printDialogue but I don't want to have 5-6 of those opened at the
same time... can I trigger a printout in Windows without using the
PrintDialogue?

/Lars
 
Lars Netzel said:
I'm printing a massive load of Crystal Reports and the PrintReport() Method
opens the printDialogue but I don't want to have 5-6 of those opened at the
same time... can I trigger a printout in Windows without using the
PrintDialogue?

/Lars

Yup. I its the report.printtoPrinter method.
Dont put the report into a reportviewer. Just create it and call the above
method with supplied params. I just used (false,1,99) depending on how many
pages your report is.

PrintReport is a reportviewer method right?

hth
Richard
 
Yes PrintReport is a Viewer Method.

I'm new to Crystal Reports so I did'nt think I could create a report, thank
you very much!

Will try right away!

/Lars
 
Back
Top