• I want to print a 300 dpi pdf file using wpdf 2.0.
    so I tried this code:

    The page size is correct (DinA4) but the printed page is somewhat shrinked (when referencing a 600 dpi Printer (used in Reference DC))

    Also the Canvas to print does not have 300 dpi as promised in the description of StartPage, it has 600 or 96 dpi (depending on the referenced
    printer property).

    Do I miss something or is there something wrong with wpdf?


    kind regards
    Michael Rabatscher

  • We work on Version 4.

    So as far as I can see is that StartPage using these parameters should
    create a 300dpi output (and pherhaps it does so). but my main problem
    ist that the PrintPageOnCanvas produces a havily shrinked output
    which must be zoomed using the zoom parameter (the right value is
    the one commented out) and I don't think that this is correct. Also if
    Zooming in such a way I get the same results as printing quality as with screen resolution.

    so any idea?

    kind regards
    Mike

  • Julian, pherhaps you can provide me some sample code which
    creates a 300 dpi pdf.

    By now I have the feeling that if I use the code I provided here I get a 300
    dpi File but WPRichedit prints it with the screen resolution and I have to zoom
    it to the 300 dpi (with the zoom parameter in PrintPageOnCanvas). So the
    visible result is the same for 300 dpi documents as for 96 dpi documents

    kind regards
    Mike