Conference submissions typically limit a document to a certain number of pages, and when I'm editing, I'd like to be able to add a watermark to mark pages that are over the limit. For example, if I have a 11 page document and the conference submission limit is 9 pages, I'd like the watermark to automatically be added to pages 10 and 11.
I've looked at the xwatermark package, but it only permits watermarks between prespecified pages, and does not allow any of the endpoints to be left unspecified. I tried using the lastpage package to access the last page via \pageref{LastPage} and do something like
\newwatermark[pages=10-\pageref{LastPage},color=gray!25,scale=3,xpos=0,ypos=0]{DRAFT}
but that triggers an error.
