D.Plischke Posted May 2, 2006 Share Posted May 2, 2006 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.... Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 2, 2006 Moderators Share Posted May 2, 2006 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=_FilePrintAnd also take a look maybe at this link too: http://www.autoitscript.com/forum/index.ph...8524&hl=printerHeck, there might even be a COM option out there I don't know of 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. Link to comment Share on other sites More sharing options...
BigDaddyO Posted May 2, 2006 Share Posted May 2, 2006 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now