10-10-2007 10:23 PM
From RS232 port:
If Codex has been used with the controller then the simple serial protocol will need to be enabled by sending ESC Z SWITCH ON <CR> (without spaces). Codex automatically disables the simple protocol for security reasons, so it is a good idea to start all sessions with this command.
ESC Z S W I T C H O N <CR>
à From BASIC the first line would be CHR$(27)+”ZSWITCHON”+CHR$(13)
Send the following ASCII data to the RS232 port:
ESC J
ESC J
ESC J
ESC J 3 T O M Y H E L P E R S <CR>
ESC J 4 0 9 8 7 6 5 4 3 2 1 2 1 <CR>
à From BASIC the first line would be CHR$(27)+”J0CHRISTMAS”+CHR$(13). Etc.
In VB I can use this command to control the printer. But In LV how can I do?
I'd appreciate it if anybody give me a simple sample.
10-10-2007 10:57 PM - edited 10-10-2007 10:57 PM
Message Edited by Dennis Knutson on 10-10-2007 09:57 PM
10-11-2007 01:50 AM
Hi Dennis,
Thanks for your help, I will try it.
10-11-2007 07:32 PM
Hi Dennis,
I tried it according to your suggestion, but when I change to HEX display the text controler display "010B" not "1B", "000D" not "0D".
Can you send me your Vi file?
Thanks.
10-11-2007 09:34 PM
10-13-2007 02:15 AM
10-13-2007 10:07 AM
10-13-2007 06:00 PM
10-15-2007 12:53 AM
10-15-2007 01:30 AM