# Just save colored pages of a document?

How can I just save the colored pages of a document? I want to print the colored pages on another printer...

-
Nice question. How are the pages being colored? Is it by the xcolor package or by including colored graphics? –  Matthew Leingang Dec 14 '10 at 17:13
Sort of response to your comment below: would it be enough if all pages with included graphics were selected? Or if you were willing to indicate in the document which graphics were coloured and which not? (Namely, do you want LaTeX to figure out which graphics are coloured and which not?). –  Loop Space Dec 15 '10 at 12:18

I suppose you want to use LaTeX. Maybe pdfpages is a solution for you?

Take this to be color.tex:

\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={3,7}]{final.pdf}
\end{document}


Alternatively there is always pdftk.

-
using pdftk this might be done by pdftk final.pdf cat 3 7 output color.pdf –  Carsten Thiel Dec 15 '10 at 15:01

If you are on Linux, there is a short shell script which returns list of color page numbers (not tried personally).

-