Android Question wifi print option

hery71

Member
Licensed User
hello B4Acommunity
I try the ecs pos wifi print library:

it's run very nice but sometimes bug i must stop my B4A bridge for printing ???
my realproblem is how to change the line break height
changing font
alignement left ...
etc ...
Thank you in advance
 

hery71

Member
Licensed User
Hi
thank you for rapid response
first my printer is zonerich brand, a chineese pos printer
AND I TRY BU ITS DIFFERENT AS EPSON PRINT CODE
thankyou for the information
hery
 
Upvote 0

hery71

Member
Licensed User
Hi
My model is Zonerich AB-T88 80 mm us connected onmy USB Router 192.x.x.x address

Sub sendprintnote
'Note
Dim hh As String
Dim mm As String
Dim lst() As String
DateTime.DateFormat= "dd/MM/yyyy"
hh = DateTime.GetHour(DateTime.Now)
mm = DateTime.GetMinute(DateTime.Now)
pt.Printnormal
pt.Printstopblack
pt.Printstopxiaxian
pt.Printbig
pt.printstring ("xxxxxxxxxxxxxxxxx")
pt.printstring ("xxxxxxxxxxxxxxxxx")
pt.Printnormal
pt.printstring (Chr(27) & "!" & Chr(22) & "NOTE N°xxxxx")
pt.printstring (tbl & "/" & pax & " Pax")
pt.printstring(DateTime.Date(datebclong)& "/" & hh & ":" & mm)
pt.printstring("serveur: xxxxxx")
pt.printstring("__________________________")
pt.printstring("______________________________________")
pt.Printblack
pt.printstring ( Chr(9) & Chr(9) & Chr(9) & Chr(9) & "Total=" & somme)
pt.printstring("______________________________________")
pt.Printnormal
pt.cut
End Sub

HERE Chr(27) & "!" & Chr(22) give me bigger font
.....
 
Upvote 0
Top