39
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 5 Feeding and Printing Commands
Chapter 5
Feeding and Printing Commands
1. Paper Feed
In order to provide maximum flexibility, there is a number of com-
mands for controlling the paper feed:
•
CLEANFEED
•
FORMFEED
•
TESTFEED
CLEANFEED <feed length in dots>
Runs the printer's paper feed mechanism in order to facilitate clean-
ing of the print roller.
FORMFEED | FF [<feed length in dots>]
Feeds out a blank label or optionally feeds out (+) or pulls back (-)
a certain amount of paper without printing.
TESTFEED
Feeds out a blank label while adjusting the label stop/black mark
sensor.
The paper is fed past the printhead by a rubber-coated roller driven
by a stepper motor. The software can control the stepper motor with
an accuracy of one dot in either direction. The movement of the
paper is detected by the label stop sensor (LSS) or black mark sen-
sor (BMS), except when various types of paper strip are used.
The printer's setup with regard to Detection, Media Size, Length
and Media Type determines how the paper feed will work. There
are five different types of Media Type options (also see the
EasyCoder 301 Installation and Operation Manual):
• Label (w gaps)
• Ticket (w mark)
• Ticket (w gaps)
• Fix length strip
• Var length strip
When a
FORMFEED
,
TESTFEED
or
PRINTFEED
command is
executed, the photoelectrical label stop sensor (LSS) detects the
forward edge of each new label or the forward edge of each detec-
tion gap, and the black mark sensor (BMS) detects the forward edge
of each black mark, as the paper is fed past the sensor.