<?php
if($fac_formato_orden=='Carta')
{ 
?>
     <a href="libraries/tcpdf/documentos/orden_servicio5.php?ord_id=<?php echo $ord_id;?>" target="_blank" class="btn btn-primary btn-xs"><span class="btn-icon-only icon-print"></span></a>
<?php   
} 
else   
{   ?>
     <a href="tirillas/tirilla_servicio.php?ord_id=<?php echo $ord_id;?>" class="btn btn-primary btn-xs" target="_blank" title="Imprimir"><i class="btn-icon-only icon-print"></i></a>
<?php   }  ?>                