Totpages (%#)

The pseudo-directive %#, inserted anywhere in the printfile, will be converted to the total number of pages in the printfile. Note that "totpages" is not part of the command; just the symbol %#. Also note that unlike the other GDI print directives, this one does NOT require the // prefix. See the discussion of the EZSPL Old Format for more details.