Print Button in Adobe to send Fields directly to labels printer for printing using JavaScript
Hi Everyone
I have the following request where I want to collect a number of fields in an Adobe doc then compine them in an array so I can compose a list of lables and send it to a sticky lables printer EPSON L90 for printing .
I wrote the following script in a "Print Button" to collect the requested fileds in two arrayes "P_FieldName" & "V_FieldName".
var P_FieldName=[];
var V_FieldName=[];
var pRowStr="";
for (var p=1; p<4; p++) {
if (p>1) pRowStr="_"+p;
for (var i=1; i<13; i++) {
var pField=this.getField("Part NumRow"+i+pRowStr);
var vField=this.getField("Part VendorRow"+i+pRowStr);
if (pField != null){
P_FieldName.push(pField.valueAsString);
V_FieldName.push(vField.valueAsString);
}
}
Would you please help me with the needed code to compine and send those arrays to the EPSON L90 printer for printing them as lables
