Adding a DocTab

FedEx

Set the following parameter:

<?php
$shipment->setParameter('docTabType', 'STANDARD');

Note

If the print position is drifting to the left or right side of the label, try changing the LabelPrintingOrientation value. The default value is TOP_EDGE_OF_TEXT_FIRST which is left justified. You can also try BOTTOM_EDGE_OF_TEXT_FIRST which is right justified.

Example:

<?php
$shipment->setParameter('docTabType', 'STANDARD');
$shipment->setParameter('printOrientation', 'BOTTOM_EDGE_OF_TEXT_FIRST');

docTabType

  • BARCODED
  • MINIMUM
  • STANDARD
  • ZONE001