Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print multiple copies of a label?
Message
 
À
20/08/2001 07:47:35
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00546085
Message ID:
00546217
Vues:
26
Thanks Walter and Will for the so prompt responses. Since i'm not issuing a report but rather a label form, and also that i couldn't get the printer to print in the first raw of labels ( if i checked Printable Page instead of Whole Page, there was no way to print exactly on the labels... ), i had to create a temp table where i added 3 blank records ( for the first row of labels ), and then added 10 times the same record from my main table. Every 36 records, i added another 3 blanks, etc... Although not so 'esthetic', it works fine, and fast.

Cheers,
Jaime

>>I would like to print 10 labels for every record found in my table. Is there a way of doing this similar to using th _PCOPIES variable? I know, i could create a table with 10 times every record found, but i wondered if there was any other *better* way?
>
>As I recall recorrectly you can copy the report to a temp file and hack the expr field of the first record of the report. You can place a COPIES = 10 line in this memo field and report from the temp file. However i've played with it in the past I can't say if this is going to work in all cases.
>
>Personally, I use the following strategy:
>1. create a dummy table with a character field and index on it.
>2. index your result table on a random character field.
>If you want the copies of the whole report to follow eachother:
SELECT Dummy
>SET RELATION TO ALLTRIM(dummycharact) INTO YourResultTable
>SET SKIP TO YourResultTable
and run your report.
>
>If you wan to have the copies to inmediately follow the original:
SELECT YourResultTable
>SET RELATION TO "" INTO Dummy
>SET SKIP TO Dummy
and run your report.
>
>HTH,
>
>Walter,
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform