Select your printer model

Parameters are refined by the selected printer.
  • EU-m30
  • TM-J2000
  • TM-J2100
  • TM-L90
  • TM-L90 LFC
  • TM-L100
  • TM-m10
  • TM-m30
  • TM-m30II
  • TM-m30II-H
  • TM-m30III
  • TM-m30III-H
  • TM-m30II-NT
  • TM-m30II-S
  • TM-m30II-SL
  • TM-m50
  • TM-m50II
  • TM-m50II-H
  • TM-P20
  • TM-P20II
  • TM-P60
  • TM-P60II
  • TM-P80
  • TM-P80II
  • TM-T20
  • TM-T20II
  • TM-T20III
  • TM-T20IIIL
  • TM-T20IV-L
  • TM-T20X
  • TM-T20X-II
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82IV-L
  • TM-T82X
  • TM-T82X-II
  • TM-T83III
  • TM-T83IV
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

FS ( L   <Function 33>


[Name]

Paper layout setting

[Format]

ASCII
   
FS
  
(
  
L
  
pL
  
pH
  
fn
  
sm
  
[sa]
  
;
  
[sb]
  
;
  
[sc]
  
;
  
[sd]
  
;
  
[se]
  
;
  
[sf]
  
;
Hex
1C
28
4C
pL
pH
21
sm
[sa]
3B
[sb]
3B
[sc]
3B
[sd]
3B
[se]
3B
[sf]
3B
Decimal
28
40
76
pL
pH
33
sm
[sa]
59
[sb]
59
[sc]
59
[sd]
59
[se]
59
[sf]
59

[Range]

fn = 33
Other parameters: different depending on the printers
The value may be invalid in combination with the parameter. For details, refer to [Notes].

[Default]

different depending on the printers

[Description]

Sets the paper layout (layout reference, vertical layout, horizontal layout).
  • Sets "Layout reference (print reference/eject reference)" with sm.
  • sm
    Layout reference
    Relevant paper
    "0"
    No reference (do not use layout)
    Receipt (no black mark)
    "1"
    Print reference: Label top edge
    Eject reference: Label bottom edge
    Die cut label paper (no black mark)
    "2"
    Print reference: Black mark bottom edge
    Eject reference: Black mark top edge
    Die cut label paper (black mark)
    "3"
    Print reference: Black mark top edge
    Eject reference: Black mark top edge
    Receipt (black mark)
    "51"
    Print standard: Upper edge of black mark
    Eject standard: Upper edge of black mark
    Black mark paper
  • Sets "Vertical layout" with sase.
  • Vertical layout
    sa
    (sa = "0"): Does not specify the distance from the print reference to the next print reference
    (sa ≠ "0"): Sets distance from the print reference to the next print reference
    sb
    The distance from the print reference to the print start position
    sc
    The distance from the eject reference to the cutting position
    sd
    The distance from the eject reference to the label bottom edge position
    se
    The distance from the eject reference to the bottom edge of the printing area
    • The setting unit is 0.1 mm.
  • Sets "Horizontal layout" with sf.
  • Horizontal layout
    sf
    Paper width
    • The setting unit is 0.1 mm.

[Notes]

  • Use this function at the start of the line when the Standard mode is selected.
  • The relationship between the setting values and paper layout of the vertical layout and horizontal layout is shown in the diagram below. A positive number specifies the paper feed direction (downward in the diagram), while a negative number specifies the reverse of the feed direction (upward in the diagram).
    • When using die cut labels (sm = "1")
    • Explanatory notes
      Graphic
      : Print reference (= top edge of label)
      Graphic
      : Eject reference (= bottom edge of label)
      Graphic
      : Top edge/bottom edge of printing area or cutting position
      Graphic
      : Paper (label paper)
    • Graphic
    • When using die cut labels with black mark (sm = "2")
    • Explanatory notes
      Graphic
      : Print reference (= bottom edge of black mark)
      Graphic
      : Eject reference (= top edge of black mark)
      Graphic
      : Top edge/bottom edge of printing area or cutting position
      Graphic
      : Paper (label paper)
      Graphic
      : black mark
    • Graphic
    • When using receipts with black mark (sm = "3")
    • Explanatory notes
      Graphic
      : Print and eject reference (= top edge of black mark)
      Graphic
      : Print starting position or cutting position
      Graphic
      : Paper (label paper)
      Graphic
      : black mark
    • Graphic
  • ∗ Parameters with a fixed value for the domain are not shown.
  • When (sm = "1") or (sm = "2") is specified, note the following points when setting the printing area and cutting position.
    • Specify that the printing area fits within with the label paper (do not specify any part of the printing area on the backing paper).
    • Specify that the cutting position in on the backing paper (do not specify the cutting position on the label paper).
  • The setting values of (sasf) expressed as decimals are converted to text data and the high-order values are specified first. When specifying a negative number, add "-" at the beginning.
  • Example:
  • When specifying 120, the data is the 3 bytes "120"
    [Hex = 31h, 32h, 30h / Decimal = 49, 50, 48]
    When specifying -10, the data is the 3 bytes "-10"
    [Hex = 2Dh, 31h, 30h / Decimal = 45, 49, 48]
  • If the currently set "Layout reference" and (sm) are the same value, (sasf) can be omitted. Omitted settings are not changed. However, when omitting parameters ";" cannot be omitted.
  • Example:
  • (When omitting sc and se) FS ( LpL pH fn sm sa ; sb ; ; sd ; ; sf ;
  • Calculates the effective value used for actual print operation based on the setting values of this function, the setting value for paper width, and the limiting values for mechanical configuration (mechanical pitch, print head position, etc.) The setting value and effective value can be acquired with FS ( L   <Function 34> of this command.
  • When changing to paper with a different layout, reset the paper layout with this function.
  • The paper layout setting is enabled until the following operations are executed. It is not initialized by ESC @. The setting value for this function is the saved data of GS ( M   <Function 1> .
    • Executing this function
    • Turning off the power or resetting
  • The setting values of this function affect the following operations and values.
  • Setting value
    Affected operation or value
    sa
    Paper layout error detection
    sb
    Label paper/black mark paper feed to the print start position
    sc
    Label paper/black mark paper feed to the cutting starting
    sd
    Label paper/black mark paper feed to the peeling position
    se
    Skipping backing paper when printing die cut label paper
    sf
    Standard mode/Page modeprintable area
    • Even if the setting value for paper width (sf) is changed with this function, the ESC W and GS W setting values do not change. After changing (sf) of this function, set ESC W and GS W, or initialize the setting values of ESC W and GS W with ESC @. However, if you use ESC @, the setting values of the various commands are also initialized.
  • When settings other than "No reference" are specified for layout reference (sm ≠ "0"), a paper layout error may occur with a vertical layout (sa). For details of the paper layout error, refer to the model information. The special margin (the setting value of FS ( L   <Function 80> of this command) is taken into account in detection of the print reference when the paper is changed or the first sheet is printed after turning on the power. Refer to FS ( L   <Function 80> of this command for details of the special margin.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ESC/POS® includes patented or patent pending commands. The contents must not be disclosed to third parties.


ESC/POS® Command Reference for TM Printers

Jump to the top