[Gambas-user] How to sent a line line to a lp1 printer and form to lp0 printer directly.

Doriano Blengino doriano.blengino at ...1909...
Fri Sep 25 12:06:20 CEST 2009


Vassilis A. Kanatas ha scritto:
> Yeeeeeeeeeesssssssssssssssss!!!
>
> Gracia Doriano,
> Ευχαριστώ  Demosthenes
> Merci Benoit
>
> It is done!
>
> Doriano had right
>
> I had to add the lp group to the user Vassilis.
>   
I am glad you finally succeded!

But, it's my habit (I had to be a teacher), I must correct you once 
again... :-)

"Grazie Doriano" (I am italian),

and you added yourself, user vassilis, to the group lp, not vice-versa.


Things that can help you even more to print nice receipts: by sending 
special characters, like chr$(15) (or 18?):

    PRINT #hPrinter, chr$(15) & "test a line: "

you can select different fonts and sizes, use bold, italic and 
underline, and some more nice effects. All this special characters 
should be explained in the printer's user manual, when in the good times 
manuals were manuals and explained things. If you are interested, but 
don't have the manual, I can provide some small instruction.

Regards,
Doriano





More information about the User mailing list