Reader's Comments »

  1. 1. By ivica on September 1, 2011 at 19:25

    print preview is great commponent

  2. 2. By aaaa on December 11, 2011 at 00:53

    good

  3. 3. By reinaldo on December 13, 2011 at 16:03

    Please brothes

  4. 4. By Ivica Kovcalija on December 20, 2011 at 23:04

    Also es is wirklich gut, aber es gibt einigen prblemen mit drucken.

  5. 5. By ibrahim on January 6, 2012 at 19:09

    hi. it is great component. but it doesnt support xe2

  6. 6. By anlulegi on February 29, 2012 at 19:58

    Great component, overall in combination with dspdf.dll, but it handicap is support on Xe2. Many error messages in pointers assignation. How much time we will stay?

  7. 7. By Iztok on March 28, 2012 at 00:44

    We impatiently waitng for version for Delphi XE2!!!

  8. 8. By Roman on March 29, 2012 at 15:50

    Vielen Dank für diese hervorragende Komponente, leider gibt es mit PrintPreview unter XE2 Probleme!

    Nach folgenden Änderungen läuft es zwar, aber es wird nur die erste Seite angezeigt und die Anpassung der Thumbnails ist fehlerhaft.

    procedure TIntegerList.LoadFromStream(Stream: TStream);
    var
    Size: Integer;
    begin
    Clear;
    Stream.ReadBuffer(Size, SizeOf(Integer));
    Count := Size;
    Stream.ReadBuffer(Pointer(List)^, Count * SizeOf(Integer));
    end;

    procedure TIntegerList.SaveToStream(Stream: TStream);
    var
    Size: Integer;
    begin
    Size := Count;
    Stream.WriteBuffer(Size, SizeOf(Integer));
    Stream.WriteBuffer(Pointer(List)^, Count * SizeOf(Integer));
    end;

    Gibt es hierzu bereits Lösungen?

  9. 9. By anlulegi on April 2, 2012 at 18:15

    Please, i need to adjust x-offset and y-offset in mm, to a pre-printed paper user, once preview is generated. ¿How can i displace metafiles on X axis and Y axis, in mm?

  10. 10. By Kambiz on May 9, 2012 at 03:31

    @Iztok Sorry for the inconvenience. As soon as having time and XE2, I’ll release the update.

    @Roman Thanks for the XE2 fix. You saved lot of my time.

    @anlulegi Do you want to print the metafile by yourself?

  11. 11. By anlulegi on May 10, 2012 at 18:54

    Kambiz, I’m trying to print a report made by “Print Preview” in a pre-printed paper. As you know, every printer has a different offset for printable area. If I change the printer, report can’t adjust to the boxes in pre-printed paper. ¿How can I displace the report metafiles for X mm and Y mm to adjust report in the paper?

  12. 12. By Kambiz on May 11, 2012 at 00:43

    PeintPreview has a method to get the printable area of the currently selected printer. Then you can use this information to generate you report at the right offset. In this case you do not need to offset the metafile later.

    If you want to print the metafile by yourself, you should use Windows API to offset the device handle of the printer and then play the metafile on it.

  13. 13. By anlulegi on June 9, 2012 at 21:56

    Kambiz, I have read your ‘General Demo’ Sample. When margins are changed you are using ‘Generatepages’ function to regenerate all the pages in preview. That is than i’m looking for, but I don’t know how regenerate my preview pages. ¿Can I repaint the preview metafiles with the new margins applied?
    PD. Excuse for my poor english.

  14. 14. By Kambiz on June 10, 2012 at 11:56

    Regenerating pages means re-printing them. Changing metafiles is not a solution, you have to print the pages again.