Skip to content

Commit

Permalink
Update EscPosPrinterCommands.java
Browse files Browse the repository at this point in the history
  • Loading branch information
juthawong committed Jul 28, 2023
1 parent 25e8923 commit d0453e9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public class EscPosPrinterCommands {

public static final byte[] RESET_PRINTER = new byte[]{0x1B, 0x40};

public static final byte[] TEXT_ALIGN_LEFT = new byte[]{0x1B, 0x61, 0x00};
public static final byte[] TEXT_ALIGN_CENTER = new byte[]{0x1B, 0x61, 0x01};
public static final byte[] TEXT_ALIGN_RIGHT = new byte[]{0x1B, 0x61, 0x02};
public static final byte[] TEXT_ALIGN_LEFT = new byte[]{0x1B, 0x61, 0x48};
public static final byte[] TEXT_ALIGN_CENTER = new byte[]{0x1B, 0x61, 0x49};
public static final byte[] TEXT_ALIGN_RIGHT = new byte[]{0x1B, 0x61, 0x50};

public static final byte[] TEXT_WEIGHT_NORMAL = new byte[]{0x1B, 0x45, 0x00};
public static final byte[] TEXT_WEIGHT_BOLD = new byte[]{0x1B, 0x45, 0x01};
Expand Down

0 comments on commit d0453e9

Please sign in to comment.