IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#33453 - 09/29/10 10:53 AM Custom Filename from Data
Guy K Offline
OL Newbie

Registered: 09/29/10
Posts: 4
Loc: Indianapolis, IN, US
Hi guys.

I've got a little issue that I'm not sure how to work around. I need to be able to customize the filename of the PDF's that Image generates. Specifically, I need to be able to do this from some of the data in the file that the PDF is generated from.

For instance:
Printing a direct deposit statement.
I need a filename in the format of CheckDate-Employee#.pdf
Both of those pieces of information exist within the text file that is used to generate the document, but I have no idea how (or if I can) use them to generate the filename.

Is this possible, and if so how would I go about implementing that. If it's not possible, does anyone have any ideas as to how in the world I can generate meaningful filenames that I can then go back and look up later?

I appreciate any help you can give! Thanks.

Top
#33454 - 09/29/10 11:28 AM Re: Custom Filename from Data [Re: Guy K]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Guy,

Yes, it's possible.

First, go to Debug->Select, and open a sample data file to work with. Then, in your Image output, in the filename field, you can right-click and choose "Get data location", which will allow you to add a data selection to the file name. The file you loaded in the Debug menu will be used as a sample to help you select the proper region of your data.

Hope that helps!

Regards,
Raphaël Lalonde Lefebvre

Top
#34099 - 11/29/10 04:33 PM Re: Custom Filename from Data [Re: Raphael Lalonde Lefebvre]
Guy K Offline
OL Newbie

Registered: 09/29/10
Posts: 4
Loc: Indianapolis, IN, US
Hi Raphaël. Your solution helped me out. That was exactly what I needed to know. Thank you for the help!

Sorry for taking 2 months to reply to tell you that this worked. :P

Top