Instructions
`
Chapter 5 Programming Commands
There is a programming mode available for model 8035 with ESC/POS mode.
In this Chapter,
we will use ESC/POS mode for multi-languages, Please refer to Appendix for
details.
The basic function of the 8035 display is comparable to the display
programming by your software should be as easy. You only need open the
COM-port on which the display has been connected from you. Then, you just
needs send the character what you want to display on 8035 directly via the
COM port. Please following the USB/RS232 parameters to use as below:
9600 Baud, No Parity, 8 Data Bits, 1 Stop bit
In Basic, you would initialize the interface as follows:
OPEN “COMx: 9600, N, 8, DS0” FOR OUTPUT AS #1
(x=number of the COM port you are using for the display)
And you would print something to the display using the PRINT command:
PRINT#1, “Hello World!”
In the end, you can close the interface:
CLOSE #1
In other programming languages, the commands for serial output shall be
different, but they will work in a similar way. For some compilers, you will
need
an extra toolbox, that offers you usb routines. Please refer to your
compiliers/interpreters manual for more details.
Example:
OPEN “COMx: 9600, N, 8, 1, DS0” FOR OUTPUT AS #1
PRINT #1, “Hello World!”
CLOSE #1
9