Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to Serial Port in TS
Message
From
09/09/2005 14:37:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Printing to Serial Port in TS
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048232
Message ID:
01048232
Views:
65
My problem involves trying to send output to a serial port over remote terminal services.

I have a device connected to a terminal that VPNs into the plant, RDCs into Terminal Server as a user and runs an application that needs to output back to the terminal a text string to send to the device (microdot marker). Clear as New Orleans mud?

I tried to SET PRINTER TO COM1 and then use ??? to send the text, but that holds the port open until I close the application. I have figured out that the MS Comm object won't work over TS, as it returns an error. The only other way that I know to do this is to use STRTOFILE() and then use RUN PRINT /D: TEST.TXT, which is less than ideal.

Any suggestions?

Thanks

Tim
Duty is ours, the results are God's - John Quincy Adams
Next
Reply
Map
View

Click here to load this message in the networking platform