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.