Hi I have done some searching on web sites and it looks as though this is possible, but I have not found a certain solution. It may be that each printer is different.
So I wanted to ask.
Is it possible to create a print button that will print to a specific printer?
The last page of my acrobat document is designed so that it will format and print with my label printer. Brother ql 570
Thank you for your time.
John
Use the 'printParams' to set your printer's name, printerName, and other parameters and then use the 'print' method with the 'printParams' option to print. You may need to use 'printerNames' to get the system name of your specific printer.
Hi Thank you for the help.
I have entered the following codes both work separately. However I can not get them to work together. The first line prints page 3 the second one prints to the specified printer.
Any tips on what I am missing to get them to work together? I know next to nothing about Java.
Thank you
John
print()
var pp = this.getPrintParams();
pp.printerName = "Brother QL-570";
this.print(pp)
A tip, which I'm sure you'll just find annoying but one day it may help you. You aren't using Java, you're using JavaScript. These are two quite different things, both of which sometimes get used with PDFs. Sometimes JavaScript is shortened to JS, but it's probably best to just write it all out. (Why might it matter? One day you may be trying to follow advice on the web, and it's vital to know whether it's about Java or JavaScript).
Did you by chance run across the Adobe Acrobat Guide for Javascript in Print Production? In the bookmarks section click "Print Production"
http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascri pt/AcroJSGuide.pdf
North America
Europe, Middle East and Africa
Asia Pacific