'----------------------------------------------------------------------------------
'PTXA_SetupStatus()
CONST SnoopOff
= 0 'Disable snooper CONST SnoopSer
= 1 'Serial CONST SnoopPar
= 2 'Parallel CONST SnoopEth
= 3 'Ethernet
'PTXA_JobSetup()
CONST JobModeReset
= 0 'There is no Job parameter setting before the form CONST JobModeWidth
= 1 'Width CONST JobModeLength
= 2 'Height CONST JobModeSpeed
= 3 'Speed IPS CONST JobModeIntensity
= 4 'Intensity CONST JobModeLabel
= 5 'Label Sensor CONST JobModeMedia
= 6 'Media CONST JobModeRotate
= 7 'Rotation '----------------------------------------------------------------------------------
'PTXA_JobModeLabel
CONST JobLabelNoSensor
= 0 'No sensor CONST JobLabelMark
= 1 'Mark CONST JobLabelGap
= 2 'Gap CONST JobLabelAdvGap
= 3 'Advanced gap CONST JobLabelAdvNotch
= 4 'Advanced notch '----------------------------------------------------------------------------------
'PTXA_JobModeMedia
CONST JobMediaCon
= 0 'Continuous mode CONST JobMediaTearoffStrip
= 1 'Tear-off script CONST JobMediaTearoff
= 2 'Tear-off mode CONST JobMediaPeeloff
= 3 'Peel-off CONST JobMediaCut
= 4 'Cut '----------------------------------------------------------------------------------
'PTXA_JobModeRotate
CONST JobRotatePort
= 0 'Portrait CONST JobRotateLand
= 90 'Landscape CONST JobRotateInvPort
= 180 'Inverted portrait CONST JobRotateInvLand
= 270 'Inverted landscape '----------------------------------------------------------------------------------
'PTXA_SetBarcode()
'bcdtype (PTXA_SetBarcode() and PTXA_PrintBarcode())
CONST BCD_C39
= 0 'Code39 CONST BCD_C128A
= 1 'CODE128A CONST BCD_C128B
= 2 'CODE128B CONST BCD_C128C
= 3 'CODE128C CONST BCD_EAN13
= 4 'EAN13 CONST BCD_MAXICODE
= 6 'MAXICODE CONST BCD_PDF417
= 8 'PDF417 '----------------------------------------------------------------------------------
CONST BCDOptParam_RESET
= 0 'No optional parameter attached to barcode CONST BCDOptParam_HEIGHT
= 1 'Height CONST BCDOptParam_ROTATE
= 2 'Rotation CONST BCDOptParam_MAGNIFY
= 3 'Magnify CONST BCDOptParam_PDF
= 4 'PDF CONST BCDOptParam_Ratio
= 5 'Ratio '----------------------------------------------------------------------------------
'PTXA_BCDOptParam_ROTATION
CONST BcdRotatePort
= 0 'Portrait CONST BcdRotateLand
= 90 'Landscape CONST BcdRotateInvPort
= 180 'Inverted portrait CONST BcdRotateInvLand
= 270 'Inverted landscape '----------------------------------------------------------------------------------
'PTXA_BCDOptParam_PDF
CONST BcdPDFOff
= 0 'Barcode PDF disabled CONST BcdPDFOn
= 1 'Barcode PDF enabled '----------------------------------------------------------------------------------
'PTXA_FormSetup()
CONST FormSetupLength
= 1 'form length set to CREATE form CONST FormSetupCount
= 2 'counter of EXECUTE the form '----------------------------------------------------------------------------------
'PTXA_FontSetup()
CONST FontName
= 0 'FontName CONST FontBold
= 1 'FontBold CONST FontSlant
= 2 'FontSlant
CONST BoldOn
= "ON" 'Bold on CONST BoldOff
= "OFF" 'Bold off CONST SlantRight
= "R" 'Italic slant CONST SlantLeft
= "L" 'Backward slant CONST CPAscii
= "ASCII" 'ASCII encoding CONST CPGB
= "GB" 'GB encoding CONST CPBig5
= "BIG5" 'Taiwan encoding CONST CPKSC
= "KSC" 'Korean encoding CONST CPSJIS
= "SJIS" 'Kanji Japanese encoding CONST CPUTF8
= "UTF8" 'UTF-8 encoding '----------------------------------------------------------------------------------
'Return value from APIs
CONST OK
= 0 'good return CONST INVALID
= 1 'wrong input parameter mode/value/lForm/barcodetype '----------------------------------------------------------------------------------