Class Braillo300Embosser

    • Constructor Detail

      • Braillo300Embosser

        public Braillo300Embosser​(TableCatalogService service,
                                  EmbosserFactoryProperties props)
        Creates a new Braillo 300 embosser.
        Parameters:
        service - the table catalog
        props - the embosser properties
    • Method Detail

      • supportsPrintPage

        public boolean supportsPrintPage​(PrintPage printPage)
        Description copied from interface: Embosser
        Returns true if dimension is supported.
        Parameters:
        printPage - the dimension to test
        Returns:
        returns true if dimension is supported
      • supportsPageFormat

        public boolean supportsPageFormat​(PageFormat pageFormat)
        Description copied from interface: Embosser
        Returns true if the page format is supported.
        Parameters:
        pageFormat - the page format
        Returns:
        returns true if the page format is supported, false otherwise
      • supportsPaper

        public boolean supportsPaper​(Paper paper)
        Description copied from interface: Embosser
        Returns thue if the paper is supported.
        Parameters:
        paper - the paper
        Returns:
        returns true if the paper is supported, false otherwise
      • newEmbosserWriter

        public EmbosserWriter newEmbosserWriter​(OutputStream os)
        Description copied from interface: Embosser
        Gets a new EmbosserWriter that writes to the supplied OutputStream.
        Parameters:
        os - the OutputStream that the EmbosserWriter should use
        Returns:
        returns a new EmbosserWriter
      • newEmbosserWriter

        public EmbosserWriter newEmbosserWriter​(Device device)
        Description copied from interface: Embosser
        Gets a new EmbosserWriter that writes to the supplied Device.
        Parameters:
        device - the device that the EmbosserWriter should use
        Returns:
        returns a new EmbosserWriter
      • getPrintPage

        public PrintPage getPrintPage​(PageFormat pageFormat)
        Description copied from interface: Embosser
        Gets the dimensions of one print page for the specified page format.
        Parameters:
        pageFormat - the page format
        Returns:
        returns the dimensions of one print page for the specified page format
      • setFeature

        public void setFeature​(String key,
                               Object value)
        Description copied from class: AbstractEmbosser
        Associates the specified value with the specified key in this map. If the map previously contained a mapping for this key, the old value is replaced.
        Specified by:
        setFeature in interface Factory
        Overrides:
        setFeature in class AbstractEmbosser
        Parameters:
        key - key with which the specified value is to be associated.
        value - value to be associated with the specified key.
      • supportsVolumes

        public boolean supportsVolumes()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser has some method for volume handling.
        Returns:
        returns true if this embosser supports volumes
      • supports8dot

        public boolean supports8dot()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser supports 8 dot braille.
        Returns:
        returns true if this embosser supports 8 dot braille
      • supportsDuplex

        public boolean supportsDuplex()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser supports duplex printing.
        Returns:
        returns true if this embosser supports duplex printing
      • supportsAligning

        public boolean supportsAligning()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser supports aligning. This indicates that rows can be padded with whitespace to move the text block horizontally using the value returned by getMaxWidth. Should return true for all physical embossers, since they all have a finite row length.
        Returns:
        returns true if this embosser supports aligning, false otherwise.
      • supportsZFolding

        public boolean supportsZFolding()
        Description copied from interface: EmbosserProperties
        Returns true if this embosser supports z-folding. This indicates that, if tractor paper is used, the embosser can emboss every other paper upside down with the rear side up so that pages are ordered face up as they fold naturally in the output stack.
        Returns:
        returns true if this embosser supports z-folding, false otherwise.
      • supportsPrintMode

        public boolean supportsPrintMode​(EmbosserProperties.PrintMode mode)
        Description copied from interface: EmbosserProperties
        Returns true if this embosser supports magazine layout. This indicates that the embosser can reorder pages and emboss two pages side-by-side on the same side of the paper (and two more on the other side), so that a readable document is created by stapling and folding the output stack in the middle.
        Parameters:
        mode - the print mode
        Returns:
        returns true if this embosser supports magazine layout, false otherwise.