Sign in to follow this  
Followers 0
Erik.

Print file

2 posts in this topic

Hi people,

I know how to print a file:

#include <File.au3>

$file = FileOpenDialog("Print File", "", "Text Documents (*.txt)", 1)

If @error Then Exit

$print = _FilePrint($file)

If $print Then

MsgBox(0, "Print", "The file was printed.")

Else

MsgBox(0, "Print", "Error: " & @error & @CRLF & "The file was not printed.")

EndIf

But what i want:

It must open a dialog where i can select the printer where to print to.

And i don't need to select a file but i need to print the standard file when the program closes..

Who can help me

Gr Erik


I little problem, hard to find and fix

Share this post


Link to post
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
Sign in to follow this  
Followers 0