Which version of AspDotNetStorefront are you running? Are you using the old receipt format, or the new one?
In any case, you can tell if you are in the admin site using
Code:
<xsl:if test="/root/System/IsAdminSite = 'True'">
...
...
...
</xsl:if>
If you need to find out if you are on the receipt.aspx page (which is the page that opens if you select the print option), you can check with
Code:
<xsl:if test="/root/System/PageName = 'receipt.aspx'">
...
...
...
</xsl:if>
<a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>