Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to write to COM and LPT port
Message
 
À
21/06/2002 05:10:38
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00669079
Message ID:
00670992
Vues:
17
>Thank for your advise, I know that using MSCOMM for COM PORT
>but can't find any solution for LPT port, and testing using
>printer object is not working too.

You can also use sequential file input/output functions to work with COM and LPT ports:
Open "COM1:9600,N,7,2,RS,CS,DS,CD" For Binary As #3
Print #3, "abcd"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform