public class ZplUtils extends Object
| Constructor and Description |
|---|
ZplUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertAccentToZplAsciiHexa(String str)
Function used to converted ASCII >127 in \hexaCode accepted by ZPL language
|
static Integer |
convertPointInPixel(int point)
Convert point(pt) in pixel(px)
|
static Integer[] |
extractDotsFromFont(ZebraFont zebraFont,
int fontSize,
ZebraPPP zebraPPP)
Extract from font, fontSize and PPP the height and width in dots.
|
static StringBuilder |
zplCommand(String command)
Method to quickly generate zpl code with command and variable
|
static StringBuilder |
zplCommand(String command,
Object... variables)
Method to quickly generate zpl code with command and variable
|
static StringBuilder |
zplCommandSautLigne(String command)
Method to quickly generate zpl code with command and variable
|
static StringBuilder |
zplCommandSautLigne(String command,
Object... variables)
Method to quickly generate zpl code with command and variable
|
public static StringBuilder zplCommand(String command)
command - Command (without ^)variables - list variablepublic static StringBuilder zplCommandSautLigne(String command)
command - Command (without ^)variables - list variablepublic static StringBuilder zplCommand(String command, Object... variables)
command - Command (without ^)variables - list variablepublic static StringBuilder zplCommandSautLigne(String command, Object... variables)
command - Command (without ^)variables - list variablepublic static Integer[] extractDotsFromFont(ZebraFont zebraFont, int fontSize, ZebraPPP zebraPPP)
zebraFont - fontSize - zebraPPP - public static Integer convertPointInPixel(int point)
point - Copyright © 2015. All Rights Reserved.