These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Force print form button to automatically select printer

Prof-KOS
Registered: Dec 19 2008
Posts: 4

I'm creating an idiot proof quote form for an inside sales team. One of my thoughts had been to have a print button that, when clicked will automatically select the printer (not the default) that they will be using and out put immediately. Is this possible. I'm fairly new at Javascript, but it seems as if this would be possible.

Any help would be greatly appreciated.

My Product Information:
Acrobat Pro 9.0, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
You can specify the name of your destination printer (Windows only). Here is an example taken from the [url=http://www.adobe.com/devnet/acrobat/pdfs/js_api_reference.pdf]Javascript for Acrobat API Reference, version 8[/url]:
var pp = this.getPrintParams();pp.printerName = "hp officejet d series";this.print(pp);

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

Prof-KOS
Registered: Dec 19 2008
Posts: 4
That's awesome. works great. thanks.