Posts by support

    You need to also subtract vWp.Header.LeftMargin


    Further more, vWp.InputString(CRLF) is probably not required.
    If you need a second paragraph use vWp.InputString(#13)

    Hello,


    PDF is possible using our component wPDF. Only a few properties must be set and the procedure wPDF.Print must be called.


    wPDF is optimized to work with WPTools and will also export hyperlinks and bookmarks.
    It can also embed the JPEG used inside WPTools directly without recompression.


    Regards,


    Julian Ziersch

    When used as plugin for ImageEn WPViewPDF will "only" convert pages of the PDF file into a bitmap which will then be displayed and controlled by ImageEn.


    So it should be possible to create a crop of the image. If zooming is required, the image must be extracted at a higher resolution.


    It is not possible to make PDF annotations, jump to pages, bookmarks or links. If you need this, you need to use the regular WPViewPDF edition, not the "MakeImage" version.


    With WPViewPDF Standard you can zoom, jump to pages, click on links.


    With WPViewPDF PLUS you can also save the PDF file you loaded before including all the annotations you added.

    You will need the product WPViewPDF to sho, print and, with the "PLUS" edition also manipulate the PDF file.


    WPViewPDF can show several PDF files as if they were just one. It can also delete/hide and also reorder the pages.


    This makes it a great tool to implement a print preview.

    TextDynamic 7.31 is available now.


    It integrates the latest changes to the editing and PDF engine. It also solves a possible printing problem which was introduced by a Windows update last week.

    Sure, you can send a file to me. Emal as usual: support@wptools.de


    WPViewPDF cannot change a PDF file to make it a PDF/A since such change requires
    - embedding of all fonts
    - adding of layout marker on PDF pages
    - changing the color format


    Julian

    When printing from WPTools you can use this workaround as a quick fix:


    Code
    1. var Device, Driver, Port: array[0..1023] of char;
    2. hDevMode : HGLOBAL;
    3. begin
    4. Printer.GetPrinter(Device, Driver, Port, hDevMode);
    5. Printer.SetPrinter(Device, Driver, Port, hDevMode);
    6. WPRichText1.Print;
    7. end;


    In my tests this solves the problem. It causes a reassignment of the internal DevMode structure, something which appears to be required after the windows update.


    BTW: The PrintDialog is not affected by this problem so its use may be an intermediate solution.


    Julian

    I now found out - the error does NOT happen if I do this:



    This means, you can assign a new printer Object using


    SetPrinter(prn).Free;


    to fix the problem - but the solution in next post appears to be better.

    I now got it too. It happnes with Acrobat Destiller, but not with cutePDF and not with Epson driver.


    It is not caused by any wptools code, please see my post and example code here:


    When printing from WPTools you can use this workaround as a quick fix:


    Code
    1. var Device, Driver, Port: array[0..1023] of char;
    2. hDevMode : HGLOBAL;
    3. begin
    4. Printer.GetPrinter(Device, Driver, Port, hDevMode);
    5. Printer.SetPrinter(Device, Driver, Port, hDevMode);
    6. WPRichText1.Print;
    7. end;


    In my tests this solves the problem. BTW: The PrintDialog is not affected by this problem.


    Julian