>Dear All,
>In my Point of sales System, I connected the Pole display unit to COM1.
>To display the messages I am using the following command
>
>Set print to COM1
>@1,1 say 'Item name'
>@2,1 say 'Qty'
>set print to
>
>Things are working fine, but the problem is
>
>1.When its Execute fist time display comes in order which I specified i.e., Item name in first row, 'Qty' in the next row, Next time onwards sometimes 'Qty' comes in the first row and 'Item name' in the second row. What could be the reason? Pls help
>
In addition to the other recommendations, I'd suggest using ??? to write to the Pole Display unless it installs as a printer, with a printer driver. ??? writes directly to the device without having Windows try to interpret the data being sent to the port.
You need to end each line with a CR/LF pair ( CHR(13) + CHR(10) ) using this approach. I would suggest sending an End of Page character ( CHR(12) ) followed by a CR/LF pair prior to sending each pair of messages; if may be enough to send the CHR(12); experiment with the Pole Display to find out. There is probably documentation for the Pole Display that describes the control sequences which it can interpret, and that would be the most definitive source.
There is a standard set of controls for handling POS equipment called oPos; I've seen it offered by Epson in the past. Several people on UT have used it - I'd suggest searching the message base for the term oPos to find messages regarding using it with point of sale equipment.
>2. I wanted to know how to clear the display, like 'clear screen' command
>
>
>Hope someone will help me in this
>
>Thanks in advance
>
>Jijo David