
HOW to print the data
Each Bar Code, Font, or Graphic has a five character name and
a one character name. While you can use either in Easy
Print, the five character name is always unique and is much more descriptive. The name fully specifies how to print the
data – if the name refers to a font, then text will be printed. If the name refers to a bar code, then a bar code will be
printed. If the name refers to a stored graphic, then a stored graphic is printed. Note that the data field is EMPTY – only
the first vertical bar is necessary.
The following examples show carriage returns and line feeds
separating the PRINT command as well as each field.
These CR/LF are optional and are most often used to facilitate reading by humans. Easy Print ignores everything after
the colon in the command line (with the PRINT command) until the first “@” symbol. And easy print ignores everything
after the final vertical bar indicating and of data until the next “@” symbol or closing “}”. You can place comments in this
area without affecting the printed image.
Example 1
To print a single line of data that contains the letters A-H ne
ar the top of the page, you would send the following Easy Print
job with a single field. Note that to print using Easy Print, you must first send the ESC EZ (0x1B, 0x45, 0x5A). The
characters ABCDEFGH are printed using the MF185 font.
ESC EZ
{PRINT:
@10,10:MF185|ABCDEFGH|
}
Example 2
We can use exactly the same print job from above but add a com
ment. Example 1 and Example 2 will print exactly the
same way – the comment is for humans to read only.
ESC EZ
{PRINT: This is an example of a comment and will not be printed
@10,10:MF185|ABCDEFGH| The letters A-H will be print
ed, but not this comment
}
Example 3
To print a single line of data that contains the letters A-H ne
ar the top of the page, you would send the following Easy Print
job with a single field. Note that to print using Easy Print, you must first send the ESC EZ (0x1B, 0x45, 0x5A). The
characters ABCDEFGH are printed using the MF185 font.
ESC EZ
{PRINT:
@10,10:MF185|ABCDEFGH|
}
Example 4
Bar codes are printed very similarly to fonts – just select the bar
code using its 5 character name and send the appropriate
data. The following example prints ABCDEFGH using 2:1 ratio Code 39 bar code rather than the MF185 font.
ESC EZ
{PRINT:
@10,10:BC39N|ABCDEFGH|
}