Yeeeeeeeeeesssssssssssssssss!!!

Gracia Doriano,
Ευχαριστώ  Demosthenes
Merci Benoit

It is done!

Doriano had right

I had to add the lp group to the user Vassilis.

I also had to put DIM hPrinter AS File !!!

After that the correct code for printing 1 line each time is the
following:

PUBLIC SUB bEktiposi_Click()
        DIM hPrinter AS File
        hPrinter = OPEN "/dev/lp1" FOR OUTPUT
        hPrinter.EndOfLine = gb.Windows
        PRINT #hPrinter, "test a line: "
        CLOSE hPrinter
END




------------------------------------------------------------------------------
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

Reply via email to