56
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 6 Setting Up the Printer
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 char-
acters:
17. Printer Setup,
cont'd.
SETUP "CONTRAST,5"
SETUP "SER-COM,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 paper or transfer ribbon>"
SETUP "SERVICE,PRINT_DEFS,NEW_SUPPLIES,<encoded value>"
SETUP "SERVICE,PERFORMANCE,NORMAL|HIGH"