Package org.adempiere.webui.process
Class DefaultPrintShippingLabel
java.lang.Object
org.adempiere.webui.process.DefaultPrintShippingLabel
- All Implemented Interfaces:
IPrintShippingLabel
Default implementation of
IPrintShippingLabel
- Author:
- Elaine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprintImageLabel
(MAttachment attachment, MShipperLabels labelType, String title) Print image type labelprintToLabelPrinter
(MAttachment attachment, MShipperLabels labelType) Print to label printer
-
Constructor Details
-
DefaultPrintShippingLabel
public DefaultPrintShippingLabel()
-
-
Method Details
-
printToLabelPrinter
public String printToLabelPrinter(MAttachment attachment, MShipperLabels labelType) throws Exception Description copied from interface:IPrintShippingLabel
Print to label printer- Specified by:
printToLabelPrinter
in interfaceIPrintShippingLabel
- Parameters:
attachment
-labelType
-- Returns:
- error message or null
- Throws:
Exception
-
printImageLabel
public String printImageLabel(MAttachment attachment, MShipperLabels labelType, String title) throws Exception Description copied from interface:IPrintShippingLabel
Print image type label- Specified by:
printImageLabel
in interfaceIPrintShippingLabel
- Parameters:
attachment
-labelType
-title
-- Returns:
- error message or null
- Throws:
Exception
-