Beiträge von gegal

    Can you post an example that shows how I can use COMPDF_PrintGetDEVMODE in C# ?

    I have found the DELPHI example - but DELPHI is a strange world for ME ;-(

    I would like to access hDevMode in C# like in the delphi snipplet below

    hDevMode: HGLOBAL;
    hDevMode := fViewer.Command(COMPDF_PrintGetDEVMODE);
    //now work with hDevMode ...

    Please help me with this topic !!

    Regards
    Gerhard

    Hello,

    do you have a code sample that shows me how I can set the page size for the subsequent Print command ?

    I have found nothing with "builtin" methods or properties.
    I think there is something to do with the HDC ?!?

    Regards
    Gerhard

    Good afternoon,

    I did some further investigation on my "printing A4 pages to letter paper format" problem.

    The PDFs which are automatically printed on letter paper format are 2 mm larger than the standard A4 pager size (god knows why ...).

    Therefore the component does use the next larger paper size.
    I tried to make the component scale down the image - but the paper size did not change to A4, thus making the A4 printer requesting letter paper ;-(

    Is there any way to force printing on A4 ?

    Thanks in advance
    Gerhard

    Good morning!

    I have just bought WPViewPDF 3.0.

    When I try to print an A4 sized PDF with pdfPrint, the printer is automatically set to letter format, although printer settings are preset with A4.

    Can anybody tell me how I can print A4 documents with pdfPrint() ??

    Regards
    Gerhard