Help with Printmaker Plugin
We've used it successfully to generate PDF tickets for orders. It may/may not help in your case.

On our order page, we simply have:

&lt;a target="_blank" href="/orders/tickets?orderId={{ order.number }}"&gt;Download PDF Tickets&lt;/a&gt;


Then, our order/tickets template:

{% set html %}
    {% set orderId = craft.request.param('orderId') %}

    // HTML/CSS to generate ticket
    &lt;html&gt;
    &lt;head&gt;
    &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
    &lt;style&gt;

    body {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 13px;
        line-height: 1.4em;
        font-weight: bold;
    }

    &lt;/style&gt;
    &lt;/head&gt;

    &lt;body&gt;

        // Ticket HTML

    &lt;/body&gt;

    &lt;/html&gt;

{% endset %}

{% set settings = {
    compress: true,
    orientation: 'portrait',
    size: 'letter',
    cacheDirectory: 'cache/tickets',
    filename: 'TICKET-' ~ craft.request.param('orderId') ~ '.pdf'
} %}

{% set pdf = craft.printmaker.pdfFromHtml(html, settings) %}

{{ pdf.output }}