Directly accessing the ports doesn't work in Windows.
If you have a printer installed, you might try:
set printer to name ...
And then send information directly to the printer:
??? SomeText
This is what I usually do to print in text-mode, but I don't know if it works with printers connected to COM ports.
>HI
>i am tyring to convert my P.O.S system from from foxpro 2.6 to VFP6
>in vfp pole display is not working.
>
>in foxpro2.6 i wrote this command, and it works good
>
>set pritn to com1
>set print on
>? "thank yuou"
>set print to lpt1
>
>if i send the signal to printer it do work on printer, but not on com1.
>
>best regard
>
>ramzan ali
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)