Jump to content
Sign in to follow this  
D.Plischke

Print Pdf-file To Specific Printer

Recommended Posts

D.Plischke

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
SmOke_N

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!


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.

Share this post


Link to post
Share on other sites
BigDaddyO

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


hmm... I guess I have to have a signature...

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  

×