Class RollPaper

    • Constructor Detail

      • RollPaper

        public RollPaper​(String name,
                         String desc,
                         String identifier,
                         Length across)
        Creates a new roll paper.
        Parameters:
        name - a name for the paper
        desc - a description
        identifier - an identifier
        across - the height of the roll
    • Method Detail

      • getLengthAcrossFeed

        public Length getLengthAcrossFeed()
        Gets the length of the paper perpendicular to the direction of the paper feed.
        Returns:
        returns the length, in mm.
      • getType

        public Paper.Type getType()
        Description copied from interface: Paper
        Gets the type of paper.
        Returns:
        returns the type of paper