Jump to content

print/copy to LPT1


Recommended Posts

Hello everyone,

I have been sitting for a week now, trying to figure out AutoIt.

I have made a script that will create a txt file, but now I need it to print it to the LPT1 port, but I simply can not figure out how to.

Can you please help me.

Cheers

Link to comment
Share on other sites

How about using _FilePrint


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

  • 2 weeks later...

How about using _FilePrint

Well thats not very helpful and this seems to be the answer to all who has a printing question. So please if you dont have any helpful info, just dont reply.

I need it to print directly to LPT1. I dont need the windows printer selection dialog box. When I hit the print button on my autoit script, it will print automatically to LPT1.

Cheers

Link to comment
Share on other sites

Well thats not very helpful and this seems to be the answer to all who has a printing question. So please if you dont have any helpful info, just dont reply.

I need it to print directly to LPT1. I dont need the windows printer selection dialog box. When I hit the print button on my autoit script, it will print automatically to LPT1.

Cheers

IF you had tried the _FilePrint example in the help file you would have seen that it does not use the windows printer selection dialog box but prints directly to the default printer. Because you said that you generated a .txt file then using _FilePrint is the easiest way to print it IMHO.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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