Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a label through serial port 1
Message
 
À
17/12/2003 15:58:17
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00860088
Message ID:
00861188
Vues:
24
Hi Eric,
You need to use MS Comm control. which available free from MS. once you have the control, put it on a form or use createobject to reference this control. Then you need to set a few properties.

MyCommControl.commport=2 && comm port number
MyCommControl.portopen=.t. && open port
MyCommControl.OutPut = "The string you want to send to Comm Port"
MyCommControl.portopen=.F. && close port





>I have a label printing device connected to com1 (it's a Digi GP-460RC model) and I need to print a label using it. Can someone tell me how to do it using Visual FoxPro?
>I've tried using the 'mode' command (DOS command) and can configure de port, but when sending anything to print, nothing happens.
>Any help would be greatly appreciated
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform