Page 1 of 1

help centering variable length text

PostPosted: 20 Apr 2017, 09:10
by jrfarwell
I am using QuarkXPress 6.1 to create an EPS file. the EPS file is later merged with a string of data to print the form.

I would like to center text on this form, however the text varies in length.

When I create the form, I use @###@ as the text, where ### is a three digit number representing the position in the text string of the required data. (i.e @002@ tells the software to grab the second group of data in the text string and insert it in that position on the form)

When I center the @###@ in QuarkXPress, it looks correct.

When the form prints, if the inserted data is 5 characters, it is correctly centered. if the inserted data is 15 characters, the first 5 are centered and the remaining ten overflow to the right.

Any suggestions?

Re: help centering variable length text

PostPosted: 20 Apr 2017, 10:41
by MikeWenzloff
Interesting. The only thing I can think of is to use a much longer code to pad. A worse case length padded with more zeroes. But seeing how eps may not have any concept of centering, I have no idea if that works.

Mike