Previous | Next | Contents > Automated Insertion of Text and Images


File Data


Business Card Composer can import text data from a file and automatically insert it into a File Data text field. You should link it with a text file that contains the information you want to print. During the printing process, the program imports portions of information from the linked file and inserts them into each File Data field.

To add a File Data field to your document, choose Insert > File Data in the menu bar.

To link a File Data field to a file or change data import parameters, select the field and click the Choose button in the Text tab of the Inspector. In the Open dialog, select a file in the plain text format. If the file has only one column, select Single Column Data. If there are several columns separated by a delimiter (tabulation, semicolon or other), choose Multiple Column Data and select the column delimiter. Indicate the number of the column containing the data.

If the imported text is unreadable (check the print preview), you should change the character encoding. Text editors usually let you set the encoding when you save the file. The same encoding should be selected at import.

The first row of the text file might be the header. To exclude it from printing, select the First row is header check box.

Let's examine a file that includes the following lines:

001,Russell Simmons,Manager,347-12-567
002,Shirley Kaiser,Accountant,653-54-444

For this file, you should choose comma as the delimiter. To display the person's occupation, set the Column to 3 (here the first column is the index number, the second is name, and the third is occupation).

Note that text data from files is not displayed on the canvas, but appears in the print preview and in print.

If the length of the imported text lines vary, make sure that the longest line fits the provided space. The program does not add line breaks.

The format for the data file is described in Structure of the image list file.

 


Previous | Next | Top | Contents

http://www.belightsoft.com/