Beiträge von tom_mbg

    Yes, PrinterCanvas:=wprefPrinter. The problem seems to be related to the graphic type. When I insert a bitmap image it does not work but when I insert a jpeg it works. I'll look into it further and see what I can find. Thanks.

    Graphics will not print in the footer on legal size paper. When I change my paper size from letter to legal the graphic will not show.

    Below is a snip from my pdf file. The first line shows output when I use letter size paper, the second is legal. Notice how the graphic size (172x30) is missing on legal.

    Code
    streamq q q 0.12 0 0 0.12 0 792 cm  8.333334 0 0 8.333334 0 -6600 cm 0.7493 0 0 0.7481 216 94.56 cm q 172 0 0 30 0 -30 cm /wpt1 Do QQ 0.12 0 0 0.12 0 792 
    
    
    streamq q q 0.12 0 0 0.12 0 1008 cm 8.333334 0 0 8.333334 0 -8400 cm 0.7493 0 0 0.7481 216 94.56 cm                                 Q 0.12 0 0 0.12 0 1008

    Note the graphic shows up fine in the body of the document, it just won't show up in the footer. Also, the graphic shows up just fine in the rtf in both legal and letter size.

    Tom

    Carlos,

    I do have a solution but it's too much to post here. I'd be happy to send to you as long as Julian is OK with it. Julian, are you out there? I'd like to send this to you as well.

    Just to recap my problem...there were several page layout properties were not working when opening a Word RTF. I fixed the properties that were important to me...

    Paper height
    Paper width
    Left margin
    Right margin
    Top margin
    Bottom margin
    Header margin
    Footer margin

    Tom

    I can't get images to appear in the footer of my documents. The problem only happens on Win7 or Win2008R2 machines. Note images in the body of my documents are fine. Here is my code...

    WPPDFExport1.BeginDoc;
    WPRichText.LoadFromFile('C:\Print\Doc.rtf', True, 'RTF');
    WPRichText.ReformatAll(false,false);
    WPRichText.SaveToFile('C:\Print\Test.rtf');
    WPPDFExport1.Print;
    WPPDFExport1.EndDoc;

    I'm using the newest WPTools & wPDF(Internet) with Delphi2010.

    Any help is appreciated.

    Tom

    I upgraded WPTools from 6.06 to 6.07 and now my PDF's are blank. The right number of pages is being produced, but they are all blank.

    The problem only occurs when I run on Windows Server 2003. If I run on XP or Server 2000 everything is fine.

    Using WPTools Prem 6.07, wPDF Internet 3.58, D2006 Enterprise.

    When I create a document with Word2003 (or newer) my Sections are not working. I try to set different footers for Page 2, 3 etc. and I get footer for Page 1. It looks like section markers are not being recognized. If I save the document using Word2002 then everything works.

    I'm using 4.10.2009 - WPTools 6.06