Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Setup page and printer programmatically?
Message
De
29/06/2007 06:34:37
Tran Ba Tuyen
Institut of Information Technology
Ho Chi Minh City, Vietnam
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01235293
Message ID:
01236736
Vues:
12
I found the solution for my question!

I use the utility of FAQ #21202 to add a printer form.
Next, I use SYS(1037) to set environment's printer name and page.
After that, I open report file exclusive, blank expr, tag, tag2, and use SYS(1037,2) to update those three fields with environment's printer name and page.

SYS(1037)
USE MYREPORT EXCLUSIVE
BLANK FIELDS EXPR, TAG, TAG2
SYS(1037,2)
USE

Thanks for your replies,

Tuyen

>Hi Naomi and Edward,
>
>I used the utility of FAQ #21202. I also used FAQ article "Enumerating printer forms under Windows NT/2K/XP (February 18, 2004)" to change contents of "Expr" of first record, but VFP dont't see.
>
>I think must change contents of "Tag" and "Tag2" but i can't.
>
>Tuyen

You should strip all printer related info from your report, e.g. Tag & Tag2 should be empty.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform