Created
May 11, 2018 23:18
-
-
Save facilita-tecnologia/bb6bd868e607c4dc2e15fc21f0a69df9 to your computer and use it in GitHub Desktop.
Codificação Fontes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
byte[] cc = new byte[]{0x1B,0x21,0x00}; // 0- normal size text | |
byte[] bb = new byte[]{0x1B,0x21,0x08}; // 1- only bold text | |
byte[] bb2 = new byte[]{0x1B,0x21,0x20}; // 2- bold with medium text | |
byte[] bb3 = new byte[]{0x1B,0x21,0x10}; // 3- bold with large text | |
outputStream.write(cc); | |
outputStream.write("Your String"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment