Home General

Change PDF resolution

edited February 2011 in General
could I change PDF output resolution ?
I use to create invoice pdf and sendit via mail... but image are really so bad
Fabio Codebue
P-Soft
.-----------------------.
http://www.p-soft.biz
http://www.firebirdsql.it
http://www.p-toolz.biz
http://www.gestionaleopen.org

Comments

  • edited February 2011
    Hi Fabio,

    Try setting the Report.PDFSettings.ScaleImages property to False. This will
    ensure that the full images are exported to PDF.


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2011
    RB have any very old problems with PDF Image quality....

    search in this forum..

    When a REAL Fix ?
  • edited February 2011
    Hi Enrico,

    I'm unsure what you are referring to. When the ScaledImages property is set
    to False, a (non metafile) image is exported to the PDF byte by byte. In
    other words, it is an exact replication of the original.

    Is there another issue you are referring to? Are you able to recreate this
    with a simple example? If so, please send it to
    support@digital-metaphors.com in .zip format and I'll take a look at it for
    you.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2011
    I suppose we need a special parameter where we can change PDF resolution from 72 (standard you are using) to some different..

  • edited February 2011
    Hi Fabio,

    I still do not understand the request. Though the PDF format using points
    as its method of measurement (which is 72 points/inch), it is not limited to
    a 72ppi resolution. For the RB PDF device all measurements are rounded to a
    thousandth of a point. As far as images are concerned, if ScaleImages is
    set to False, the exact image is exported to the PDF file. There is no
    difference between the image on screen and the image exported to PDF.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2011
    i have a image in high quality,

    when export on PDF via RB i have a small .PDF file
    with LOW QUALITY image ( not printable.. )

    if i use Primo PDF ( print quality ) or Adobe PDF Writer i have a hi
    quality PDF Image.

    RB PDF : 50 K
    ADOBE PDF - PRIMO PDF : 200 K

    ScaleImages don't change notting....


    Must to buy "eDocEngine VCL for RB", too ?

    -------------

    this is my code for RB PDF export...

    unit myRBPreview;
    .....
    procedure PDF;
    var
    lPDFDevice: TppPDFDevice;
    begin

    lPDFDevice := TppPDFDevice.Create(nil);
    lPDFDevice.FileName := SaveDialog.FileName;

    lPDFDevice.Publisher := Report.Publisher;

    Report.PrintToDevices;

    lPDFDevice.Free;

    end;
  • edited February 2011
    Hi Enrico,

    Please send a simple example that demonstrates this issue in .zip format to
    support@digital-metaphors.com and I will find a solution for you as soon as
    possible.



    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2011
    Nico,

    like I already wrote you by mail now PDF it's better setting Report.PDFSettings.ScaleImages property to False.
    Tomorrow I hope to go to my customer that require a better resolution and I will know if they like it.

    I suppose you can increase RB options about PDF settings... infact now there are a lot of PDF type and specially in italy government office require PDF/A setting.

    So let's improve your already marvellous RB!

    thanks again



  • edited March 2011
    I frgot to tell that what resolve my problem with PDF resoluzzion is not ONLY set Report.PDFSettings.ScaleImages property to False.
    Like you told me IT'S REALLY IMPORTANT if we are use to laod template to set this property AFTER template is loaded or print will take template settings and not the one just set by program


  • edited March 2011
    Hi Fabio,

    Thanks for the feedback. We are considering adding PDF/A support for
    the next release of ReportBuilder.


    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.