My module is generating a report (HTML) and I use this:

  $meta = array(
    'url' => $_GET['q'],
    'name' => format_username($user),
    'title' => t('MyModule Reports - @date', array('@date' => date('F j, Y'))),
    );
  print_pdf_generate_html($output, $meta, 'pdf_' . date('Y_m_d'));

The PDF comes out, but is empty.

Comments

NancyDru created an issue.