Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POS, Pole display Problem
Message
From
06/11/2002 03:05:43
 
 
To
06/11/2002 01:40:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00719184
Message ID:
00719197
Views:
15
>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
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform