Select your printer model

Parameters are refined by the selected printer.

<feed>


This element allows you to specify paper feed amount in dots or by the number of lines, line spacing, and paper position after printing a line.

If you do not specify the paper feed amount, paper is advanced one line.

Attribute

unit

Attribute value

Description

"0" to "255"

Specifies paper feed amount in units of dots

line

Attribute value

Description

"0" to "255"

Specifies paper feed amount in lines

linespc

Attribute value

Description

"0" to "255"

Specifies paper feed amount per line in units of dots

pos

Attribute value

Description

"peeling"

Feed the sheet to the peeling position

"cutting"

Feed the sheet to the cut position

"current_tof"

Feed the sheet to the top of the current label

"next_tof"

Feed the sheet to the top of the next label

Sample program

  • Advances paper three lines
  •  
    <epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
    	<feed line="3" />
    </epos-print>
    
  • Inserts a line break after printing text string
  •  
    <epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
    	<text>Hello</text><feed />
    	<text>World</text><feed />
    </epos-print>
    
  • Prints labels peeling them one by one from the sheet
  •  
    <epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
    	<feed pos="current_tof" />
    	<barcode type="code39" hri="below">0001</barcode>
    	<feed pos="peeling" />
    </epos-print>
    
  • Prints multiple labels continuously
  •  
    <epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
    	<feed pos="current_tof" />
    	<barcode type="code39" hri="below">0001</barcode>
    	<feed pos="next_tof" />
    	<barcode type="code39" hri="below">0002</barcode>
    	<feed pos="next_tof" />
    	<barcode type="code39" hri="below">0003</barcode>
    	<feed pos="next_tof" />
    </epos-print>
    
  • Prints a ticket on a black mark paper
  •  
    <epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
    	<feed pos="current_tof" />
    	<barcode type="code39" hri="below">0001</barcode>
    	<feed pos="cutting" />
    	<cut type="no_feed" />
    </epos-print>
    

Supplementary explanation

  • When setting <feed> for label sheet or black mark sheet, set it in the standard mode.
  • The "pos" setting is ignored in the page mode.
  • When "30" dots is specified in "linespc", up to 240 lines can be specified in "line".
  • The line spacing setting is stored for each of the standard mode and the page mode. The "linespc" setting specified in this element affects the linespc setting of <text> and <feed>, which may follow.
  • If the line spacing for a single line is set smaller than the print character size, paper may be fed for a larger quantity than the set amount to ensure proper printing.
 

Quick Access

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

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


Jump to the top