Zeev Goldstein Well-Known Member Licensed User Longtime User Dec 27, 2012 #1 hi, i am trying to print to bixolon spp-r200 BT printer. i use as an example the "SerialExample" found in the forum and it works very well. the problem: i need to send an escape code to the printer, how do i do it ? i tried chr(27) & chr(116) & "33" but this does not work i need to send Esc t 33 to change the code page this is quite urgent and i will appreciate any help thanks
hi, i am trying to print to bixolon spp-r200 BT printer. i use as an example the "SerialExample" found in the forum and it works very well. the problem: i need to send an escape code to the printer, how do i do it ? i tried chr(27) & chr(116) & "33" but this does not work i need to send Esc t 33 to change the code page this is quite urgent and i will appreciate any help thanks
agraham Expert Licensed User Longtime User Dec 27, 2012 #2 From the manual here it looks like it needs chr(27) & chr(116) & chr(33) or chr(27) & chr(116) & "!" or chr(27) & "t!" Upvote 0
From the manual here it looks like it needs chr(27) & chr(116) & chr(33) or chr(27) & chr(116) & "!" or chr(27) & "t!"
Zeev Goldstein Well-Known Member Licensed User Longtime User Dec 27, 2012 #3 thank you, but i have tried it all, nothing worked Upvote 0
agraham Expert Licensed User Longtime User Dec 27, 2012 #4 Have you tried OutputStream.WriteBytes to directly write the required byte values? Upvote 0
Zeev Goldstein Well-Known Member Licensed User Longtime User Dec 27, 2012 #5 not yet, could you please show an example of init and print Esc t 33 using outputstream ? thanks alot Upvote 0
not yet, could you please show an example of init and print Esc t 33 using outputstream ? thanks alot
mc73 Well-Known Member Licensed User Longtime User Dec 27, 2012 #6 Zeev Goldstein said: not yet, could you please show an example of init and print Esc t 33 using outputstream ? thanks alot Click to expand... Agraham's escC sequence should work. Use a textWriter, initialize it using the chosen socket, and writeLine(chr(27) & chr(116) & chr(33)) Upvote 0
Zeev Goldstein said: not yet, could you please show an example of init and print Esc t 33 using outputstream ? thanks alot Click to expand... Agraham's escC sequence should work. Use a textWriter, initialize it using the chosen socket, and writeLine(chr(27) & chr(116) & chr(33))
Zeev Goldstein Well-Known Member Licensed User Longtime User Dec 27, 2012 #7 thanks, something is wrong perhaps in printer rom... i can't get the right language and i get gibberish instead it used to have hebrew on it but it was very long time off so perhaps the rom was erased Upvote 0
thanks, something is wrong perhaps in printer rom... i can't get the right language and i get gibberish instead it used to have hebrew on it but it was very long time off so perhaps the rom was erased