Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
POS Customer Display
Message
De
26/12/2003 12:52:53
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
26/12/2003 08:02:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00862103
Message ID:
00862166
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform