Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

LabelImageType Property

Type of label image.

Syntax

public int getLabelImageType();
public void setLabelImageType(int labelImageType);

Enumerated values: public final static int sitNone = 0; public final static int sitTIF = 1; public final static int sitJPG = 2; public final static int sitPDF = 3; public final static int sitGIF = 4; public final static int sitEPL = 5; public final static int sitPNG = 6; public final static int sitZPL = 7; public final static int sitPDFVector = 8; public final static int sitPDFVectorWithFonts = 9;

Remarks

The value of this property is required when calling methods to retrieve shipping labels. Valid image formats are listed below:

sitNone (0)Enter itNone if a label is not desired. (Only the TrackingNumber will be returned).
sitTIF (1) Tagged Image File format (bitmap)
sitJPG (2) Joint Photographic expert Group format (used only by Endicia)
sitPDF (3) Adobe Acrobat's Portable Document Format
sitGIF (4) CompuServe's Graphics Interchange Format
sitEPL (5) EPL2 format (used only by Endicia)
sitPNG (6) PNG image (used only by Endicia)
sitZPL (7) ZPLII format (used only by Endicia)
sitPDFVector (8) PDFVector format (used only by Endicia)
sitPDFVectorWithFonts (9) PDFVectorWithFonts format (used only by Endicia)

Note that all USPS shipping types support sitTIF and sitPDF LabelImageTypes except stUSPSExpress ServiceType, which supports sitGIF and sitPDF.

sitTIF is not a valid value for Stamps.com.

Also, if you use the sitTIF LabelImageType, make sure your image reader is able to view multiple pages inside of a Tagged Image Format File (TIFF) file. The TIFF Files returned from USPS may contain up to 6 pages of image data.

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

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0