Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

customized labels

edited February 2002 in General
hello,

I'm searching for a tool, component or already made forms to customize
labels.
I only have to print a string on a label (and I know how to ! :)), but I
would like my custoners to choose a template, just like in Word : you can
choose in a list from Averyxxx, ... or customize yourself the template.

thanks for any help or link !

Comments

  • edited February 2002
    ReportBuilder contains a label template wizard, with predefined templates
    for all of the most popular label types...

    --
    Tom Ollar
    Digital Metaphors Corporation
  • edited February 2002
    Thanks Tom for answering but, AFAIK, this is a design-time wizard and I
    would like my customers to choose a template during execution of my program.

    I just wondered if anybody had already made a form, just like in Word, to :
    - choose a template like "avery, ...
    - or build a label (choose nb of labels, margin, space between labels, ...)
    but I don't find anything.

    Thanks for any idea.
  • edited February 2002
    Here is a demo delphi project which launches our label wizard via code, and
    then previews the report.

    http://www.digital-metaphors.com/tips/LaunchLabelWizardViaCode.zip


    Cheers,

    Jim Bennett
    Digital Metaphors Corp



  • edited February 2002
    thanks Jim, but this project does not print anything... I don't really
    understand what kind of code I am supposed to write...
    don't you have a complete example ?
    thanks
  • edited February 2002
    Sorry, you'll have to create the report dynamically. I also forgot to tell
    you to look for this line of code in the demo:

    if (lWizard.Execute) then
    begin
    {add code here to create the layout}

    FReport.Print;
    end;


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited February 2002
    hi Jim,
    I apologize for I also forgot to tell you I've already seen this line... but
    I don't understand what kind of code I can put there ?
    is FReport the report where I have to put Detailband, Labels, ... (but how
    to do that ???)
    or do I have to put a ppReport on my form and then put my controls and only
    take from FReports some properties (if so, which properties ?)

    Anyway, thanks for any example of complete code !
    Christophe
  • edited February 2002
    I changed the demo around to work differently. The event handlers don't fire
    for the label template wizard, because they were intended for the report
    wiard. Sorry, about that. Download this one. It assumes that you have
    provided the user the choice of datapipelines which they select before
    you've launched this wizard.

    http://www.digital-metaphors.com/tips/LaunchLabelWizardInCode.zip


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited March 2002
    ok, many thanks for this.
    I think I've understand the whole project !
This discussion has been closed.