Class cmdReceipt.NonFiscalReceipt

java.lang.Object
com.datecs.fiscalprinter.SDK.model.DatecsFiscalDevice
com.datecs.fiscalprinter.SDK.model.UserLayerV1.cmdReceipt
com.datecs.fiscalprinter.SDK.model.UserLayerV1.cmdReceipt.NonFiscalReceipt
Enclosing class:
cmdReceipt

public static class cmdReceipt.NonFiscalReceipt
extends cmdReceipt
  • Constructor Details

  • Method Details

    • open

      public java.lang.Integer open() throws java.lang.Exception
      Open a Non Fiscal Receipt
      Returns:
      All issued receipt from the last Z report.
      Throws:
      java.lang.Exception
    • closeNonFiscalReceipt

      public int closeNonFiscalReceipt() throws java.lang.Exception
      Returns:
      All issued receipt from the last Z report.
      Throws:
      java.lang.Exception
    • isOpen

      public boolean isOpen()
      Returns:
      true if None Fiscal Receipt is open
    • printNonFiscalText

      public void printNonFiscalText​(java.lang.String text) throws java.lang.Exception
      PRINTING OF FREE TEXT IN SERVICE BON
      Parameters:
      text - - Text up to 40 characters.
      Throws:
      java.lang.Exception
    • printNonFiscalText

      public void printNonFiscalText​(java.lang.String text, java.lang.String height) throws java.lang.Exception
      PRINTING OF FREE TEXT IN SERVICE BON

      Support DP-05, DP-25, DP-35, WP-50, DP-150

      Parameters:
      height - '1' - Print at normal height. '2' - Print at 2x height. '3' - Print at 3x height.
      text - - Text up to 40 characters.

      The '#' symbol is printed at the beginning and end of the line.

      Throws:
      java.lang.Exception
    • printNonFiscalText

      public void printNonFiscalText​(java.lang.String text, java.lang.String height, boolean bold, boolean italic, boolean doubleHigh) throws java.lang.Exception
      PRINTING OF FREE TEXT IN SERVICE BON

      Support FP-800 / FP-2000 / FP-650 / SK1-21F / SK1-31F/ FMP-10 / FP-550

      Parameters:
      height - '1' - Print at normal height. '2' - Print at 2x height. '3' - Print at 3x height.
      text - - Text up to 40 characters.
      bold -
      italic -
      doubleHigh -

      The '#' symbol is printed at the beginning and end of the line.

      Throws:
      java.lang.Exception
    • printSeparatingLine

      public void printSeparatingLine​(java.lang.String type) throws java.lang.Exception
      Printing a Separating Text in non fiscal receipt

      Support FP-800 / FP-2000 / FP-650 / SK1-21F / SK1-31F/ FMP-10 / FP-550 1 - Add text „по този бон" 2 - Add frame '*'

      Parameters:
      type -
      Throws:
      java.lang.Exception