PDF Template

Does anyone know where the PDF pulls it’s template from? I need to edit the PDF that is generated for an order, but it doesn’t seem to use the standard print template (/[YOUR SKIN]/mail/orders/invoice.tpl).