diff --git a/include/class.ticket.php b/include/class.ticket.php
index 6a27d981bb24bdc7f05a6c8adec30615f0f7ed24..2fd5d4f29c8a049659a04f9b7a8365be626bb436 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -1550,6 +1550,11 @@ class Ticket{
         return $id;
     }
 
+    //Print ticket... export the ticket thread as PDF.
+    function exportPDF() {
+        return false;
+    }
+
     //online based attached files.
     function uploadAttachments($files, $refid, $type) {
 
diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php
index a299b04fc1afcbe5039ba45809e655378f4d8cac..b8a2e8097c5e3ff81c0bdbd800114d2be3510a43 100644
--- a/include/staff/ticket-view.inc.php
+++ b/include/staff/ticket-view.inc.php
@@ -40,7 +40,7 @@ if($ticket->isOverdue())
                 <a href="tickets.php?id=<?php echo $ticket->getId(); ?>" title="Reload" class="reload">Reload</a></h2>
         </td>
         <td width="50%" class="right_align">
-            <a href="#" title="Print Ticket" class="print">Print Ticket</a>
+            <a href="tickets.php?id=<?php echo $ticket->getId(); ?>&a=print" title="Print Ticket" class="print">Print Ticket</a>
             <a href="tickets.php?id=<?php echo $ticket->getId(); ?>&a=edit" title="Edit Ticket" class="edit">Edit Ticket</a>
         </td>
     </tr>
diff --git a/scp/tickets.php b/scp/tickets.php
index 567c3f69755525aca1146ce8433a44e2485c6fc3..e9a13f3efcf1a5b5d811a32a29310a7b94102510 100644
--- a/scp/tickets.php
+++ b/scp/tickets.php
@@ -464,6 +464,8 @@ if($ticket) {
     $inc = 'ticket-view.inc.php';
     if($_REQUEST['a']=='edit' && $thisstaff->canEditTickets()) 
         $inc = 'ticket-edit.inc.php';
+    elseif($_REQUEST['a'] == 'print' && !$ticket->exportPDF())
+        $errors['err'] = 'Internal error: Unable to export the ticket to PDF.';
 } else {
     $inc = 'tickets.inc.php';
     if($_REQUEST['a']=='open' && $thisstaff->canCreateTickets())