5. Separators
EasyCoder E4 Direct Protocol v2.10 – Programmer's Reference Manual
When transmitting variable input data to a predefi ned layout,
the string must contain certain separating characters. By default,
you should use <STX> as start-of-text separator, <CR> as fi eld
separator, and <EOT> as end-of-text separator.
However, the FORMAT INPUT command allows you to select
other characters as separators if the default separators for
some reason cannot be produced or will interfere with the
host computer system. Simply insert the desired separator charac-
ters (enclosed by double quotation marks) into the FORMAT
INPUT command. Avoid using characters like XON/XOFF
or ENQ/ACK, which may interfere with the communication
between printer and host.
You must fi rst leave Layout Mode using an INPUT OFF com-
mand, change the separators using a FORMAT INPUT com-
mand, and then enter Layout Mode again using an INPUT ON
.
command.
If you transmit a FORMAT INPUTcommand containing separa-
tors identical to any of the separators already stored in the
printer's memory, an error will occur unless you fi rst enter the
Immediate Mode.
The separators are saved in the printer's fl ash memory.
FORMAT INPUT "<start separator>"[,"<end separator>"[,"<fi eld
separator>"[,"<character fi lter>"]]]
All separator strings may be up to 10 characters long. Characters, that
cannot be produced by the keyboard of the host, can be substituted by
CHR$(<nnn>) value commands, where nnn is the decimal ASCII
value of the character.
<start separator>
<end separator>
<fi eld separator>
<character fi lter>
Example:
INPUT OFF ↵
FORMAT INPUT "#","&",CHR$(13),"§" ↵
INPUT ON ↵
Chapter 6
Setting Up the Printer
Default STX (ASCII 02 dec.)
Default EOT (ASCII 04 dec.)
Default CR (ASCII 13 dec.)
Is a string of characters to be fi ltered out.
Default: "" (empty string)
51
Need help?
Do you have a question about the EasyCoder E4 and is the answer not in the manual?