UniPRT SDK  v1.0.0.0
PGL Class Reference

General/public structures/constants used in PGL. More...

Classes

enum  AlignEnum
 Alignment for PGL commands that support alignment. More...
 
enum  Barcode_Type1D
 Barcode types for 1D barcodes. More...
 
enum  Barcode_Type2D
 Barcode types for 2D barcodes. More...
 
enum  Rfid_Format
 RFID format parameter for denoting string type. More...
 
enum  Rfid_MemBlock
 RFID memory block selection. More...
 
enum  Rotation
 Direction/Rotation for PGL commands that support rotation. More...
 
enum  SCALE_CHAR
 Default SCALE for CHAR. More...
 
enum  SCALE_DOT
 Default SCALE for DOT. More...
 
enum  SCALE_UNITS
 Scale units type allow for positioning of data in terms of dots or characters. More...
 

Static Public Member Functions

static String GetAlignment (AlignEnum align)
 
static String GetBarcodeType1D (Barcode_Type1D barcodeType)
 
static String GetBarcodeType2D (Barcode_Type2D bcdType2D)
 
static char GetPrintableDataFrameChar (String dataToFrame)
 Make sure the framing char for printable data is not part of the data that will be printed and not same as SFCC.
 
static String GetRfidFormat (Rfid_Format format)
 
static String GetRfidMemBlock (Rfid_MemBlock memBlock)
 
static String GetRotation (Rotation rotation)
 
static float IgpDots (float dots, float dpiResolution)
 Convert native dots to IGP (1/72") dots. e.g., 1 IGP dot at 300 DPI = 300/72 = 4.17 dots.
 
static int minLT (int ltCheck)
 

Static Public Attributes

static final float ALPHA_EXPANSION_MAX = 139f
 
static final float ALPHA_EXPANSION_MIN = 0f
 
static final char DATA_FRAME_CHAR = '*'
 The PGL framing character around commands that have printable data. May change if this char is found within printable data.
 
static final char DELIMITER_PARAMS = ';'
 The PGL parameter separator for commands that have multiple parameters.
 
static final char DELIMITER_SFCC = '~'
 The PGL delimiter used to identify commands. SFCC (Special Function Control Code).
 
static final String LINE_TERMINATOR = "\r\n"
 PGL Line Terminator.
 
static final String START_OF_COMMENT = "/"
 PGL comment character. Must be added to start of every comment.
 
static final float TWOBYTE_EXPANSION_MAX = 63f
 
static final float TWOBYTE_EXPANSION_MIN = 0f
 

Detailed Description

General/public structures/constants used in PGL.