I have to print some labels on an A4 paper. These labels need to be enumerated with iteration for multiple prints. About 8 labels per page, and more than 10-15 pages, depending on the requirement.
I searched online and found that postscript allows some script functionality at the time of print. I tried reading some postscript examples, but couldn't find any valid example to suggest an example of what I'm trying to achieve.
Although I know some javascript, and maybe there's a script for this in the jsx Extended Script somehow.
Example: o
n.event.print(){
smartobject_label(all){ . //all the smartobjects (labels)
for(i=0;i<=all.length;i++){
smartobject_label(this).object(number_object.text).text=i+1;
//(i+1)=starting from 1;
}
}
}
That's mostly all.
Thanks!