Sign in to follow this  
Followers 0
D.Plischke

Print Pdf-file To Specific Printer

3 posts in this topic

Hello Forum!

I would like to print a PDF-file to a specific printer.

The background is, that my Brother MFC does not support scanning an direct printing to a specific printer.

I want to scan to PDF with my MFC and AutoIt should watch a directory, and if there is a PDF-file, it shoult print it out - but not to the standart printer!

Can I manage this?

Thanks....

Share this post


Link to post
Share on other sites



Not to sure about PDF, but you could look at _FilePrint() / and The FileFindFirstFile()/NextFile() - Store them in an ini (IniWrite() / IniRead()) and compare files in the directory, and if there is a change then use the _FilePrint() option (but I didn't see it had a choice for choosing a printer). Then you could look at the original UDF here: http://www.autoitscript.com/forum/index.ph...3&hl=_FilePrint

And also take a look maybe at this link too: http://www.autoitscript.com/forum/index.ph...8524&hl=printer

Heck, there might even be a COM option out there I don't know of :think:

Good luck and welcome to the forums!


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

You may also want to check out this post Change Default Printer I wrote this for printing PDF files using a PrimoPDF maker. It will change your default printer and then once you finish printing it will change it back to the old one.

Mike


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