Checking For Print

Checking For Print

Using XSLT to Test for Print Devices

    How to test to ensure content only renders on a print device:

<xsl:if test="sc:GetQueryString('print')='1'">

      <!-- This is only shown when printing... -->

</xsl:if>