I'd like to get a list of all the pages in my document that have figures on them. Specifically, the page numbers in the PDF file that is created from my LaTeX document. This would allow me to print only those pages in color while keeping the remainder in B/W, thus saving printing cost. Unfortunately, the printer itself only allows selecting color or B/W for a whole print job, so I need to separate the page ranges manually (some models are able to decide on a page-by-page basis, but not this one).
I'm using TeX Live on Linux (Debian-based).
Is there a way to automatically determine this using some tool or options?