LabelImageType Property
Type of image or printer commands the label is to be formatted in.
Syntax
public int getLabelImageType(); public void setLabelImageType(int labelImageType);
Enumerated values: public final static int itNone = 0; public final static int itEPL = 1; public final static int itGIF = 2; public final static int itJPG = 3; public final static int itPDF = 4; public final static int itPNG = 5; public final static int itSPL = 6; public final static int itTIF = 7; public final static int itZPL = 8; public final static int itStar = 9; public final static int itEltron = 10; public final static int itUniMark = 11; public final static int itZebra = 12;
Remarks
This element is required to indicate shipping label formatting and has to be set when the GetShipmentLabels method is called. The value selection depends on the printer type used to print the shipping label.
Valid image types are listed below:
Value | CanadaPost | FedEx | UPS | USPS | Endicia (USPS) | |
itNone | X | |||||
itEPL | X | X | ||||
itGIF | X | X | X | |||
itJPG | X | |||||
itPDF | X | X | X | X | ||
itPNG | X | X | ||||
itSPL | X | |||||
itTIF | X | |||||
itZPL | X | X | ||||
itStar | X | |||||
itEltron | X | |||||
itUniMark | X | |||||
itZebra | X |
Note that all USPS shipping types support sitTIF and sitPDF LabelImageTypes except stUSPSExpress ServiceType, which supports sitGIF and sitPDF.
The valid values when using Endicia are sitEPL, sitGIF, sitJPG, sitPNG, and sitZPL, when the ServiceType is stUSPSFirstClass, stUSPSPriority, stUSPSLibrary, stUSPSMedia, or stUSPSParcelPost otherwise, only sitGIF, sitJPG, and sitPNG are supported.
Default Value
0