Write data to COM/LPT ports without using the API
This simple yet effective code lets you send any data to the COM/LPT ports on the computer.
AI
AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
மூலக் குறியீடு
Dim strTest as String strTest = "This is the data I want to write." 'This will write strTest to LPT1 Open "LPT1:" For Output Access Write As #1 Print #1, strTest Close #1 'This will write strTest to COM1 Open "COM1:" For Output Access Write As #1 Print #1, strTest Close #1 'It's that simple!
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது