General information
Category:
Third party products
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only