How to print a Panel Page? I am using the Print module.

I have enabled the node/%node template in panels and used a selection rule to select my specific node type and added fields into the panels regions etc. That all works fine.

I need to be able to use the Print module to see a print-friendly version of this node. However when I go to /print/[nid] I just get a completely blank page.

So is it possible to have a printer friendly version of a panels page? i.e in a template file or another method?
Checkout the piece of code here. Just copying it here for reference

Create a function as follows in template.php

function get_panel_view(&amp;$node) {
    // Load my task plugin
    $task = page_manager_get_task('node_view');


    // Load the node into a context.
    ctools_include('context');
    ctools_include('context-task-handler');
    $contexts = ctools_context_handler_get_task_contexts($task, '', array($node));

    $output = ctools_context_handler_render($task, '', $contexts, array($node-&gt;nid));
    if ($output !== FALSE) {
        return drupal_render($output['content']);
    }
    // Otherwise, fall back.
    return drupal_render(node_view(node_load($node-&gt;nid)));
}


Template should be called print--node--.tpl.php and you can print it as 

print get_panel_view($print['node']); in place of print $print['content'];

Rebuild theme cache