UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.PglLib.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 GetRfidFormat (Rfid_Format format)
 
static String GetRfidMemBlock (Rfid_MemBlock memBlock)
 
static String GetRotation (Rotation rotation)
 
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. More...
 
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. More...
 
static int minLT (int ltCheck)
 

Static Public Attributes

static final float ALPHA_EXPANSION_MIN = 0f
 
static final float ALPHA_EXPANSION_MAX = 139f
 
static final float TWOBYTE_EXPANSION_MIN = 0f
 
static final float TWOBYTE_EXPANSION_MAX = 63f
 
static final char DELIMITER_SFCC = '~'
 The PGL delimiter used to identify commands. SFCC (Special Function Control Code). More...
 
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. More...
 
static final char DELIMITER_PARAMS = ';'
 The PGL parameter separator for commands that have multiple parameters. More...
 
static final String LINE_TERMINATOR = "\r\n"
 PGL Line Terminator. More...
 
static final String START_OF_COMMENT = "/"
 PGL comment character. Must be added to start of every comment. More...
 

Static Private Member Functions

static boolean IsValidFramingChar (char chCmp, String dataToFrame)
 

Static Private Attributes

static final char DATA_FRAME_RESTRICTED_CHAR = '/'
 Char not allowed for alphanumeric and barcode as framing character for printable data. More...
 

Detailed Description

General/public structures/constants used in PGL.

Member Function Documentation

◆ GetAlignment()

static String com.UniPRT.Sdk.LabelMaker.PglLib.PGL.GetAlignment ( AlignEnum  align)
static

◆ GetBarcodeType1D()

static String com.UniPRT.Sdk.LabelMaker.PglLib.PGL.GetBarcodeType1D ( Barcode_Type1D  barcodeType)
static

◆ GetBarcodeType2D()

◆ GetPrintableDataFrameChar()

◆ GetRfidFormat()

◆ GetRfidMemBlock()

static String com.UniPRT.Sdk.LabelMaker.PglLib.PGL.GetRfidMemBlock ( Rfid_MemBlock  memBlock)
static

◆ GetRotation()

◆ IgpDots()

static float com.UniPRT.Sdk.LabelMaker.PglLib.PGL.IgpDots ( float  dots,
float  dpiResolution 
)
static

Convert native dots to IGP (1/72") dots. e.g., 1 IGP dot at 300 DPI = 300/72 = 4.17 dots.

◆ IsValidFramingChar()

static boolean com.UniPRT.Sdk.LabelMaker.PglLib.PGL.IsValidFramingChar ( char  chCmp,
String  dataToFrame 
)
staticprivate

◆ minLT()

static int com.UniPRT.Sdk.LabelMaker.PglLib.PGL.minLT ( int  ltCheck)
static

Member Data Documentation

◆ ALPHA_EXPANSION_MAX

final float com.UniPRT.Sdk.LabelMaker.PglLib.PGL.ALPHA_EXPANSION_MAX = 139f
static

◆ ALPHA_EXPANSION_MIN

final float com.UniPRT.Sdk.LabelMaker.PglLib.PGL.ALPHA_EXPANSION_MIN = 0f
static

◆ DATA_FRAME_CHAR

final char com.UniPRT.Sdk.LabelMaker.PglLib.PGL.DATA_FRAME_CHAR = '*'
static

The PGL framing character around commands that have printable data. May change if this char is found within printable data.

Referenced by com.UniPRT.Sdk.LabelMaker.PglLib.PGL.GetPrintableDataFrameChar().

◆ DATA_FRAME_RESTRICTED_CHAR

final char com.UniPRT.Sdk.LabelMaker.PglLib.PGL.DATA_FRAME_RESTRICTED_CHAR = '/'
staticprivate

Char not allowed for alphanumeric and barcode as framing character for printable data.

Referenced by com.UniPRT.Sdk.LabelMaker.PglLib.PGL.IsValidFramingChar().

◆ DELIMITER_PARAMS

◆ DELIMITER_SFCC

final char com.UniPRT.Sdk.LabelMaker.PglLib.PGL.DELIMITER_SFCC = '~'
static

◆ LINE_TERMINATOR

◆ START_OF_COMMENT

final String com.UniPRT.Sdk.LabelMaker.PglLib.PGL.START_OF_COMMENT = "/"
static

PGL comment character. Must be added to start of every comment.

◆ TWOBYTE_EXPANSION_MAX

final float com.UniPRT.Sdk.LabelMaker.PglLib.PGL.TWOBYTE_EXPANSION_MAX = 63f
static

◆ TWOBYTE_EXPANSION_MIN

final float com.UniPRT.Sdk.LabelMaker.PglLib.PGL.TWOBYTE_EXPANSION_MIN = 0f
static

The documentation for this class was generated from the following file: