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
