Inventua PrinterFriendlyLink

The Inventua PrinterFriendlyLink skin object for DotNetNuke displays a "printer-friendly" link which displays the current page in a printer-friendly skin.  You can specify the printer-friendly skin, link text and an image for the link.

PrinterFriendlyLink is Free!
The Inventua PrinterFriendlyLink module is available at no cost.  Most of Inventua's DNN modules are available on a try before you buy basis. You can download them freely from Inventua, and try them out for as long as you like. If you are happy with the product, you can buy it at SnowCovered

Installation
The installation zip file is configured as a DotNetNuke Private Assembly. To install Inventua DNN PrinterFriendlyLink to your DNN portal, log in as the DNN host user "host" and use the DNN Module Definitions page to upload the module.

Compatibility
This module has a single version that is compatible with both DNN 3 and 4. 

Configuration Options

Text  Specifies the text to display in the link (for example, "Printer-Friendly").
Image Specifies an image to display to the left of the text.  If left blank or omitted, no image is shown (for example, "~\images\print.gif").
SkinSrc

Specifies the name or the printer-friendly skin.  The SkinSrc must contain either a [G] or [L] prefix to indicate whether the skin is a host skin (G) or a portal skin (L).  The prefix should be followed by the path of the skin from the portal root, and should not contain the ".ascx" extension.  For example, a portal skin called "printfriendly.ascx" within a skin set called "acme" would be represented by:

  [L]Skins\acme\printfriendly

 
Example - .ascx skin file:

<%@ Register TagPrefix="dnn" TagName= "INVPRINTERFRIENDLYLINK" Src= "~/DesktopModules/Inventua - PrinterFriendlyLink/PrinterFriendlyLink.ascx" %>

<dnn:INVPRINTERFRIENDLYLINK runat="server" id="PF" text="Printer-Friendly" image= "~\images\print.gif" skinsrc= "[G]Skins\DNN-Blue\PrinterFriendlyExample"/ >

Example - .html/xml skin filepair
 
In HTML, use [INVPRINTERFRIENDLYLINK] to place a printer-friendly link within your skin.
 
skin.xml

<Objects>
  <Object>
    <Token>
      [INVPRINTERFRIENDLYLINK]
    </Token>
    <Settings>
      <Setting>
        <Name>Text</Name>
        <Value>Printer-Friendly</Value>
      </Setting>
      <Setting>
        <Name>Image</Name>
        <Value>~\images\print.gif</Value>
      </Setting>
      <Setting>
        <Name>skinsrc</Name>
        <Value>[G]Skins\DNN-Blue\PrinterFriendlyExample</Value>
      </Setting>
    </Settings>
 
</Object>
</Objects>


Creating a printer-friendly skin
The printer-friendly link skin object does not provide printer-friendly output - it simply provides an easy way to link to a skin that does.  Your printer-friendly skin should be based on your main portal skin, and should contain all of the "panes" that your main skin does, but should also contain formatting elements to constrain the page width (a good way to do this is to add a style="width: 7.6in" attribute to the outermost element, or add a DIV that spans your entire skin and add the style attribute to that).  The installation zip file contains an example printer-friendly skin based on the core "DNN Blue" skins called "PrinterFriendlyExample" you can use for reference.< /P>

Conditions of use
Permission is hereby granted to any person obtaining a copy of the Inventua DNN PrinterFriendlyLink skin object and associated documentation files (the "Software"), to use the Software without restriction, including the rights to use, copy or otherwise use the software for commerical or non-commercial use, but excluding any rights to reverse engineer or remove Inventua logos and licensing information. This permission does not imply or otherwise grant any rights to any other Inventua intellectual property including but not limited to logos, trademarks, documentation and software products.

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This help file, the accompanying software and other materials supplied with the software are Copyright © Inventua, 2006. All Rights Reserved.

About DotNetNuke
The Inventua DNN PrinterFriendlyLink Module is a DotNetNuke portal module. For more information on DotNetNuke, visit http://www.dotnetnuke.com.

About Inventua
Inventua provides software tools for information technology organisations that facilitate and maximise synergy and cohesion between development, support, marketing and management teams, improves software product quality and helps information technology organisations to provide great products and great support. Visit Inventua on the web at http://www.inventua.com