I don't believe that's possible, no. What you can do, though, is use a
Preflight Profile to convert the file into grayscale before printing it,
but that might be a bit of an overkill...
On Thu, Feb 9, 2017 at 10:17 PM, robd64027506 <firstname.lastname@example.org>
1 person found this helpful
Actually, it is possible to specify the color profile when printing, which can be used to print the document in gray-scale.
This code does that:
var pp = this.getPrintParams(); pp.colorProfile = "Gray Gamma 1.8"; this.print(pp);
Thank you, I appreciate the replies.
My problem is not printing in grey scale, the file is B&W already, but it still registers as a color print on the printer, unless we actively change it in the printers dialog box. I want to select the printers B&W profile so that it doesn't use the color toner to print in grey scale.
I was hoping there was a way to open up the print dialog and have it go to settings and select to print in black and white from the options there. I'm sure there is a separate macro recorder program that would do it, but I wanted to accomplish this without installing a another app.
I will try your suggestion, and see if it registers as a color or B&W print when I send it to the printer. Thanks again!
No, that's not possible.
However, if you could install an additional version of your printer and set it as B&W by default then it would be possible to specify that printer as the default one selected when opening the print dialog, using a script.
That's an interesting idea, however I just tested your script, and even when the dialog box says it's printing in color, it registers on the printer as a B&W print. Which was the goal, so thanks for that.
Now for the other programs, I might try your new suggestion!