Skip to main content
taleby76543681
Participant
Jan 16, 2018 8:19 AM UTC
Answered

Print First Page for Multiple PDF's

Dears,

I am using the below script (which I found online) to print the first page of multiple PDF's. It is working great, but the only thing missing is that I need to print in grayscale. Can anyone help? Below is the script:

/* Print 1st Page */

/* This sequence prints the first page of

each document selected to the default printer.

*/

this.print

({

bUI: false,

nStart: 0,

bSilent: true,

bShrinkToFit: true

});

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Jan 16, 2018 9:19 AM UTC

You can try using the PrintParams object and specify a B&W color profile, or you can use the colorConvertPage method and change the actual page before printing it.

2 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Jan 16, 2018 9:19 AM UTC

You can try using the PrintParams object and specify a B&W color profile, or you can use the colorConvertPage method and change the actual page before printing it.

Translate
taleby76543681
Participant
Jan 16, 2018 9:26 AM UTC

Thanks try67​ for your help!

However, I am not being able to find any example or sample code online on how to use color profile or colorConvertPage. Are you able to provide an example? This would be much appreciated!

Translate