Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Correctly using the Print dialog box

Hello,

I am trying to implement the print dialog box into my application but I am having some problems. see example code below

cdlprint.showprinter
example.printform
printer.enddoc

The problem I am having is the application ignores what the user selects in the printer dialog box. Regardless of what the user does, when you click ok or cancel the form prints. What am I doing wrong?? :confused:

Thanks!!
[451 byte] By [zraptor] at [2007-11-11 8:33:32]