Jump to content

Recommended Posts

Posted

how to select files then send to LPT1 port????

search through the website,cannot find the select and send command...

i got choose file function, but want to make the file selection faster,and user just tick/select then click send without browsing

Posted

Look at the example scripts in the help file for _WinAPI_WriteFile() and use this to get the handle:

$hLPT1 = _WinAPI_CreateFile("\\.\LPT1", 2)

:blink:

I have the file, i just want to send to LPT1 port...then i can procedd to make GUI, to store all my files and allow user to select and send
Posted

Perhaps you missed the point, that just gets you a handle to the device which you would then use with FileWrite() or _WinAPI_WriteFile() (I don't have an LPT device to test with) to send the data.

:blink:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...