Is there any chance to find out why I get the message: Access forbidden at the following Sub? And of course to make it work? PUBLIC SUB bEktiposi_Click() DIM hPrinter AS Printer DIM hFile AS File hPrinter = OPEN "dev/lp1" FOR OUTPUT hPrinter.EndOfLine = gb.Windows PRINT #hFile, "test a line: "; CLOSE hPrinter END
It is compiled but it stops when bEtiposi Button is clicked at line : hPrinter = OPEN "dev/lp1" FOR OUTPUT with the message: " Access Forbidden. " ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user