
EasyCoder E4 Direct Protocol v2.10 – Programmer’s Reference Manual
61
Chapter 6
Setting Up the Printer
The parameters in Setup Mode determine how the printer works.
There are three ways to change the printer’s setup:
• Setup strings
• Setup fi les
• Bar Code Wand
The setup parameters are described in the EasyCoder E4 User's
Guides.
Setup Strings
Setup strings allow you to change individual setup parameters
directly from the host:
SETUP
"<setup string>"
<setup string>
a string of data according to the syntax listed
below.
In the syntax description below, characters separated by vertical
bars indicate alternatives, n–nnnnn indicate variable numeric
input, and underscored space characters indicate compulsory
space characters. Do
not
enter the underscore characters but
enter spaces character (ASCII 32 dec) instead!
17. Printer Setup
SETUP "CONTRAST,5"
SETUP "SERCOM,UART1,BAUDRATE,300|600|1200|2400|4800|9600|19200|38400"
SETUP "SER-COM,UART1,PARITY,NONE|EVEN|ODD|MARK|SPACE"
SETUP "SER-COM,UART1,CHAR_LENGTH,7|8"
SETUP "SER-COM,UART1,STOPBITS,1|2"
SETUP "SER-COM,UART1,FLOWCONTROL,RTS/CTS,ENABLE|DISABLE"
SETUP "SER-COM,UART1,FLOWCONTROL,ENQ/ACK,ENABLE|DISABLE"
SETUP "SER-COM,UART1,FLOWCONTROL,XON/XOFF,DATA_TO_HOST,ENABLE|DISABLE"
SETUP "SER-COM,UART1,FLOWCONTROL,XON/XOFF,DATA_FROM_HOST,ENABLE|DISABLE"
SETUP "SER-COM,UART1,NEW_LINE,CR/LF|LF|CR"
SETUP "DETECTION,LSS_ADJUST,n|nnn"
SETUP "DETECTION,FEEDADJ,STARTADJ,nnnn"
SETUP "DETECTION,FEEDADJ,STOPADJ,nnnn"
SETUP "SERVICE,MEDIA_SIZE,XSTART,nnn"
SETUP "SERVICE,MEDIA_SIZE,WIDTH,nnnn"
SETUP "SERVICE,MEDIA_SIZE,LENGTH,nnnn"
SETUP "SERVICE,MEDIA_TYPE,LABEL_(w_GAPS)|TICKET_(w_MARK)|
TICKET_(w_GAPS)|FIX_LENGTH_STRIP|VAR_LENGTH_STRIP"
SETUP "SERVICE,PRINT_DEFS,HEAD_RESIST,nnn"
SETUP "SERVICE,PRINT_DEFS,PAPER_TYPE,<name of media or transfer ribbon>"
SETUP "SERVICE,PRINT_DEFS,NEW_SUPPLIES,<encoded value>"
SETUP "SERVICE,PERFORMANCE,NORMAL|HIGH"
SETUP "SERVICE,TESTFEED,LENGTH,nn"
SETUP "SERVICE,TESTFEED,GAP,nn"