print pdf font size

(3 posts) (2 voices)

Tags:

  1. Johan, Member

    Hi

    When I try to print my report in pdf the font-size stays small.
    I've tried

    select 'dbr.wkhtmltopdf','font-size',12;
    and
    select 'dbr.export.options','font_size',12;

    both without succes. Any idea how to solve this?

  2. myDBR Team, Key Master

    Johan,
    when you export to PDF using wkhtmltopdf, it uses the CSS defined in the page. Easiest way of incresing the font size is to use zoom_scale option.

    select 'dbr.export.options', 'zoom_scale', 120;

    Will use 120% zoom.

    Alternatively, you can use CSS to use bigger fonts (you can detect when PDF export is done via automatic parameter inExportFormat).

    --
    myDBR Team

  3. Johan, Member

    ok I'll try that.
    Thanks


Reply

You must log in to post.