ive done something similar in the past but like this
create an extra button to print your invoice and add an extra var
ie - orders.php?orderid=blah&showcc=Y
then on the invoice wrap the cc code part in this
Code:
{if $smarty.get.showwcc eq "Y"}
cc details
{/if}
this is a very basic example and the button code is made up but should give you an idea of how to achieve it