Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to Serial Port in TS
Message
De
09/09/2005 14:37:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Printing to Serial Port in TS
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048232
Message ID:
01048232
Vues:
64
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform