lcPrinter=Getprinter()
If empty(lcPrinter)
else
Set printer to name (lcPrinter)
Endif
>Hello Experts...
>
>In the printer dialog box, when I issue the following command:
>
>=GETPRINTER('Laser')
>
>Is there a way of capture wheather user presses Proceed or Cancel button in response to the windows printer dialog box such as:
>
>
>IF GETPRINTER('Laser') = .T.
> *-- do something
>ELSE
> * do something else
>ENDIF
>
>
>Any help greately appreciated...
>
>Thank you
>
>Raz