Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
How to run the above JavaScript when we open the PDF file with Evince PDF viewer
Copy link to clipboard
Copied
This forum is for support for Adobe products. To find the capabilities of rival products, you'd need to consult the maker of the app. Be aware though that almost no non-Adobe products bother to support the full range of JavaScript commands.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more