Hi Mueller, you are right ,the csp server don't have permission to access the printer. To give the rights, I have set the Network Username and password. After that it is working fine.
Thank u very much ! Regards Muthu Rajan "Bernd Mueller" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > is the Open successful ? Try this ... > > <script language="cache" runat="server"> > set currdevice=$I > set printerdev="|PRN|\\printerpath" > open printerdev::5 > if $t { > w "Open ok!" > use printerdev > w "This is a Test Print" > close printerdev > use currdevice > } > else { > w "can not open printer!" > } > </script> > > Maby the process which was jobed by %cspServer don't have access/priveleges to that > printer ? > > Bernd! > > Muthu wrote: > > Hi Nuno, > > > > I have verified the applet it is ok. > > I have tried that code in the Cache Server method. Now i received an error > > > > <script language="cache" runat="server"> > > set currdevice=$I > > set printerdev="|PRN|\\printerpath" > > open printerdev::5 > > use printerdev > > w "This is a Test Print" > > close printerdev > > use currdevice > > </script> > > > > Error Condition > > "CSP application closed the connection" > > > > anyother solutions to try. > > > > Thanks > > Muthu Rajan
