Thanks Ramon, still have a problem though. nothing prints when i click the
button. if i run the method from the terminl it works but not by clicking
the button in the web page. is there a mistake on my CSP page also?
thanks,
Mike
"Ram�n Jim�nez" <rjimenez@@@cicla..com...do> wrote in message
news:[EMAIL PROTECTED]
> A classic pitfall :)
>
> You must preserve and restore the current device before changing it within
> CSP. A suggestion:
>
> > ClassMethod print()
> >
> > {
> >
>
> Set PrevDevice = $IO
>
> > Open "|PRN|"
> >
> > use "|PRN|" w "Testing print from a csp page",!
> >
> > Close "|PRN|"
>
> Use PrevDevice
>
> >
> > }
>
> HTH,
>
> Ram�n
>
>