Generating a Laser Label

The following FedEx Web Services elements are required to generate a laser label:

Web Services Element Description/Valid Values
LabelSpecification/ LabelFormatType Required to receive the correct label image in the Ship Reply service:

Valid values are:

  • COMMON2D — label format type to receive a label.
  • LABEL_DATA_ONLY — this value is used to receive the barcode data if you create a custom label.
LabelSpecification/ ImageType Required to indicate label formatting. Type of data stream or bitmap to be returned:

Valid values are:

  • PDF — plain paper
  • PNG — plain paper
LabelSpecification/ LabelStockType Required only for thermal labels. Specifies whether label stock has Doc-Tab on leading or trailing end of labels or has no Doc-Tab.

Valid values are:

  • PAPER_4X6
  • PAPER_4X8
  • PAPER_4X9
  • PAPER_7X4.75
  • PAPER_8.5X11_BOTTOM_HALF_LABEL
  • PAPER_8.5X11_TOP_HALF_LABEL
  • PAPER_LETTER
Note: If you request a plain paper label, the data returned is an encoded label image, which must be decoded prior to displaying the label file.