Added in Version 1.3.0

PageModeAreaParameter

Printing area setting parameters in page mode

Constructor

PageModeAreaParameter(width: Double, height: Double)

Initialize object

Property

width

Printing area width (mm)

height

Printing area height (mm)

x

X position of the start position (top left) of the printing area (mm)

y

Y position of the start position (top left) of the printing area (mm)

Method

setX(x: Double)

Set X position of the start position (top left) of the printing area

setY(y: Double)

Set Y position of the start position (top left) of the printing area

  • Valid range of printing area

    • The width of the printing area should be set to 3mm or more and less than the printing area of the printer. The printer’s default printing area width is set as shown in the table below. It can also be set up usingsettingPrintableArea(width: Double)method.

    • The height of the printing area should be set at least 3mm and less than 300mm.

    • addPageMode(parameter: PageModeAreaParameter, builder: PageModeBuilder)method allows you to set a new printing area within the current printing area. The new printing area must fit within the current printing area.

    Model

    Initial value of printing area width

    TSP100IV series

    72mm

    mPOP series

    48mm

    mC-Print2 series

    48mm

    mC-Print3 series

    72mm

    mC-Label3 series

    72mm

    SM-S210i series

    48mm

    SM-S230i series

    48mm

    SM-T300 series

    72mm

    SM-T300i series

    72mm

    SM-T400i series

    104mm

Note

  • If the width or height of the printing area is less than the valid range, the printing data is not generated.

  • If the width or height of the printing area exceeds the valid range, print results may be distorted.

  • When setting a printing area that does not fit within the current printing area, the common area between the two areas is set as a new printing area.