Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POS Customer Display
Message
From
27/12/2003 02:07:11
 
 
To
26/12/2003 12:52:53
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00862103
Message ID:
00862213
Views:
15
Hi James,

Thanks for the pointer.

Ken

>Ken
>
>You can use the mscomm control in vfp. The sample code is very similar to what you would use with vfp.
>
>#define DISPLAYRESET CHR(31)+CHR(17)
>* add the mscomm control to your form.
>with thisform.MsComm1
> .Comport=1
> .PortOpen=.t.
> .Settings="9600,N,8,1"
> .Output=DISPLAYRESET
> .Output=CHR(67)+"1222"
> .PortOpen=.F.
>endwith
>
>
>
>>Hi,
>>
>>Customer purchased LOGIC CONTROLS PD3000 pole displays to be used in conjunction with our POS system. We have never used one of these before. Anyone have experience and or sample code?
>>
>>LOGIC CONTROLS web site includes the following VB sample code and I am trying to decipher it but would appreciate any pointers.
>>
>> MSComm1.Comport=1
>> MSComm1.PortOpen=True
>> MSComm1.Settings="9600,N,8,1"
>> MSComm1.Output=CHR$(31)+CHR$(17) (Restest the display)
>> MSComm1.Output=CHR$(67) (send a sample character)
>> MSComm1.PortOpen=False
>>
>>The device is connected via com port 1. 2 line display with 20 characters per line.
>>
>>Thanks,
>>
>>Ken
Previous
Reply
Map
View

Click here to load this message in the networking platform