Class EscPosQRCode

  • All Implemented Interfaces:
    EscPosPrintObject

    public class EscPosQRCode
    extends java.lang.Object
    implements EscPosPrintObject
    Printable ESC/POS QR code representation.
    Since:
    TotalCross 4.2.0
    • Constructor Detail

      • EscPosQRCode

        public EscPosQRCode​(byte[] data)
    • Method Detail

      • errorCorrectionLevel

        public EscPosQRCode errorCorrectionLevel​(byte eccl)
      • write

        public void write​(java.io.OutputStream out)
                   throws java.io.IOException
        Description copied from interface: EscPosPrintObject
        Writes this printable object to the given output stream.
        Specified by:
        write in interface EscPosPrintObject
        Parameters:
        out - the output stream
        Throws:
        java.io.IOException - if an I/O error occurs.