• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

auto gen pdf w/variable names

LEGEND ,
May 04, 2007 May 04, 2007

Copy link to clipboard

Copied

Hi,

I have the challenge to do the following:

First example is business cards...

Select business card templates...
enter information for cards
click preview
the form data is then place in the business card templates

user see exactly how the cards will be printed

my challenge is creating the actual preview... I'm thinking I want to take
the template/data and make a pdf file.

I'd appreciate some thoughts...



TOPICS
Advanced techniques

Views

384

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 04, 2007 May 04, 2007

Copy link to clipboard

Copied

Do you actually have to present the user with a PDF? Otherwise, you could probably get a way with displaying your template and then using CSS positioning to place the client's info on the graphic.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 04, 2007 May 04, 2007

Copy link to clipboard

Copied

yes it has to be a pdf so that they can download and proof!


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 04, 2007 May 04, 2007

Copy link to clipboard

Copied

LATEST
is wrote:
> my challenge is creating the actual preview... I'm thinking I want to take
> the template/data and make a pdf file.

if you're on cf7, it should be fairly easy using cfdocument, though for super
atomic positioning you might need to dip into the java lib (iText) that powers
cfdocument. on cf6, you need to jump through more hoops but you can do it as
well using iText.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation