Keyboard
Programming Manual
15
SATO Europe
Using K012
By the end of this section, you will be able to
1. Edit a TSKL program file on a PC.
2. Download the program file to the K012.
3. Execute the program.
Edit A Program
To edit a program file, you need a plain text editor, for example: DOS Editor, Windows
Notepad or the enclosed K012 Windows software.
The following is an example of editing with a general text editor
.
1. Open a new text file.
2. Add the header at the first line of the file as listed below:
DOWNLOAD “MYPROG.BAS”
Where “MYPROG.BAS” is the file name to be stored in keyboard memory
.
3. Edit the program contents.
4. Insert a line of command at the end of program as below:
EOP
5. Save this file.
The advantages of using enclosed K012 Windows utility software is that users don’t have to
add header and end of program commands to the program file.
Download A Program
Users can download the program either by DOS commands or via the enclosed K012
Windows software.
Connect the PC and K012 together with the keyboard COM2 port.
Connect the K012 COM1 cable to the printer.
Download the program with DOS commands:
Enter the commands as below:
C:\> MODE COM2 96,N,8,1
(sets communications for COM2 of your PC )
C:\> COPY MYPROG.BAS /B COM2
Where MYPROG.BAS is the name of program file, COM2 is the serial port of
your PC.
Содержание Smart Keyboard
Страница 1: ...SATO Smart Keyboard Programming manual...
Страница 90: ...Programming Manual Keyboard SATO Europe 88...
Страница 93: ......