def __init__(self, shipment, device="/dev/ttyS0"):
        """
        Instantiates from a shipment object. You may optionally specify
        a path to a /dev/ device. Defaults to /dev/ttyS0.
        
        @type shipment: L{FedexProcessShipmentRequest}
        @param shipment: A Fedex ProcessShipmentRequest object to pull the
                         printed label data from.
        """

        self.device = device
        """@ivar: A string with the path to the device to print to."""
        self.shipment = shipment
        """@ivar: A reference to the L{FedexProcessShipmentRequest} to print."""
def __init__ ( self , shipment , device = "/dev/ttyS0" ) : self . device = device self . shipment = shipment
Instantiates from a shipment object. You may optionally specify
        a path to a /dev/ device. Defaults to /dev/ttyS0.
        
        @type shipment: L{FedexProcessShipmentRequest}
        @param shipment: A Fedex ProcessShipmentRequest object to pull the
                         printed label data from.