ePOS-Print XML

    ePOS-Print XML

    ePOS-Print XML offers the following commands (elements).

    Available elements and parameters vary by printer model. Refer to XML Supported Printers.

    XML for Controlling Printer


    Route element

    Element

    Function

    Standard mode

    Page mode

    <epos-print>

    <text>

    Prints a text

    <feed>

    Feeds paper

    <image>

    Prints a raster image

    <logo>

    Prints an NV logo

    <barcode>

    Prints a barcode

    <symbol>

    Prints a 2D symbol

    <hline>

    Prints a horizontal line

    -

    <vline-begin>

    Starts to print a vertical line

    -

    <vline-end>

    Finishes to print a vertical line

    -

    <page>

    Page mode

    -

    <area>

    Specifies a print area for the page mode

    -

    <direction>

    Specifies the printing direction for the page mode

    -

    <position>

    Specifies a position to start printing for the page mode

    -

    <line>

    Prints a line in the page mode

    -

    <rectangle>

    Prints a rectangle in the page mode

    -

    <cut>

    Cuts paper

    -

    <pulse>

    Drawer kick-out

    -

    <sound>

    Sounds a buzzer

    -

    <command>

    Inserts a command

    <layout>

    Paper settings

    -

    <recovery>

    Recovers from an error

    -

    <reset>

    Resets the printer

    -

    <response>

    Acquires the execution result.

    The table below shows the default for each of the elements.

    The default is a factory default configured on the printer.

    Element

    Attribute

    Default value

    <text>

    lang

    "en"

    font

    "font_a"

    smooth

    "false" / "0"

    dw

    "false" / "0"

    dh

    "false" / "0"

    width

    "1"

    height

    "1"

    reverse

    "false" / "0"

    ul

    "false" / "0"

    em

    "false" / "0"

    color

    "color_1"

    x

    "0"

    y

    "21"

    align

    "left"

    rotate

    "false" / "0"

    linespc

    The value differs by printer model.

    For details, refer to Printer-specific Support Information.

    <feed>

    linespc

    <image>

    color

    "color_1"

    align

    "left"

    mode

    "mono"

    <logo>

    align

    "left"

    <barcode>

    hri

    "none"

    font

    "font_a"

    width

    "3"

    height

    "162"

    align

    "left"

    rotate

    "false" / "0"

    <symbol>

    level

    The value differs by type of 2D symbol.

    For details, refer to <symbol>.

    width

    hight

    size

    align

    "left"

    rotate

    "false" / "0"

    <area>

    x

    "0"

    y

    "0"

    width

    The value differs by printer model.

    For details, refer to Printer-specific Support Information..

    height

    <direction>

    dir

    "left_to_right"

    <position>

    x

    "0"

    y

    "21"

    XML for Controlling Customer Display


    Route element

    Element

    Function

    <epos-display>

    <window>

    Window settings

    <text>

    Displays text

    <cursor>

    Displays a cursor

    <blink>

    Sets the display to blink

    <brightness>

    Sets the brightness of the customer display

    <marquee>

    Marquee display settings for text strings

    <clock>

    Time display settings

    <clear>

    Exits the display of the current window

    <reset>

    Resets the display of the customer display

    <command>

    Runs an ESC/POS command

    <response>

    Acquires the execution result.


    ePOS-Print XML includes patented or patent pending functions. The contents must not be disclosed to third parties.

    Jump to the top