Update card.class.php

Add print functions