[Gambas-user] Print on device

Pablo Vera pvera at ...729...
Mon May 9 15:23:16 CEST 2005


This is not an issue with gambas, it is related to the access rights of 
the normal user.

Usually, the owner of /dev/lp0 is "root" and its group is "lp", so make 
sure that your normal user is a member of the "lp" group.

Saludos,
Pablo Vera

Scaramella Luca wrote:
> Hi,
> I'm trying Open the device /dev/lp0 for print on a POS printer(text only 
> parallel).
> (i don't have the linux driver and the generic linux
> The instruction
> Open "/dev/lp0" FOR WRITE as #hFile
> gives an "Acces Forbidden" error if i try to use it as a normal user.
> 
> There is any way to use the device as a normal user through Gambas??
> 
> Thanks
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> 




More information about the User mailing list