abracadabraPDF › Forums › PDF – Général › Lancer l’impression page après page › Répondre à : Lancer l’impression page après page
16 mars 2023 à 14:14
#72691

Maître des clés
Ce script fonctionne, il faut remplacer « Adobe PDF » par le nom exact de l’imprimante :
for (var z=0; z<this.numPages; z++) {
var pp = this.getPrintParams();
pp.interactive = pp.constants.interactionLevel.automatic;
pp.pageHandling = pp.constants.handling.fit;
pp.printerName = "Adobe PDF";
pp.printRange = [[z,z]];
this.print(pp);
}