Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Label Left Margin Issue
Message
De
03/04/2011 20:46:11
 
 
À
03/04/2011 09:26:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01505915
Message ID:
01505963
Vues:
33
>Hi,
>
>I created a label (Avery 5195) by defining all dimensions (left margin, height, top margin, etc.). But when I print these labels (they are printed in 4 columns) the left margin is much greater than it is supposed to be (.34"). It looks like the left margin is about 1 inch. So everything is moved to the right and does not look right. When I modify this label file in VFP and go to Properties I see the left margin defined correctly (as .34").
>
>What else can be changing this left margin? TIA.

I think I figured what caused the problem. But I can't understand why though. Here is what I found.

The label has a field that has the following:

ALLTRIM( MyField)

The Format of this field box on the label was set to Alignment - Center.

When I changed the Alignment to - Left, printing started where it suppose to start, as far as left margin.

Note that the length of the field MyField is 15 characters. But the entry is only 4 characters (e.g. "5000", "5001", and so on). So I thought that the ALLTRIM() was removing all the extra spaces. And the fact that alignment was Center should not have moved the left margin. But it does.

If someone can explain what I am missing, I would appreciate it.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform